Container format (digital)

Container format (digital)

A container or wrapper format is a meta-file format whose specification describes how different data elements and metadata coexist in a computer file.

Among the earliest cross-platform container formats were Distinguished Encoding Rules and the 1985 Interchange File Format. Containers are frequently used in multimedia applications.

Contents

Properties

Since the container does not describe how data or metadata is encoded, a program able to identify and open a container file might not be able to decode the contained data. This may be caused by the program lacking the required decoding algorithm, or the meta-data not providing enough information.[clarification needed]

By definition, a container format could wrap any kind of data. Though there are some examples of such file formats (e.g. Microsoft Windows's DLL files), most container formats are specialized for specific data requirements. For example, a popular family of containers is found for use with multimedia file formats. Since audio and video streams can be coded and decoded with many different algorithms, a container format may be used to provide only a single file to the user.

Multimedia 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 DVD 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, while TIFF instead stores offsets. Modular chunks make it easy to recover other chunks in case of file corruption or dropped frames or bit slip, while offsets result in framing errors in cases of bit slip.

Some containers are exclusive to audio:

  • AIFF (IFF file format, widely used on Mac OS platform)
  • WAV (RIFF file format, widely used on Windows platform)
  • XMF (Extensible Music Format)

Other containers are exclusive to still images:

  • FITS (Flexible Image Transport System) still images, raw data, and associated metadata.
  • TIFF (Tagged Image File Format) still images and associated metadata.

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

  • 3GP (used by many mobile phones; based on the ISO base media file format)
  • ASF (container for Microsoft WMA and WMV, which today usually do not use a container)
  • AVI (the standard Microsoft Windows container, also based on RIFF)
  • DVR-MS ("Microsoft Digital Video Recording", proprietary video container format developed by Microsoft based on ASF)
  • Flash Video (FLV, F4V) (container for video and audio from Adobe Systems)
  • IFF (first platform-independent container format)
  • Matroska (MKV) (not limited to any codec or system, as it can hold virtually anything. It is an open standard and open source container format).
  • MJ2 - Motion JPEG 2000 file format, based on the ISO base media file format which is defined in MPEG-4 Part 12 and JPEG 2000 Part 12
  • QuickTime File Format (standard QuickTime video container from Apple Inc.)
  • MPEG program stream (standard container for MPEG-1 and MPEG-2 elementary streams on reasonably reliable media such as disks; used also on DVD-Video discs)
  • MPEG-2 transport stream (a.k.a. MPEG-TS) (standard container for digital broadcasting and for transportation over unreliable media; used also on Blu-ray Disc video; typically contains multiple video and audio streams, and an electronic program guide)
  • MP4 (standard audio and video container for the MPEG-4 multimedia portfolio, based on the ISO base media file format defined in MPEG-4 Part 12 and JPEG 2000 Part 12) which in turn was based on the QuickTime file format.
  • Ogg (standard container for Xiph.org audio fomat Vorbis and video format Theora)
  • RM (RealMedia; standard container for RealVideo and RealAudio)

There are many other container formats, such as NUT, MXF, GXF, ratDVD, SVI, VOB and DivX Media Format

Single coding formats

In addition to pure container formats, which specify only the wrapper but not the coding, a number of file formats specify both a storage layer and the coding, as part of modular design and forward compatibility.

Examples include JPEG File Interchange Format (JFIF) for containing JPEG data, and Portable Network Graphics (PNG).

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, while JPEG Network Graphics (JNG) puts JPEG encoded data in a PNG container; in both cases however, the different formats have different magic numbers – the format specifies the coding, though a MNG can contain both PNG-encoded images and JPEG-encoded images.

Issues

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 like B-frames, VBR audio or VFR 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 of streaming media

See also

Similar packaging structures

External Links

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Container format — may refer to: Recording format, for holding analog or digitally recorded data on a recording medium Container format (digital), for holding digitally encoded data in the form of a software data file Carrier signal format, for holding data during… …   Wikipedia

  • Multimedia Container Format — (MCF) Filename extension .mcf .av.mcf .audio.mcf .video.mcf Developed by mcf.sourceforge.net Type of format …   Wikipedia

  • Container — may refer to: Items used to contain, store, and transport products, such as: Carton Bottle Can (disambiguation), several meanings Shipping containers include Crate Wooden box Intermodal container, aka Ship container or Cargo container Twenty foot …   Wikipedia

  • Digital Cinema Initiatives — Digital Cinema Initiatives, LLC or DCI is a joint venture of major motion picture studios, formed to establish a standard architecture for digital cinema systems. The organization was formed in March 2002 by the following studios: Metro Goldwyn… …   Wikipedia

  • Digital cinematography — Arriflex D 21 Panavision Genesis …   Wikipedia

  • Digital Negative — For the informal use of digital negative , see Raw image format. Digital Negative (DNG) Filename extension .dng Developed by Adobe Systems Initial release …   Wikipedia

  • Audio file format — An audio file format is a file format for storing digital audio data on a computer system. This data can be stored uncompressed, or compressed to reduce the file size. It can be a raw bitstream, but it is usually a container format or an audio… …   Wikipedia

  • File format — A file format is a particular way that information is encoded for storage in a computer file. Since a disk drive, or indeed any computer storage, can store only bits, the computer must have some way of converting information to 0s and 1s and vice …   Wikipedia

  • NUT Container — Infobox file format name = NUT Container icon = caption = extension = .nut mime = type code = uniform type = magic = owner = genre = container for = contained by = extended from = extended to = standard = NUT (file extension: .nut) is a patent… …   Wikipedia

  • Digital Imaging and Communications in Medicine — (DICOM) ist ein offener Standard zur Speicherung und zum Austausch von Informationen im medizinischen Bilddatenmanagement. Diese Informationen können beispielsweise digitale Bilder, Zusatzinformationen wie Segmentierungen, Oberflächendefinitionen …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”