[Libav-user] av_read_frame is given duplicate frames

wolverin wolverin82 at mail.ru
Sat May 20 05:28:36 EEST 2023


Hello, All.
 
I am receiving a stream from a usb mjpeg camera, Everything is OK as long as the capture of frames is constant. If a frame is taken, for example, 1 time in 10 minutes for snapshots, then the frames are identical.
 
If I do av_read_frame sequentially several times (for example, 5 times), then the problem disappears
 
What could be the reason?
Thanks for any help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230520/dc217772/attachment.htm>


More information about the Libav-user mailing list