MIME Types and File Extensions

From XiphWiki
Revision as of 14:57, 29 April 2007 by Saoshyant (talk | contribs) (expanded and moved some things around)
Jump to: navigation, search

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
  • it is recommended that random multitrack files contain a skeleton track to identify all containing logical bitstreams

.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

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 (is audio/flac currently being used for flac in native container?)