MIME Types and File Extensions

From XiphWiki

(Difference between revisions)
Jump to: navigation, search
(.ogg - application/ogg)
(add comment about existing .ogg hardware)
Line 5: Line 5:
* can contain any logical bitstreams multiplexed together in an ogg container
* 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
* 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. Existing hardware in the wild looks only for .ogg and treats it as unmultiplexed Ogg Vorbis I.
* .ogg has more recently also been used for Ogg FLAC and for Ogg Theora
* .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
* apps supporting .oga, .ogv SHOULD support decoding from muxed Ogg streams

Revision as of 08:56, 8 May 2007

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

Contents

.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. Existing hardware in the wild looks only for .ogg and treats it as unmultiplexed Ogg Vorbis I.
  • .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 (?)
Personal tools


Main Page

Xiph.Org Projects

Audio—

Video—

Text—

Container—

Streaming—