[FFmpeg-devel] [PATCH] RealMedia muxer: support audio codecs other than AC-3

Måns Rullgård mans
Mon May 3 16:47:12 CEST 2010


"Ronald S. Bultje" <rsbultje at gmail.com> writes:

>> i think stream copy of codecs which we dont support should work.
>> for that though we must accept "unknown" codec tags without codec id

There is no reason whatsoever to believe that codec_tag from an
unknown codec/container will be at all meaningful in the target
container.

>> an actual example where someone wanted it and i fixed it was nellymoser
>> in flv before we had nelly support

And how did you fix that?  FLV uses completely different codec
identifiers, so blindly copying the AVI tag could not have worked.

> I'm OK with doing it if codec_id is unset (CODEC_ID_NONE). In any
> other case, codec_tag should be ignored (imo) and if codec_id is not
> in our table, we should error out. This way, we force ourselves to add
> the *correct* tag for each codec_id, rather than taking the AVI fourcc
> and probably ending up creating files only mplayer can playback.

+1

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list