Video encoding uses various techniques to compress video files in a lossy manner. It involves representing color information using RGB or YCbCr color spaces, sampling and quantizing signals to convert them to digital form, using the Fourier transform to analyze signal frequencies, windowing to divide signals for transform analysis, inter-frame encoding to remove redundancy between frames, and intra-frame encoding to remove redundancy within frames. Key compression techniques include motion compensation between inter-coded frames and periodic insertion of intra-coded frames.
1 of 33
More Related Content
Video enc basic_p_pt_type
1. Video encoding: basic principles
Felipe Portavales Goldstein
portavales@gmail.com
? ?
4. Video encoding: basic principles
Color coding
Human eye Colour x Luminance perception
? ?
5. Video encoding: basic principles
Color coding
Human eye Colour x Luminance perception
R (8 bits) G (8 bits) B (8 bits)
Each color is coded separately
Y (8 bits) Cb (4 bits) Cr (4 bits)
Y : Luminance
Cb : Blue color
Cr : Red color
Green color is presense of luminance and
absence of Blue and Red color
? ?
14. Video encoding: basic principles
Fourrier Transform
The transform must consider the complete signal history
to get the exact frequencies in the signal.
To apply the transform we must known the signal
behavior since -¡Þ to +¡Þ
Is it possible ?
And, what if the signal behaves like this :
? ?
15. Video encoding: basic principles
Windowing
The windowing must be applied in the signal before
the Fourrier transform, to focalize the analysis
? ?
16. Video encoding: basic principles
Windowing
The windowing can be used to divide the signal
in small pieces, and transform them separately
? ?
18. Video encoding: basic principles
Windowing
The Heisenberg uncertainty principle states that:
the knowledge of the position of a particle is inversely
proportional to the knowledge of its energy
It is the same to say:
knowledge about time is inversely proportional to
knowledge about frequency
Position knowledge is relative to time
Energy knowledge is related to frequency
? ?
25. Video encoding: basic principles
Fourrier Transform in a image
? ?
This picture is the cover of book: MPEG-2 , John Watkinson , Focal Press
26. Video encoding: basic principles
Wavelet transform
Wavlet dont use endless sine wave functions as its basis,
but instead, use functions that are finite on time axis.
The window lenght is variable and is inversely proportional
to the frequency.
High frequencies are transformed with short basis functions
and therefore are accurately located. Low frequencies are
transformed with long basis functions which have good frequency
resolution.
? ?
28. Video encoding: basic principles
Frame subdivision
Subdivision of a Frame into blocks and super blocks
Each color plane has its own set of blocks and super blocks
? ?
29. Video encoding: basic principles
Intra Frame
Intra-coding explores redundancy within a picture
? ?
30. Video encoding: basic principles
Inter Frame
Inter-coding explores redundancy between pictures
? ?
31. Video encoding: basic principles
Inter Frame
Golden Frame (intra)
Inter Frames
Inter Frames
Coded frame
? ?