MIME Types and File Extensions: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(→‎.ogv - video/ogg: add a few more examples)
(expanded and moved some things around)
Line 6: Line 6:
* has been defined as such in RFC 3534 http://www.ietf.org/rfc/rfc3534.txt
* 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 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/Vorbis
* .ogg has more recently also been used for Ogg FLAC and for Ogg Theora
* it is required that random multitrack files contain a skeleton track to identify all containing logical bitstreams
* it is recommended that random multitrack files contain a skeleton track to identify all containing logical bitstreams




== .oga - audio/ogg ==
== .oga - audio/ogg ==


* audio in ogg, e.g. vorbis, speex, flac, ghost
* audio in Ogg
** Vorbis, Speex, FLAC, Ghost, OggPCM


== .ogv - video/ogg ==
== .ogv - video/ogg ==


* a/v in ogg, e.g. Theora, Theora + Vorbis, Theora + Speex, Theora + flac, Dirac + Vorbis, MNG + FLAC
* a/v in Ogg
** Theora, Theora + Vorbis, Theora + Speex, Theora + FLAC, Dirac + Vorbis, MNG + FLAC, Tarkin, OggUVS


== .spx - audio/ogg+speex ==
== .spx - audio/ogg+speex ==


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




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


* audio/vorbis for vorbis w/o container
* audio/vorbis for Vorbis without container
* video/theora for theora w/o container
* video/theora for Theora without container
* audio/speex for speex w/o container
* audio/speex for Speex without container
* audio/flac for flac (is audio/flac currently being used for flac in native container?)
* audio/flac for FLAC (is audio/flac currently being used for flac in native container?)

Revision as of 14:57, 29 April 2007

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?)