[Libav-user] H264 live stream decoding and got_picture_ptr

Alex Cohn alexcohn at netvision.net.il
Wed Sep 19 12:53:46 CEST 2012


On Wed, Sep 19, 2012 at 1:14 PM, Tony Glover <T.Glover at nottingham.ac.uk> wrote:
> Hi,
>         That's what I'm doing, it's just that I'd like to know the conditions are that cause the got_picture_ptr to be zero. If I get a succession of frames with no valid got_picture_ptr then effectively my decoding stream stalls until I get a valid picture again. I'm assuming that it's ultimately loss of data that causes the issues? If this is the case then there's not much I can do about it, which is fine.
>
> Thanks,
>
> Tony.

One of the causes for got_picture to be FALSE without packet loss
could be that the stream has unexpected B-frames.

Alex


More information about the Libav-user mailing list