‫الرحیم‬ ‫الرحمن‬ ‫الله‬ ‫بسم‬
Seyed Rahim Firouzi
Digital Video and Audio
Seyed Rahim Firouzi
Digital Video and Audio
Very Hard
“only ninja can do it”
Digital Video and Audio
Sound:
In physics, sound is a vibration that
typically propagates as an audible
wave of pressure, through a
transmission medium such as a gas,
liquid or solid.(wikipedia)
Digital vs Analog
● Noise
● Transfer,Storage,Copy,Play (Quality)
● Compress
● Analyze & tools
● continually
Audio
Sample rate(Hz):
Human sensitivity(20Hz -20Khz)
8k ,16k ,32k ,44.1k ,48k
aliasing
A-law ,U-lav
raw PCM :Pulse Code Modulation
PDM :Pulse Density Modulation
Audio
Sample format(bit)
8bit,16bit,24bit,float
Endianness
Little endian ,Big endian
Channel count
Mono (1) ,Stereo (2) ,surround sound
Compress ( ? )
Lossless vs lossy compression ,DCT,….
Bit Rate(bit/s)
List of codecs
FLAC,ALAC,G711,G721,G729,mp1,mp2,mp3,aac,Vorbis
Video
Video ?
…...
Audio f(t) video f(x,y,t) → color
Video
Size (pixel x pixel or count)
Width X height
aspect (A:B)
4:3 16:9 ….
Frame rate(fps)
Human sensitivity(48 fps)
Pal = 25,ntsc=30, pc = any
Interlacing(vs Progressive)
Video
Color Space
RGB
Red ,blue ,green
YUV(YCrCb)
luma (y) chrominance (UV)
Video
Chroma subsampling(A:B:C)
compress (?)
60 minute HD 25 fps 24bit
size= 3600*1920*1080*25*3=559,872,000,000 byte
Band width=1,244,160,000 bit/s
Video
List of codecs
h.264 lossless ,vp9 ,mpeg1 ,mpeg2 ,mpeg4 ,h.264 avc ,hvec
,Theora
Digital Video and Audio
Digital container format
A container or wrapper format is a metafile
format whose specification describes how
different elements of data and metadata coexist
in a computer file.(wikipedia)
List of Container
Wav ,Matroska/webm ,ogg(ogv,oga), mp4,
Streaming
Live Streaming
Protocol :RTP ,RTCP (h323,sip,rtsp) ,RTMP ,HTTP Live Streaming
Video and Audio Tag in html5
?

(اصول پایه ویدئو و صوت دیجیتال (قسمت اول