MIME Types and File Extensions

From XiphWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

WARNING: this page is under development and discussion - none of this are currently official Xiph recommendations.

.ogg - application/ogg

  • can contain any logical bitstreams multiplexed together in an ogg container
  • has been defined as such in RFC 3534 http://www.ietf.org/rfc/rfc3534.txt
  • .ogg has traditionally been used for Ogg Vorbis files, so an important subpart of the ".ogg" files will be just Ogg Vorbis
  • .ogg has more recently also been used for Ogg FLAC and for Ogg Theora
  • apps supporting .oga, .ogv SHOULD support decoding from muxed Ogg streams
  • random multitrack files SHOULD contain a skeleton track to identify all containing logical bitstreams
  • apps that identify a logical bitstream which they cannot decode SHOULD drop but MAY still decode the ones they can

.oga - audio/ogg

  • audio in Ogg
    • Vorbis, Speex, FLAC, Ghost, OggPCM

.ogv - video/ogg

  • a/v in Ogg
    • Theora, Theora + Vorbis, Theora + Speex, Theora + FLAC, Dirac + Vorbis, MNG + FLAC, Tarkin, OggUVS

.spx - audio/ogg+speex

  • .spx has traditionally been used for Ogg Speex files and should be considered for backwards-compatibility

.flac - application/flac

  • flac in native encapsulation format


Codec MIME types

Codecs need their own MIME types for streaming and to be used in multitrack ogg files using skeleton:

  • audio/vorbis for Vorbis without container
  • video/theora for Theora without container
  • audio/speex for Speex without container
  • audio/flac for FLAC without container, but extra FLAC Ogg header (?)