wiki:Specs/CodecsValues

Version 13 (modified by ph3-der-loewe, 6 years ago) (diff)

Propose some more Xiph mappings

List of Codecs with Assigned ID

If you need a new CodecID add it to Proposed new codecs section below and ask on the Mailinglist!

Symbolic Name Value Name string MIME Type Name/Description
PCM_S_LE 0x0001 pcm_s_le ? Signed PCM in little endian
PCM_S_BE 0x0002 pcm_s_be ? Signed PCM in big endian
PCM_S_PDP 0x0003 pcm_s_pdp ? Signed PCM in PDP/Middle endian
PCM_U_LE 0x0005 pcm_u_le ? Unsigned PCM in little endian
PCM_U_BE 0x0006 pcm_u_be ? Unsigned PCM in big endian
PCM_U_PDP 0x0007 pcm_u_pdp ? Unsigned PCM in PDP/Middle endian
MIDI_FILE 0x0008 midi_file ? ?
OGG_VORBIS 0x0010 ogg_vorbis application/ogg Ogg stream with only Vorbis logical bitstreams
FLAC 0x0011 flac audio/x-flac Native FLAC
OGG_SPEEX 0x0012 ogg_speex audio/ogg; codecs=speex Ogg stream with only Speex logical bitstreams
(none) 0x0013 (none) (none) Reserved for late use with native CELT bitstream
OGG_FLAC 0x0014 ogg_flac audio/ogg; codecs=flac Ogg stream with only FLAC logical bitstreams
OGG_GENERAL 0x0015 ogg_general application/ogg Ogg stream with unknown, unsupported, mixed bitstreams
OGG_CELT 0x0016 ogg_celt audio/ogg; codecs=celt Ogg stream with only CELT logical bitstream
OGG 0x0017 ogg application/ogg Ogg container
OGG_OPUS 0x0018 ogg_opus ? Ogg stream with only Opus logical bitstream
ROAR_OPUS 0x0019 roar_opus ? RoarOpus? bitstream
ROAR_CELT 0x001A roar_celt ? RoarCELT bitstream
ROAR_SPEEX 0x001B roar_speex ? RoarSpeex? bitstream
RAUM 0x001C raum ? RAUM Media Container
RAUM_VORBIS 0x001D raum_vorbis ? Vorbis stream within a RAUM Media Container
RAUM_FLAC 0x001E raum_flac ? FLAC stream within a RAUM Media Container
RIFF_WAVE 0x0020 riff_wave audio/x-wav RIFF/WAVE
RIFX 0x0022 rifx ? Big Endian RIFF file, RIFX
AU 0x0024 au audio/basic AU
AIFF 0x0028 aiff audio/aiff AIFF
ALAW 0x0030 alaw ? A-Law stream
AUTLAW_LE 0x0031 autlaw_le ? Extended mantissa A-Law stream with 16 bits per sample, little endian
AUTLAW_BE 0x0032 autlaw_be ? Extended mantissa A-Law stream with 16 bits per sample, little endian (preferred)
MULAW 0x0034 mulaw ? µ-Law stream
MUUTLAW_LE 0x0035 muutlaw_le ? Extended mantissa µ-Law stream with 16 bits per sample, little endian
MUUTLAW_BE 0x0036 muutlaw_be ? Extended mantissa µ-Law stream with 16 bits per sample, little endian (preferred)
GSM 0x0038 gsm ? ?
GSM49 0x0039 gsm49 ? ?
BRR 0x003C brr ? SPC-700 Bit Rate Reduction
META_VCLT 0x0040 meta_vclt ? ?
META_RALT 0x0044 meta_ralt ? Reserved for future use
META_RALB 0x004C meta_ralb ? Reserved for future use
META_RALB_LE 0x004D meta_ralb_le ? Reserved for future use
META_RALB_BE 0x004E meta_ralb_be ? Reserved for future use
META_RALB_PDP 0x004F meta_ralb_pdp ? Reserved for future use
CONT_NULL 0x0050 (none) ? Reserved for future use
CONT_GZIP 0x0051 (none) ? Reserved for future use
CONT_BZIP2 0x0052 (none) ? Reserved for future use
CONT_OPGPBIN 0x0053 (none) ? Reserved for future use
CONT_OPGPASC 0x0054 (none) ? Reserved for future use
CONT_TAR 0x0055 (none) ? Reserved for future use
MIDI 0x0060 midi ? Raw MIDI
ROARMIDI 0x0064 roarmidi ? ?
DMX512 0x0070 dmx512 ? DMX512 (Packets of 512 Bytes, 8 bits per sample)
ROARDMX 0x0071 roardmx ? RoarDMX (Advanced light control codec)
RDS 0x0080 rds ? Radio Data System bitstream (including CRCs, 104 bits per frame)
USER0 0x0090 user0 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER1 0x0091 user1 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER2 0x0092 user2 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER3 0x0093 user3 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER4 0x0094 user4 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER5 0x0095 user5 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER6 0x0096 user6 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER7 0x0097 user7 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER8 0x0098 user8 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER9 0x0099 user9 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER10 0x009A user10 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER11 0x009B user11 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER12 0x009C user12 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER13 0x009D user13 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER14 0x009E user14 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)
USER15 0x009F user15 -/- User defined stream (Requires CAPS/CT_STANDARDS handshake if used on-wire)

Aliases

The following aliases should be defined. Those are mainly for more easy and intuitive working with user input. Beside the DEFAULT and PCM_U symbolic aliases they should not be used when writing code or data files.

Symbolic Name Value Name string MIME Type Name/Description
DEFAULT -/- default, pcm, raw -/- Alias to CPU native signed PCM format
PCM_S -/- pcm_s -/- Same as DEFAULT
PCM_U -/- pcm_u -/- Alias to CPU native unsigned PCM format
OGG_VORBIS 0x0010 vorbis application/ogg ?
OGG_SPEEX 0x0012 speex audio/ogg; codecs=speex ?
RIFF_WAVE 0x0020 wave, wav audio/x-wav ?
AUTLAW 0x0032 autlaw ? ?
MULAW 0x0034 ulaw ? ?
MUUTLAW 0x0036 muutlaw ? ?
CONT_BASE 0x0050 (none) ? Reserved for future use

Proposed new codecs

The following list is for proposed new codecs. They are not yet official in any way. CodecID is only a proposed. Do not use them (expect in pure internal experimental test code)!

Symbolic Name Value Name string MIME Type Name/Description
MATROSKA 0x???? matroska video/x-matroska, audio/x-matroska Matroska container format
WAVPACK 0x???? wavpack ? WavPack?
SHORTEN 0x???? shorten ? Shorten
ILBC 0x???? ilbc ? iLBC: Internet Low Bit Rate Codec, RFC 3951
TTA 0x???? tta audio/x-tta TTA: True Audio
OGG_MIDI 0x0068 ogg_midi ? MIDI mapped into Ogg files
OGG_PCM 0x002C ogg_pcm ? PCM mapped into Ogg files
OGG_SKELETON 0x???? ogg_skeleton ? OggSkeleton?