MIME Types and File Extensions

From XiphWiki
Jump to navigation Jump to 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
  • if an application does not support decoding of a logical bitstream, it should drop it but may still decode the ones it 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 (?)