[Libav-user] mjpeg overread 8

wolverin wolverin82 at mail.ru
Tue May 9 05:17:29 EEST 2023


  
>Суббота, 22 апреля 2023, 13:00 +05:00 от Paul B Mahol <onemda at gmail.com>:
> 
>On Fri, Apr 21, 2023 at 3:12PM wolverin via Libav-user < libav-user at ffmpeg.org > wrote:
>>  
>>>Пятница, 21 апреля 2023, 17:13 +05:00 от Yurii Monakov < monakov.y at gmail.com >:
>>> 
>>>Hi,  
>>>The local screen is converted to mjpeg and streamed to localhost:
>>>  ffmpeg -video_size 1024x768 -framerate 5 -f x11grab -i :1 -vcodec mjpeg -f mjpeg udp:// 127.0.0.1:8554
>>>ffplay -f mjpeg udp:// 127.0.0.1:8554
>>> 
>>> 
>>>This pair of commands work fine with ffmpeg 4.4.2
>>> 
>>>Yurii
>>> 
>>Thank you for paying attention to my problem, again!  
>>I am using ffmpeg 5.0 version, but I am not transferring localhost, but between different hosts or even the internet.
>>Of course, in the latter case, packet losses occur, but how to make the ffmpeg of the library process this correctly.
>>I set fifo_size to 100M, it reduced the number of other errors, but it didn't get rid of this one.
> 
>I doubt that udp protocol can handle packet losses reliably.
>  
>>_______________________________________________
 
Initially, I wanted to forward packets via symmetric NAT, and it doesn't even matter if some frames are lost, the question is probably how to discard damaged frames?
 
Perhaps you can recommend another protocol from ffmpeg, more suitable for my task???
 
Thank you if you respond.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230509/496f8fa0/attachment.htm>


More information about the Libav-user mailing list