[libav-api] Question on H264 decoder behavior

Ronald S. Bultje rsbultje at gmail.com
Wed Oct 26 15:38:04 CEST 2011


On Wed, Oct 26, 2011 at 4:08 AM, wl2776 <wl2776 at gmail.com> wrote:
> Hi all.
> Can h264 decoder return a frame which it has already returned some time ago,
> if it can't work with the current frame?


> I'm writing a player, playing a live RTP video stream, and sometimes, when
> the incoming bitrate is high, I observe image flickering, like if the player
> displays one of previous frames (the moving car or human jumps back and
> forth).
> One more thing - I'm using my own demuxer, whose code was adopted from
> libav, from file rtpdec_h264.c
> I can't use LibAV's demuxer, because doing this would require too much
> effort. The project was started by the other person, which has written
> several parsers and used LivAV decoders solely.
> However, when the incoming bitrate is low, everything works just fine,
> nothing jumps.
> So, if the h264 decoder simply returns previous frame, how can I change this
> behavior?

Do you get any messages on stdout?


More information about the libav-api mailing list