<div dir="ltr"><div>Hi,</div><br><div><div>The local screen is converted to mjpeg and streamed to localhost:</div><div><br></div>ffmpeg -video_size 1024x768 -framerate 5 -f x11grab -i :1 -vcodec mjpeg -f mjpeg udp://<a href="http://127.0.0.1:8554">127.0.0.1:8554</a><br>ffplay -f mjpeg udp://<a href="http://127.0.0.1:8554">127.0.0.1:8554</a></div><div></div><div><div><br></div><div>This pair of commands work fine with ffmpeg 4.4.2</div></div><div><br></div><div>Yurii<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 20 апр. 2023 г. в 14:16, wolverin via Libav-user <<a href="mailto:libav-user@ffmpeg.org">libav-user@ffmpeg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div>Hello, All.</div><div> </div><div>I am sending the mjpeg stream over the network like this</div><div>ffmpeg -i file.mjpeg -f mjpeg udp://host:port</div><div> </div><div>On the receiving side I constantly get the error [mjpeg] overread 8.</div><div>Setting the flags for AVFormatContext and AVCodecContext does not help.</div><div>pFmtCtx->error_recognition |= AV_EF_IGNORE_ERR;</div><div>pCdcCtx->err_recognition |= AV_EF_IGNORE_ERR;</div><div> </div><div>How can this problem be solved???</div><div> </div></div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</blockquote></div>