Terms on this page: 36. A video file is a box (the container) that holds pictures and sound squeezed by a codec. These words tell the parts apart.
AAC#
AAC squeezes sound into a small file and sounds good. Almost every device can play it.
Example. The sound inside most phone videos.
In Stuarty. MP4 exports have AAC sound. --format aac exports the sound only, as an .m4a file.
Learn more: Wikipedia: Advanced Audio Coding · MDN: web audio codec guide
AV1#
AV1 is made by many big companies together. It is very efficient but slow to encode.
Example. A streaming service sending AV1 saves internet data.
Learn more: Wikipedia: AV1 · AV1 Bitstream & Decoding Process Specification
Bitrate#
A higher bitrate keeps more detail and makes a bigger file. A lower one makes a smaller file that may look blocky.
Example. A video at 2 Mbps uses a quarter of the data of the same video at 8 Mbps.
Also called: Mbps, kbps. See also: Compression, Constant and variable bitrate.
Learn more: Wikipedia: Bit rate · YouTube Help: recommended upload encoding settings
Codec#
Raw video is huge. A codec (coder-decoder) packs it into something much smaller and a player unpacks it to show. Different codecs squeeze in different ways.
Example. H.264 is a codec. Your phone uses it to save videos that would otherwise fill the memory in minutes.
See also: Container, Bitrate, Lossy and lossless.
Learn more: Wikipedia: Video codec · MDN: web video codec guide
Compression#
Compression finds repeated or unimportant parts and stores them more cleverly. In video, a still background is stored once, not 30 times a second.
Example. A zip file is smaller than the folder inside it.
Learn more: Wikipedia: Data compression
Constant and variable bitrate#
Constant bitrate (CBR) is steady and easy to stream. Variable bitrate (VBR) spends more on complicated moments and less on easy ones.
Example. A calm interview needs fewer bits than an explosion.
Also called: CBR, VBR. See also: Bitrate.
Learn more: Wikipedia: Variable bitrate
Container#
A container (like MP4 or MKV) keeps the picture, the sound and the captions together in one file. The codecs say how each is squeezed; the container says how they are packed together.
Example. A lunchbox holds a sandwich and fruit: the lunchbox is the container, the sandwich the video.
Learn more: Wikipedia: Container format · MDN: media container formats
Encoder and decoder#
The encoder compresses video when you export. The decoder expands it again when you watch. Both need to speak the same codec.
Example. Your computer decodes the video in real time when you press play.
In Stuarty. An H.264 export needs an H.264 encoder. See Encoders and presets.
See also: Codec, Hardware encoding.
Learn more: Wikipedia: Video codec
Fast start#
An MP4 needs a small header to start playing. If it is at the end, the player waits for the whole file. Fast start moves it to the beginning.
Example. A video on a web page that starts at once instead of loading first.
In Stuarty. The export checks that an MP4 has fast start.
Also called: moov atom. See also: MP4.
Learn more: Wikipedia: MP4 file format
FFmpeg#
FFmpeg is the toolbox behind many video apps. It decodes and encodes formats and it can run from the command line.
Example. A website that converts your video quickly is probably using FFmpeg.
In Stuarty. Stuarty uses an LGPL build of FFmpeg as a separate process. See FFmpeg and licences.
Learn more: Wikipedia: FFmpeg · FFmpeg: codecs documentation
File format#
The format says how the data in the file is organised. The ending of the name (the extension) is a clue, but what counts is what is inside.
Example. A file named video.mp4 is in the MP4 format.
Learn more: Wikipedia: File format
FLAC#
FLAC makes sound files smaller, and when you unpack them you get back every bit of the original.
Example. A music collection kept at CD quality but using half the space.
See also: Lossy and lossless, WAV.
Learn more: Wikipedia: FLAC
GIF#
A GIF is a series of small pictures that loop. It has no sound and at most 256 colours, which is why it looks grainy, but it works everywhere.
Example. A looping reaction image in a chat.
In Stuarty. --format gif exports the composed frames, with no audio.
See also: Frame rate, Color depth.
Learn more: Wikipedia: GIF
GOP#
A group of pictures (GOP) starts with an I-frame and has the following P and B frames. Seeking is quick when the groups are short.
Example. A video that starts playing instantly when you drag the bar has short groups.
Also called: group of pictures. See also: I-frame, P-frame and B-frame.
Learn more: Wikipedia: Group of pictures
H.264#
H.264 (also called AVC) gives small files with good quality and plays on practically every device. It is the safe choice.
Example. Most videos you watch online are H.264.
In Stuarty. The MP4 export uses an H.264 encoder.
Also called: AVC, MPEG-4 Part 10. See also: H.265, MP4.
Learn more: Wikipedia: Advanced Video Coding · ITU-T Recommendation H.264 (advanced video coding)
H.265#
H.265 (HEVC) saves more space, especially for 4K. It needs more computer power, and not every device or website plays it.
Example. A 4K phone video saved in HEVC takes less space.
Also called: HEVC. See also: H.264, AV1.
Learn more: Wikipedia: High Efficiency Video Coding · ITU-T Recommendation H.265 (high efficiency video coding)
Hardware encoding#
Graphics cards and phones have chips made to encode video quickly. They are faster than software, but sometimes slightly less efficient.
Example. A phone exports a video in a few seconds using its chip.
See also: Encoder and decoder.
Learn more: Wikipedia: Hardware acceleration
HD, Full HD and 4K#
HD is 1280x720, Full HD is 1920x1080 and 4K (UHD) is 3840x2160. More pixels give more detail, and more data.
Example. A 4K video has four times the pixels of a Full HD video.
Also called: 720p, 1080p, 2160p, UHD. See also: Resolution, Bitrate.
Learn more: Wikipedia: Display resolution · ITU-R Recommendation BT.709 (HDTV colour and format)
I-frame, P-frame and B-frame#
An I-frame is a full picture. P and B frames store only what changed from other frames. That is how video gets small.
Example. A talking head: only the lips and eyes change from frame to frame.
Learn more: Wikipedia: Video compression picture types
Image sequence#
Some programs save every frame as its own image file (frame0001.png, frame0002.png...). It keeps full quality and is used for animation and effects.
Example. A 3D animation exported as 240 images for a 10-second clip at 24 fps.
See also: Frame, Lossy and lossless.
Learn more: FFmpeg: formats documentation
Interlaced and progressive#
Old TVs sent every other line (interlaced) to save data. Modern video is almost always progressive: a full picture each time.
Example. Interlaced video can show combing lines on moving things on a modern screen.
Also called: 1080i, 1080p. See also: Frame rate, Resolution.
Learn more: Wikipedia: Interlaced video · Wikipedia: Progressive scan
Intermediate codec#
An intermediate codec is easy to cut and keeps quality through many steps. Files are large, so they are not for the web.
Example. Converting phone videos to a smoother format before a big edit.
Learn more: Wikipedia: Video codec
Lossy and lossless#
Lossy compression (like H.264 or MP3) removes things people hardly notice, and cannot be undone. Lossless (like FLAC or PNG) can be perfectly unpacked, but files are bigger.
Example. Saving the same photo again and again as JPEG makes it worse each time.
See also: Compression, Bitrate.
Learn more: Wikipedia: Data compression
MKV#
Matroska (MKV) is an open container with room for many audio tracks and subtitle tracks. Movie files often use it.
Example. A movie file with three languages and four subtitle options.
Also called: Matroska. See also: Container, WebM.
Learn more: Wikipedia: Matroska · Matroska media container
MOV#
MOV is related to MP4 and is often used by iPhones and professional cameras and by editing programs on Mac.
Example. A video recorded with an iPhone may be a .mov file.
Also called: QuickTime. See also: MP4, ProRes.
Learn more: Wikipedia: QuickTime File Format
MP3#
MP3 is an older audio codec that squeezes music by dropping sounds that ears hardly hear.
Example. A song from the early internet days.
See also: AAC, Lossy and lossless.
Learn more: Wikipedia: MP3
MP4#
MP4 is a container that usually holds H.264 video and AAC sound. It plays on phones, computers, TVs and the web.
Example. The video you send on a messaging app is an MP4.
In Stuarty. The default export is an MP4 (H.264 and AAC), checked after it is made.
Also called: .mp4, MPEG-4 Part 14. See also: H.264, AAC, Container.
Learn more: Wikipedia: MP4 file format · MDN: media container formats
OpenTimelineIO#
OTIO describes the timeline (clips, tracks, times) without the media. Different programs can read it, so you can change tools.
Example. Starting an edit in one program and finishing in another.
In Stuarty. otio:export and otio:import. See Exporting.
Also called: OTIO. See also: Timeline.
Learn more: OpenTimelineIO documentation
Opus#
Opus works well for voice calls and for music, and is free to use. Browsers and many apps support it.
Example. A voice call on the web.
Learn more: Wikipedia: Opus (audio format) · MDN: web audio codec guide
Pixel format#
The pixel format says how many numbers describe each pixel and how they are arranged. Players need it to show the right colours.
Example. yuv420p is the safest choice for videos that must play everywhere.
In Stuarty. MP4 exports are verified, including the pixel format. See Exporting.
See also: Chroma subsampling, RGB.
Learn more: Wikipedia: YUV · FFmpeg: formats documentation
PNG#
PNG compresses without losing anything and supports transparency. It is good for logos, screenshots and single frames.
Example. A logo with a transparent background.
In Stuarty. --format png exports one frame, chosen with --at.
See also: Alpha channel, Lossy and lossless.
Learn more: Wikipedia: PNG
ProRes#
ProRes keeps more detail and is easy for computers to edit, so professionals use it while working. The files are large.
Example. A film crew edits in ProRes, then exports a small H.264 for the web.
Also called: Apple ProRes. See also: Intermediate codec, MOV.
Learn more: Wikipedia: Apple ProRes
Stream#
A file has several streams: a video stream, one or more audio streams, maybe a subtitle stream. Streaming also means sending video over the internet while it plays.
Example. A movie with a video stream and two audio streams, English and Spanish.
In Stuarty. An MP4 export is checked to have both streams and the right duration.
See also: Container.
Learn more: Wikipedia: Container format
VP9#
VP9 is an open codec with no fees. It saves space compared with H.264 and plays in browsers.
Example. YouTube sends VP9 to browsers that can play it.
Learn more: Wikipedia: VP9
WAV#
WAV holds raw (PCM) sound. It sounds perfect but files are large. Editors use it to exchange sound.
Example. A voice recording used as the master copy.
In Stuarty. --format wav exports the audio mix as 16-bit PCM, 48 kHz, stereo.
Also called: PCM. See also: Lossy and lossless, Sample rate.
Learn more: Wikipedia: WAV
WebM#
WebM is a container that holds VP9 or AV1 video and Opus or Vorbis sound. It can also keep see-through backgrounds.
Example. A video with a transparent background to place on a web page.
See also: VP9, AV1, Alpha channel.
Learn more: Wikipedia: WebM · The WebM Project