Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Container format

From Wikipedia, the free encyclopedia
Metafile format
This article is about a kind of computer file. For other uses, seecontainer format (disambiguation).
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Container format" – news ·newspapers ·books ·scholar ·JSTOR
(June 2017) (Learn how and when to remove this message)

Acontainer format (informally, sometimes called awrapper) ormetafile is afile format that allows multiple data streams to be embedded into a singlefile, usually along withmetadata for identifying and further detailing those streams.[1] Notable examples of container formats includearchive files (such as theZIP format) and formats used for multimedia playback (such asMatroska,MP4, andAVI). Among the earliestcross-platform container formats wereDistinguished Encoding Rules and the 1985Interchange File Format.

Design

[edit]
The layouts of common container formats:AVI,Matroska andPDF

Although containers may identify how data or metadata is encoded, they do not actually provide instructions about how to decode that data. Aprogram that can open a container must also use an appropriatecodec to decode its contents. If the program doesn't have the required algorithm, it can't use the contained data. In these cases, programs usually emit an error message that complains of a missing codec, which users may be able to acquire.

Container formats can be made to wrap any kind of data. Though there are some examples of such file formats (e.g.Microsoft Windows'sDLL files), most container formats are specialized for specific data requirements. For example, sinceaudio andvideo streams can be coded and decoded with many different algorithms, a container format may be used to provide the appearance of a single file format to users of multimedia playback software.

Considerations

[edit]
This sectionpossibly containsoriginal research. Pleaseimprove it byverifying the claims made and addinginline citations. Statements consisting only of original research should be removed.(January 2011) (Learn how and when to remove this message)

The differences between various container formats arise from five main issues:

  1. Popularity; how widely supported a container is.
  2. Overhead. This is the difference in file-size between two files with the same content in a different container.
  3. Support for advanced codec functionality. Older formats such as AVI do not support new codec features likeB-frames,VBR audio orVFR video natively. The format may be "hacked" to add support, but this creates compatibility problems.
  4. Support for advanced content, such as chapters, subtitles, meta-tags, user-data.
  5. Support ofstreaming media.

Single coding formats

[edit]

In addition to pure container formats, which specifyonly the wrapper but not the coding, a number of file formats specifyboth a storage layer and the coding, as part ofmodular design andforward compatibility.

Examples include theJPEG File Interchange Format (JFIF), for containingJPEG data, andPortable Network Graphics (PNG) formats.

In principle, coding can be changed while the storage layer is retained; for example,Multiple-image Network Graphics (MNG) uses the PNG container format but provides animation, whileJPEG Network Graphics (JNG) puts JPEG encoded data in a PNG container; in both cases however, the different formats have differentmagic numbers – the format specifies the coding, though a MNG can contain both PNG-encoded images and JPEG-encoded images.

Multimedia container formats

[edit]
Further information:Audio file format,Image file formats, andVideo file format
See also:Comparison of video container formats

The container file is used to identify and interleave different data types. Simpler container formats can contain different types of audio formats, while more advanced container formats can support multiple audio and video streams,subtitles, chapter-information, and meta-data (tags) — along with the synchronization information needed to play back the various streams together. In most cases, the file header, most of the metadata and the synchro chunks are specified by the container format. For example, container formats exist for optimized, low-quality, internet video streaming which differs from high-quality Blu-ray streaming requirements.

Container format parts have various names: "chunks" as in RIFF and PNG, "atoms" in QuickTime/MP4, "packets" in MPEG-TS (from the communications term), and "segments" in JPEG. The main content of a chunk is called the "data" or "payload". Most container formats have chunks in sequence, each with a header, whileTIFF instead stores offsets. Modular chunks make it easy to recover other chunks in case of file corruption or dropped frames orbit slip, while offsets result inframing errors in cases of bit slip.

Some containers are exclusive to audio:

Other containers are exclusive to still images:

Other flexible containers can hold many types of audio and video, as well as other media. The most popular multi-media containers are:[2][3]

There are many other container formats, such asNUT,MXF,GXF,ratDVD, SVI,VOB andDivX Media Format

See also

[edit]

References

[edit]
  1. ^Ho, Anthony T. S.; Li, Shujun (20 May 2016).Handbook of Digital Forensics of Multimedia Data and Devices, Enhanced E-Book. John Wiley & Sons. pp. 146–(?).ISBN 9781118757079.OCLC 953319457.
  2. ^"What Are Container File Formats (Media Containers)?".Cloudinary. 24 Jan 2024. Retrieved22 August 2024.
  3. ^Trattnig, Armin (14 June 2022)."The Definitive Guide to Container File Formats".Bitmovin. Retrieved22 August 2024.

External links

[edit]
Video
compression
ISO,IEC,
MPEG
ITU-T,VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
Others
Audio
compression
ISO,IEC,
MPEG
ITU-T
IETF
3GPP
ETSI
Bluetooth SIG
Chinese Standard
Others
Image
compression
IEC,ISO,IETF,
W3C,ITU-T,JPEG
Others
Containers
ISO,IEC
ITU-T
IETF
SMPTE
Others
Collaborations
Methods
Lists
SeeCompression methods for techniques andCompression software for codecs
Windows
Linux
active
inactive
Cross-platform
active
inactive
Windows
Cross-platform
Windows
macOS
Mobile
Lists
Retrieved from "https://en.wikipedia.org/w/index.php?title=Container_format&oldid=1279568915"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp