[Ffmpeg-devel] [PATCH] VP6 to flv muxing

Tim Allen tim
Fri Jun 9 00:57:02 CEST 2006


M?ns Rullg?rd wrote:
> Benjamin Larsson <banan at student.ltu.se> writes:
>>Hi,
>>
>>Michael Niedermayer wrote:
>>>if you add a byte during flv muxing, shouldnt you remove i during flv
>>>demuxing?
>>
>>That could be done or define a new codec id and let that decoder handle
>>the extra byte.
> 
> I don't like that idea at all.  If one container requires some extra
> stuff, then it's the responsibility of the demuxer to deal with it.
> It's unfortunate when this happens, but there is no other sensible way
> to handle it.

My suggestion, for what it's worth, is that the codec could be given the 
capability to do whatever strange things certain (de)muxers want it to 
do, depending on parameters, and then the (de)muxers decide for 
themselves whether to pass those parameters to the codec.

Tim

-- 
-----------------------------------------------
Tim Allen          tim at proximity.com.au
Proximity Pty Ltd  http://www.proximity.com.au/




More information about the ffmpeg-devel mailing list