Changes

Jump to: navigation, search

MIMETypesCodecs

320 bytes added, 09:19, 3 July 2012
Add Opus to the list of allowed codecs for Ogg mime types.
== Specification of MIME Types types and of respective codecs parameters parameter == Also includes a specification of the recommended file extensions to use with Ogg.
=== MIME Types ===
The following MIME types are now officially registered with IANA (well, almost,see and specified with the IETF as [[httpshttp://datatrackerwww.ietf.org/idtrackerrfc/draft-goncalves-rfc3534bis/]rfc5334.txt RFC 5334]):
* application/ogg - for complex, multitrack, multiplexed files encapsulated in Ogg** requires a Skeleton logical bitstream** .ogx file extension** Macintosh File Type Code: OggX * video/ogg - for video (with audio) encapsulated in Ogg
** recommends a Skeleton logical bitstrem
** .ogv file extension
** Macintosh File Type Code: OggA
* application/ogg - for complex, multitrack, multiplexed files encapsulated in Ogg
** requires a Skeleton logical bitstream
** .ogx file extension
** Macintosh File Type Code: OggX
[[MIME_Types_and_File_Extensions | Other MIME types]] are still in the process.
[[MIME_Types_and_File_Extensions|Other MIME types]] are still in the process.
=== Codecs Parameter ===
|-
! Codecs Parameter Name
! Codec Type
! Codec Identifier
(decimal, hex, octal)
! Version Field (if available)
|-
| [http://lists.xiph.org/pipermail/ogg-dev/2008-February/000891.html dirac]
| char[0,5]: <tt>'BBCD\0'</tt>
hex: <tt>'0x42 0x42 0x43 0x44 00'</tt>
 
oct: <tt>'0102 0102 0103 0104 0000'</tt>
| ??
|-
| [http://svn.annodex.net/liboggz/trunk/src/liboggz/oggz_auto.h celt]
| audio| char[0,8]: <tt>'CELT \ \ \ \ '</tt>
hex: <tt>'0x43 0x45 0x4c 0x54 0x20 0x20 0x20 0x20'</tt>
|-
| [http://svn.annodex.net/liboggz/trunk/src/liboggz/oggz_auto.h cmml]
| text
| char[0,8]: <tt>'CMML\0\0\0\0'</tt>
hex: <tt>'0x43 0x4d 0x4d 0x4c 0x00 0x00 0x00 0x00'</tt>
| char[8,2]: major version number,
char[10,2]: minor version number
|-
| [http://wiki.xiph.org/index.php/OggDirac dirac]
| video
| char[0,5]: <tt>'BBCD\0'</tt>
hex: <tt>'0x42 0x42 0x43 0x44 0x00'</tt>
 
oct: <tt>'0102 0102 0103 0104 0000'</tt>
| ??
|-
| [http://flac.sourceforge.net/ogg_mapping.html flac]
| audio
| char[0,5]: <tt>'\177FLAC'</tt>
hex: <tt>'0x7F 0x46 0x4C 0x41 0x43'</tt>
char[6,1]: binary minor version number of mapping
|-
| [http://wiki.xiph.org/index.php/[OggMNG |jng]]| video
| char[0,8]: <tt>'\213JNG\r\n\032\n'</tt>
hex: <tt>'0x8b 0x4a 0x4e 0x47 0x0D 0x0A 0x1A 0x0A'</tt>
| ??
|-
| [http://wiki.xiph.org/index.php/[OggKate |kate]]| text| char[0,98]: <tt>'\x80kate\0\0\0\0'</tt>hex: <tt>'0x80 0x6b 0x61 0x74 0x65 0x00 0x00 0x00 0x00'</tt>
oct: <tt>'0200 0153 0141 0164 0145 0000 0000 0000 0000'</tt>
| char[9,1]: major version number,
char[10,1]: minor version number
|-
| [http://lists.xiph.org/pipermail/vorbis-dev/2001-August/004501.html midi]
| text
| char[0,8]: <tt>'OggMIDI\0'</tt>
hex: <tt>'0x4f 0x67 0x67 0x4d 0x49 0x44 0x49 0x00'</tt>
| char[8,1]: version field
|-
| [http://wiki.xiph.org/index.php/[OggMNG |mng]]| video
| char[0,8]: <tt>'\212MNG\r\n\032\n'</tt>
hex: <tt>'0x8a 0x4d 0x4e 0x47 0x0D 0x0A 0x1A 0x0A'</tt>
| ??
|-
| [http[OggOpus|opus]]| audio| char[0,8]:<tt>'OpusHead'</tt>hex: <tt>'0x4f 0x70 0x75 0x73 0x48 0x65 0x61 0x64'</wiki.xiph.org/index.phptt> oct: <tt>'0117 0160 0165 0163 0110 0150 0141 0145 1044'</tt>| char[8,1]: version field|-| [[OggPCM |pcm]]| audio| char[0,8]: <tt>'PCM \ \ \ \ \ '</tt>hex: <tt>'0x53 0x70 0x65 0x65 0x78 0x50 0x43 0x4d 0x20 0x20 0x20 0x20 0x20'</tt>
oct: <tt>'0123 0160 0145 0145 0170 0120 0103 0115 0040 0040 0040 0040 0040'</tt>
| char[8,2]: version major field,
char[10,2]: version minor field
|-
| [http://wiki.xiph.org/index.php/[OggMNG |png]]| video
| char[0,8]: <tt>'\211PNG\r\n\032\n'</tt>
hex: <tt>'0x89 0x50 0x4e 0x47 0x0D 0x0A 0x1A 0x0A'</tt>
|-
| [http://svn.annodex.net/liboggz/trunk/src/liboggz/oggz_auto.h speex]
| audio| char[0,8]: <tt>'Speex \ \ \ '</tt>
hex: <tt>'0x53 0x70 0x65 0x65 0x78 0x20 0x20 0x20'</tt>
|-
| [http://svn.annodex.net/liboggz/trunk/src/liboggz/oggz_auto.h theora]
| video
| char[0,7]: <tt>'\x80theora'</tt>
hex: <tt>'0x80 0x74 0x68 0x65 0x6f 0x72 0x61'</tt>
|-
| [http://svn.annodex.net/liboggz/trunk/src/liboggz/oggz_auto.h vorbis]
| audio
| char[0,7]: <tt>'\x01vorbis'</tt>
hex: <tt>'0x01 0x76 0x6f 0x72 0x62 0x69 0x73'</tt>
| char[7,4]: version field
|-
| [[OggYUV4MPEG| yuv4mpeg]]| video| char[0,98]: <tt>'YUV4MPEG2YUV4MPEG'</tt>hex: <tt>'0x59 0x55 0x56 0x34 0x4d 0x50 0x45 0x47 0x32'</tt>
oct: <tt>'0131 0125 0126 0064 0115 0120 0105 0107 0062'</tt>| ?? char[8,1] = '2' (0x32) for yuv4mpeg format version 2
|}
The "char[x,y]" fields mean here: start at byte number x (counting from 0) for a length of y bytes.
 
[[Category:Ogg]]

Navigation menu