[FFmpeg-devel] Integrating the mod engine into FFmpeg - what is the best design approach?

Måns Rullgård mans
Fri Jul 16 18:49:23 CEST 2010


Vladimir Pantelic <vladoman at gmail.com> writes:

> M?ns Rullg?rd wrote:
>> Vladimir Pantelic<vladoman at gmail.com>  writes:
>>
>>>  Vitor Sessak wrote:
>>>
>>>>  And your first idea did not have this problem. Since it is not a bad
>>>>  idea either, I'd like to explain it to see what the rest of the
>>>>  community think. In Sebastian's original approach, the demuxer would
>>>>  decode the file to a BSS an output it in an AVPacket. It would them
>>>>  define a CODEC_ID_SEQUENCER, and the decoder would be just a wrapper to
>>>>  libavsequencer to make the BSS ->   PCM conversion.
>>>
>>>  as a lavf/lavc user, I would expect the PCM to be the result of calling
>>>  the decoder, having to now call lavseq would be kinda new and disruptive.
>>>
>>>  for this approach how do we handle:
>>>
>>>  1) decode call cannot output ALL pcm at once, do we call it several times
>>>  without new input data to get all the PCM "decoded"?
>>
>> IIRC there are already decoders doing this.
>
> decoding it all at once? or needing the subsequent calls?

Multiple calls.

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



More information about the ffmpeg-devel mailing list