Lecture 10 - Intro to Video Part 2 Flashcards
What is a Codec?
A piece of code or program that compresses video or audio as it is created (exported from the editing software) and then when displaying it to the user decompresses the video or audio
There are a lot of Codecs
What are two compression strategies?
- Pick a codec that does higher compression
2. Lower the picture quality of the video
What are two compression techniques?
Spatial Compression
Temporal Compression
Spatial Compression
Looks for similarities within a frame
Best for high action videos (fast movement changes between frames)
Compresses each frame individually
Animation and PlanarRGB
Temporal Compression
Identifies differences between frames and stores them relative to a keyframe
Good when the difference between current frame and keyframe are small
Sorenson Video and H.264
Is Spatial Compression lossless or lossy?
Lossless
Is Temporal Compression lossless or lossy?
Lossy (discards data)
What three video formats does HTML5 support?
mp4
webM
Ogg
Does HTML5 support .flv?
NO
What does #t=10,22 mean?
Start at second 10 and ending at 22 seconds
What is a container file format?
.avi
Stores both the data (the frames) and how to play the data (which codec to use)
Bandwidth
How much data can be pushed across a connection (the capacity) in a given amount of time
Bit Rate
Amount of data required to encode (compress) a single second of video or audio
Higher the bit rate the better quality of video
Four main ways to get video/audio from a website onto your computer so you can view it
- Download
- Progressive Download
- Streaming
- Adaptive Streaming
Unicast
Each user gets his/her own stream of video, the server has to send out a lot of data if several users are watching at once