Video File Formats and Codecs Flashcards
Video file types consist of _______ and _________
.
Video file types consist of codecs and containers.
Codecs
What is a codec?
3 points
- Codecs are compression technologies
- and have two components, an encoder to compress the files,
- and a decoder to decompress.
Codecs
What sort of data are codecs used for?
4 points
There are codecs for
* data (PKZIP),
* still images (JPEG, GIF, PNG),
* audio (MP3, AAC)
* and video (Cinepak, MPEG-2, H.264, VP8).
What are the 2 types of Codecs?
Lossy & Lossless
What is the difference between Lossy & Lossless Codecs?
Lossy Codecs result in a decompressed file that is of lower quality than the original, but they are smaller files.
Lossless codecs create a file with no loss in quality or data, but the files are larger.
The more you compress a file, the more ____ you lose
data
Lossy compression technologies use two types of compression, ________ and _________ compression.
Lossy compression technologies use two types of compression, intra-frame and inter-frame compression.
What is intra frame compression?
4 points
Intra-frame compression is essentially
* still image compression applied to video,
* with each frame compressed without reference to any other.
* For example, Motion-JPEG uses only intra-frame compression,
* encoding each frame as a separate JPEG image.
What is inter frame compression?
5 points
inter-frame compression uses:
* redundant (repeated areas) between frames to compress video.
* eg, in a talking head scenario, with a static BG Inter-frame techniques store the static background information once,
* then stores only the changed information in subsequent frames.
* Inter-frame compression is much more efficient than inter-frame compression,
* so most codecs are optimized to search for and leverage redundant information between frames.
Explain how codecs with key frames and deltra frames work, and explain is it lossless or not.
- Key frames stored the complete frame and were compressed only with intra-frame compression.
- During encoding, the pixels in delta frames were compared to pixels in previous frames,
- and redundant information was removed.
- The remaining data in each delta frame is also compressed using intra-frame techniques
- as necessary to meet the target data rate of the file.
- The 4 delta frames stores only the blocks of pixels that have changed.
explain why talking head videos encode at much higher quality than soccer matches or NASCAR races.
Because a talking head has large redundancies (static areas) that can be easily efficiently compressed with inter-frame compression.
* Where are soccer or nascar TV has very few static areas meaning it is much harder to compress
What does MPEG stand for?
The Moving Pictures Expert Group (MPEG)
What is MPEG-2
How is a Codec used?
2 points
It can :
* digitize and compress an audio or video signal for transmission
- and convert an incoming signal to audio or video for reception
In order to compress your video a files must have a coresponding ____?
codec!