[Libav-user] Cached frames

Gonzalo Garramuno ggarra13 at gmail.com
Fri Jul 24 23:15:32 CEST 2015

On 24/07/15 15:39, Robin Stevens wrote:
>     If you want to get a rough idea of the amount of caching going on,
>     how about this: when you first start feeding packets into the
>     codec, count how many you've fed in before it starts producing
>     output.  That could be a rough indicator.  You should really just
>     let the codec tell you when its cache is empty, as I don't think
>     there are any guarantees about this, but it might give a rough
>     estimate.  Just a thought.
>     Andy
Yes, that's what I am doing now, but it is far from being optimal.
> Which encoder are you using?
> Does setting the gop size make a difference?

I am not encoding, but decoding.

Gonzalo Garramuño

More information about the Libav-user mailing list