[FFmpeg-devel] [PATCH] make FLAC parser return frames when it has the required amount (without buffering)

Michael Chinen mchinen
Wed Dec 15 19:01:03 CET 2010

On Sun, Dec 12, 2010 at 4:53 AM, Justin Ruggles
<justin.ruggles at gmail.com> wrote:
> Well, it would catch up after several frames... ?Maybe an LPC function
> to predict frame size would do better... it is FLAC after all. ?;)
> Anyway, anything that's even remotely predictive is better than a fixed
> value. ?8192 bytes is very certainly a big overestimate for silent frames.

Okay, how about using 8192 bytes initially and make it the largest
average found so far?
This should handle the silent and small sections.


More information about the ffmpeg-devel mailing list