Opened 12 years ago

Last modified 12 years ago

#2024 closed enhancement (fixed)

Support for 2 missing ADPCM codecs from FFmpeg

Reported by: onemda@… Owned by: reimar
Priority: normal Component: demuxer
Version: HEAD Severity: minor
Keywords: Cc: cehoyos
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

There are few others ADPCM codecs that FFmpeg supports and are not listed in codecs.conf but looks like there are no easy way to find samples for them.

Add to etc/codecs.conf

audiocodec ffadpcmimaeasead

info "FFmpeg ADPCM IMA Electronic Arts SEAD"
status working
format 0x65
driver ffmpeg
dll "adpcm_ima_ea_sead"

audiocodec ffadpcmimaiss

info "FFmpeg Funcom IMA ISS ADPCM"
status working
fourcc AISS ; internal MPlayer FourCC
driver ffmpeg
dll "adpcm_ima_iss"

diff --git a/libmpdemux/mp_taglists.c b/libmpdemux/mp_taglists.c
| index ad95774..877d59e 100644
| --- a/libmpdemux/mp_taglists.c
| +++ b/libmpdemux/mp_taglists.c
| @@ -30,6 +30,7 @@ static const struct mp_AVCodecTag mp_wav_tags[] = {
| { CODEC_ID_ADPCM_ADX, MKTAG('S', 'a', 'd', 'x')},
| { CODEC_ID_ADPCM_EA, MKTAG('A', 'D', 'E', 'A')},
| { CODEC_ID_ADPCM_EA_MAXIS_XA, MKTAG('A', 'D', 'X', 'A')},
| + { CODEC_ID_ADPCM_IMA_ISS, MKTAG('A', 'I', 'S', 'S')},
| { CODEC_ID_ADPCM_IMA_WS, MKTAG('A', 'I', 'W', 'S')},
| { CODEC_ID_ADPCM_THP, MKTAG('T', 'H', 'P', 'A')},
| { CODEC_ID_ADPCM_XA, MKTAG('P', 'S', 'X', 'A')},

Change History (1)

comment:1 by cehoyos, 12 years ago

Resolution: fixed
Status: newclosed, cehoyos@ag.or.at

Two patches applied, thank you.

Please provide future patches made with svn diff as attachments (and consider sending them to mplayer-dev-eng).

Note: See TracTickets for help on using tickets.