[Ffmpeg-devel] Buffering audio data in case of overflow

Alex Beregszaszi alex
Sat May 6 21:19:58 CEST 2006


Hi,

> >No, it was an intermediate solution. 192k is one second 48khz, stereo,
> >16bit integer audio data. That should be enough for most codecs we
> >support. The real solution would be a different method of passing  
> >audio
> 
> >chunks, the push method. A codec knows how much data it has,  
> >requests a
> >buffer large enough for it and pushes to the player.
> Can you elaborate on this point? Are there any examples in the  
> codebase of this "method"?

like avcodec_get_buffer or the mechanism in mplayer 

Note: the interface is not designed.

-- 
Alex Beregszaszi	email: alex at fsn.hu
Free Software Network	cell: +36 70 3144424





More information about the ffmpeg-devel mailing list