[Ffmpeg-devel] 4XM audio codec_tag
Sun Nov 5 17:15:49 CET 2006
Diego Biurrun wrote:
> libavformat/4xm.c sets st->codec->codec_tag = 1 for 4XM audio. This
> seems wrong, codec_id 1 would be PCM audio. ffplay seems to be able to
> cope with this, but MPlayer cannot.
> So what codec_id could/should be used in this case? 4XMA seems to work
> fine, any other suggestions? Does it have to be a TwoCC?
set codec_id to what it is supposed to be CODEC_ID_ADPCM_4XM, and don't
set codec_tag. Format that does not support fourcc should not set
If mplayer cannot dectect CODEC_ID_ADPCM_4XM, use a conversation table
between CODEC_ID_ADPCM_4XM and whatever mplayer wants to use as internal
This is becoming more and more problematic...
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel