[Ffmpeg-devel] Re: [PATCH] wav tag

Baptiste COUDURIER baptiste.coudurier
Wed Mar 1 16:05:13 CET 2006

M?ns Rullg?rd wrote:
> Baptiste COUDURIER said:
>>Michael Niedermayer wrote:
>>>rejected, a muxer MUST always honor codec_tag, the bug is that codec_tag is
>>>blindly copied from the demuxer to the muxer context
>>All right. Shouldn't codec_tag be blindly copied ? We have to in case of
>>an unrecognized fourcc, no ? We got here a fourcc collision between
>>formats. How can that be fixed ?
> WAV doesn't use fourcc.  It uses a 16-bit integer.  Some form of mapping
> is required.

Yes, atm WAV muxer uses codec->codec_tag if it is set. MOV demuxer sets
fourcc as codec_tag. Where correct remapping should be done when using
stream copy ?

Since michael said remapping in wav muxer was wrong, maybe I misunderstood ?

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 mailing list