[Libav-user] avcodec_decode_video2

Neil Menne nhmenne42 at students.tntech.edu
Thu Dec 29 17:40:48 CET 2011


Yeah, it never starts rendering. It's also always saying no frame. For
every frame, the H264 decoder prints its own thing.
On Dec 29, 2011 11:37 AM, "Alex Cohn" <alexcohn at netvision.net.il> wrote:

> 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
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111229/13af43b1/attachment.html>


More information about the Libav-user mailing list