fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
concepts / digital video

What is Digital Video?

Video is still pictures, very fast, mostly not stored.

Every second of video is a stack of frames. Stored in full, they would fill a phone in minutes. Codecs keep a few whole frames and describe the rest as changes. Set a size and frame rate to see the stack, and how much a codec has to throw out.

8 CONSECUTIVE FRAMES AT 30 FPS · 0.267 S OF VIDEOa ball moving 1.2 screen widths per second
FRAME SIZE
480p720p1080p4K8K
1,920 × 1,080 = 2.07 million pixels per frame.
FRAME RATE
1224253060120
33.3 ms per frame. Fast motion blurs or judders.
PIXEL FORMAT
4:2:0 8-bit4:2:0 10-bit4:2:2 10-bit4:4:4 12-bit
1.5 samples per pixel: 3.1 MB per frame.
UNCOMPRESSED1920×1080 × 1.5 × 8 bit × 30746 Mbit/s5.60 GB per minute. A typical stream at this size is about 8 Mbit/s, 93× smaller.

One whole frame, then only the changes.

Your browser's own H.264 encoder just compressed 3 seconds of a test clip. Each bar is one real encoded frame. Keyframes are complete pictures; the rest only describe what moved. Choose how often keyframes come, then click any frame to see what a player must decode to show it.

Keyframe everyevery frame10 frames1 s3 s (once)H.264 Baseline, 320 × 180, 600 kbit/s target · keyframes read from each frame's NAL units · 81 ms
BYTES PER FRAME · 90 FRAMES AT 30 FPStallest 1.8 kB
keyframe (whole picture)change framemust decode to show the clicked frame
TOTAL, 3 SECONDS118.8 kB317 kbit/s actual
KEYFRAMES3of 90 frames, as asked
AVERAGE KEYFRAME1.8 kBa complete picture
AVERAGE CHANGE FRAME1.3 kB1.4× smaller than a keyframe
SEEKING TO FRAME 45 (1.50 S)Frame 45 only describes changes. To show it after a jump, the player starts at keyframe 30 and decodes 16 frames (22.3 kB) first. At 1080p that's 16 full decodes before the picture appears.
FRAME 45 OF THE TEST CLIP

Keyframes every 1 s give 118.8 kB in total. Fewer keyframes save bytes, but seeking gets slower and one damaged frame spoils everything up to the next keyframe. Streaming services usually put one every 2 seconds, so players can switch quality at those points.

Colour is stored at a quarter of the detail.

Video splits each pixel into brightness (Y) and two colour-difference values (Cb, Cr). Eyes see detail mostly in brightness, so almost all video keeps colour for only one pixel in four: 4:2:0. Here the conversion runs on a test image with the BT.709 matrix; red text on blue is where it shows.

4:4:43 bytes/px · 6.2 MB per 1080p frame
Colour for every pixel. Screen recordings and graphics masters.identical to the source
4:2:22 bytes/px · 4.1 MB per 1080p frame
Colour for every second pixel across. Broadcast and pro cameras.differs from source: PSNR 23.4 dB
4:2:01.5 bytes/px · 3.1 MB per 1080p frame
One colour for each 2 × 2 block. YouTube, phones, Blu-ray, nearly everything.differs from source: PSNR 20.6 dB

Why frame rates have such odd numbers

rateexact valueused forwhy that number
23.97624000/1001Film released on NTSC TV and US streamingFilm's 24 slowed by 0.1% so it fits the NTSC colour rate below.
2424Cinema since 1927The slowest rate that gave smooth motion and steady sound on optical film.
2525Europe, most of Asia, Africa, Australia (PAL/SECAM regions)Half the 50 Hz mains frequency, so studio lights didn't flicker on camera.
29.9730000/1001US, Canada, Japan TV and videoColour NTSC (1953) lowered 30 by 0.1% so the colour carrier didn't beat against the sound carrier.
3030Phones, screen recordings, web videoHalf the 60 Hz US mains frequency; phones record exactly 30 unless asked otherwise.
50 / 59.9450, 60000/1001Sport and live TV, interlaced broadcastsInterlaced TV sends 50 or 59.94 half-pictures (fields) a second.
6060Games, smooth phone video, screen captureMatches the most common display refresh rate.
120 / 240120, 240Slow motion, high-refresh displaysPlayed back at 30 fps, 120 fps footage runs at a quarter speed.
Variable (VFR)per-frame timesPhone cameras in low light, screen recordersEach frame carries its own timestamp; editors may drift out of sync unless they convert it to a constant rate.

Frequently Asked Questions

What is fps in video?

Frames per second (fps) is how many still images make up each second of video. 24fps is cinema standard; 30fps is TV standard.

What resolution should I record video at?

1080p for most uses. 4K if you plan to crop, stabilize, or want future-proof footage.

What is a keyframe?

A keyframe is a complete video frame. Most frames only store changes from the previous keyframe, saving storage space.

Why are video files so large?

Video contains many images per second. A 1080p30 video has 2 million pixels x 30 frames = 60 million pixels per second to encode.

What is the best format to save video?

MP4 with H.264 for maximum compatibility. MKV for archiving with multiple audio tracks. WebM for web embedding.