On Friday, July 24, 2015, Michael Chisholm <[email protected]> wrote:
> On 7/24/2015 1:28 PM, Gonzalo Garramuno wrote: > >> On 24/07/15 00:11, J Decker wrote: >> >>> >>> On Thu, Jul 23, 2015 at 5:13 PM, Gonzalo Garramuno <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> >>> This is all dandy. However, I would like to know in advance how >>> many times I will need to pass packets with NULL and size 0. Is >>> there a way to know this? >>> >>> until it stops returning a frame. >>> >>> Thanks, so the answer is no. >> >> > 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 > > > Which encoder are you using? Does setting the gop size make a difference? Cheers Rob
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
