Hello,
I used "An ffmpeg and SDL Tutorial" for opening a udp stream and readin
it's frames.
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
a second.
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
milli.
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,
Joel
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to