[Libav-user] reading udp stream "bump" every one second
sjoelf at gmail.com
Mon Oct 12 07:56:30 CEST 2015
I used "An ffmpeg and SDL Tutorial" for opening a udp stream and readin
The stream format is h264 and it's 25 fps.
Everything is working fine except for that once a second, I got a delay of
about 100 millisecond between two frames, which makes the video "bump" once
For example, the average time interval between two frames of the stream is
about 40 millisecond, but once a second there is an interval of about 100
I think that once a second, avcodec_decode_video2(pCodecCtx, pFrame,
&frameFinished, &packet) returns with frame not ready, which makes the
delay between the two frames.
Is there a solution for that?
Thanks a lot,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user