[Libav-user] avcodec_decode_video2

Alex Cohn alexcohn at netvision.net.il
Thu Dec 29 17:37:31 CET 2011


On Thu, Dec 29, 2011 at 18:26, Neil Menne <nhmenne42 at students.tntech.edu> wrote:
> So editing the buffer's header is the next step?

First of all, let's be precise: this is not "buffer's header", it's
the "file header".

But anyway, I am not sure this fits your scenario. If you don't start
seeing decoded frames after a sufficient number of frames has been
buffered, you have a different problem. If your stream can carry
b-frames, you cannot use the proposed work-around. If you don't really
care about a few frames delay, you should not bother, and simply build
your program with the delay in mind.

-Alex


More information about the Libav-user mailing list