Skip to content
Surf Wiki
Save to docs
general/video

From Surf Wiki (app.surf) — the open knowledge base

Video file format

File format for storing digital video data


File format for storing digital video data

A video file format is a type of file format for storing digital video data on a computer system. Video is almost always stored using lossy compression to reduce the file size.

A video file normally consists of a container (e.g. in the Matroska format) containing visual (video without audio) data in a video coding format (e.g. VP9) alongside audio data in an audio coding format (e.g. Opus). The container can also contain synchronization information, subtitles, and metadata such as title. A standardized (or in some cases de facto standard) video file type such as .webm is a profile specified by a restriction on which container format and which video and audio compression formats are allowed.

The coded video and audio inside a video file container (i.e. not headers, footers, and metadata) is called the essence. A program (or hardware) which can decode compressed video or audio is called a codec; playing or encoding a video file will sometimes require the user to install a codec library corresponding to the type of video and audio coding used in the file.

Good design normally dictates that a file extension enables the user to derive which program will open the file. That is the case with some video file formats, such as WebM (.webm), Windows Media Video (.wmv), Flash Video (.flv), and Ogg Video (.ogv), each of which can only contain a few well-defined subtypes of video and audio coding formats, making it relatively easy to know which codec will play the file. In contrast to that, some very general-purpose container types like AVI (.avi) and QuickTime (.mov) can contain video and audio in almost any format, and have file extensions named after the container type, making it very hard for the end user to use the file extension to derive which codec or program to use to play the files.

The free software FFmpeg project's libraries have very wide support for encoding and decoding video file formats. For example, Google uses ffmpeg to support a wide range of upload video formats for YouTube. One widely used media player using the ffmpeg libraries is the free software VLC media player, which can play most video files that end users will encounter.

List of video file formats

NameFile extension(s)Container formatVideo coding format(s)Audio coding format(s)Notes
WebMMatroskaVP8, VP9, AV1Vorbis, OpusRoyalty-free format created for HTML video.
MatroskaMatroska
Flash Video (FLV)FLVVP6, Sorenson Spark, Screen video, Screen video 2, H.264MP3, ADPCM, Nellymoser, Speex, AACurl=https://web.archive.org/web/20100706004744/http://www.kaourantin.net/2007/10/new-file-extensions-and-mime-types.htmldate=2010-07-06 }}, Retrieved on 2009-08-03 de facto standard for web-based streaming video (over RTMP).
F4VMPEG-4 Part 12H.264MP3, AACReplacement for FLV.
VobVOBH.262/MPEG-2 Part 2 or MPEG-1 Part 2PCM, DTS, MPEG-1, Audio Layer II (MP2), or Dolby Digital (AC-3)Files in VOB format have filename extension and are typically stored in the folder at the root of a DVD. The VOB format is based on the MPEG program stream format.
Ogg Video,OggTheora, DiracVorbis, FLAC
DiracDirac
Video alternative to GIFHTMLNot standardized, and not a real video file in the classical meaning since it merely references the real video file (e.g. a file), which has to exist separately elsewhere. A "file" is simply a HTML webpage which includes a HTML video tag, where the video has no sound. As there were large communities online which create art using the medium of short soundless videos in GIF format, GIFV was created as a functionally similar replacement with vastly smaller filesizes than the inefficient GIF format.
Multiple-image Network GraphicsInefficient, not widely used.
AVIAVIUses RIFF
MPEG Transport Stream, ,AVCHDAVCHD (MPEG-4 / H.264)Dolby AC-3 or uncompressed linear PCMThe standard video format used by many Sony and Panasonic HD camcorders. It is also used for storing high definition video on Blu-ray discs.
QuickTime File Format,QuickTimeurl=http://www.digitalpreservation.gov/formats/fdd/fdd000052.shtmltitle=QuickTime File Formatdate=2013-02-14website=www.digitalpreservation.gov}}AAC, MP3, others
Windows Media VideoASFWindows Media Video, Windows Media Video Screen, Windows Media Video ImageWindows Media Audio, Sipro ACELP.net
Raw video formatFurther documentation neededDoesn't applyDoesn't applySupports all resolutions, sampling structures, and frame rates
RealMedia (RM)RealMediaRealVideoRealAudioMade for RealPlayer
RealMedia Variable Bitrate (RMVB)RealMedia Variable BitrateRealVideoRealAudioMade for RealPlayer
VivoActive (VIV)VIVbased upon H.263 videoG.723 ADPCM audio (not the G.723.1 speech codec)Made for VivoActive Player
Advanced Systems Format (ASF)ASF
AMV video formatModified version of AVIVariant of Motion JPEGVariant of IMA, ADPCMProprietary video file format produced for MP4 players and S1 MP3 players with video playback
MPEG-4 Part 14 (MP4), (with DRM),MPEG-4 Part 12H.264, H.265, MPEG-4 Part 2, MPEG-2, MPEG-1Advanced Audio Coding, MP3, others
MPEG-1, , , ,MPEG-1 part 1MPEG-1 part 2MPEG-1 Audio Layer I, MPEG-1 Audio Layer III (MP3)Old, but very widely used due to installed base.
MPEG-2 – Video, ,H.262AAC, MP3, MPEG-2 Part 3, others
M4VMPEG-4 Part 12H.264AAC, Dolby DigitalDeveloped by Apple, used in iTunes. Very similar to MP4 format, but may optionally have DRM.
SVIMPEG-4 utilising a special headerSamsung video format for portable players
3GPPMPEG-4 Part 12MPEG-4 Part 2, H.263, H.264AMR-NB, AMR-WB, AMR-WB+, AAC-LC, HE-AAC v1 or Enhanced aacPlus (HE-AAC v2)Common video format for cell phones
3GPP2MPEG-4 Part 12MPEG-4 Part 2, H.263, H.264AMR-NB, AMR-WB, AMR-WB+, AAC-LC, HE-AAC v1 or Enhanced aacPlus (HE-AAC v2), EVRC, SMV or VMR-WBCommon video format for cell phones
Material Exchange Format (MXF)MXF
ROQused by Quake 3
Nullsoft Streaming Video (NSV)NSVFor streaming video content over the Internet
Flash Video (FLV), , ,Audio, video, text, dataAdobe Flash PlatformSWF, F4V, ISO base media file formatDeveloped by the Adobe Flash Platform

References

References

  1. (9 February 2011). "Google's YouTube Uses FFmpeg {{!}} Breaking Eggs And Making Omelettes".
  2. Kaourantin.net (31 October 2007) Tinic Uro [http://www.kaourantin.net/2007/10/new-file-extensions-and-mime-types.html New File Extensions and MIME Types] {{Webarchive. link. (2010-07-06 , Retrieved on 2009-08-03)
  3. (2013-02-14). "QuickTime File Format".
  4. [https://code.google.com/archive/p/amv-codec-tools/wikis/AmvDocumentation.wiki "AMV codec tools"] code.google.com
  5. "RoQ - MultimediaWiki".
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Video file format — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report