Prototyping 2013-11-05 (Lens Based Media)
Compression & Codecs in video
Codec != Format
(File)Format or Container is the shipping box, codec is the goods inside the box.
Format:
- determines the way audio and video (and other metadata) are stored inside the file
- Examples are :
- .avi (Microsoft -> OLD)
- .wmf (Microsoft -> Unflexible)
- .mov (Apple -> supports a lot of codecs)
- .ogg (Open Source -> but not very well supported by editing software)
- .mkv (Open Source -> but not very well supported by editing software)
- .mp4 (works on virtually all platforms)
Codec:
- Intraframe compression
- Compresses each frame (with for instance JPG compression)
- No effective size compression
- High Quality
- Easily readable by edit software
- Apple ProRes, DNxHD (Avid)
- Interframe Compression Looking at delta Frames
- Compress BETWEEN frames
- effective size compression
- Not easy for edit software
- Use for sharing -> final output
- MPEG-2 (DVD's, hardware players), DivX (downloads), H264 (currently has best quality vs. file ratio)
FYI: Uncompressed HD video = 400GB per hour
Tools
- ffmpeg (ffmpegX for a Mac gui version)
- Mencoder
- Mpegstreamclip
- Handbrake
- Adobe Media Encoder
Delivery
Glitch Art
Data moshing
{{#ev:youtube|mvqakws0CeU?version=3&autohide=1&showinfo=0}}