<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br>I have trouble in using ffmpeg to decode h264 stream sent from IP cameras through a busy network.<br><br></div></blockquote></div><div><br></div><div>If you are using UDP protocol then maybe increasing circular buffer size can help. Just add these options</div><div>after the IP address:</div><div>   1. overrun_nonfatal </div><div>   2. fifo_size. </div><div><br></div><div>Example:</div><div><br></div><div>"udp://IP?overrun_nonfatal=1&fifo_size=50000000"<br><br>This will increase input buffer to 50MB, which should be enough. On the other hand if you are simply losing </div><div>the data along the way RTMP will guarantee that packets are delivered properly.</div><div><br></div>-- <div><div dir="ltr" class="gmail_signature"><br>Regards<br>Strahinja Radman</div></div></div>