<p dir="ltr">On 30 May 2013 18:47, "Vahid Kowsari" <<a href="mailto:vahid@kowsari.com">vahid@kowsari.com</a>> wrote:<br>
><br>
> Hi All,<br>
><br>
> I am working on a piece of code at the moment to receive HD H264 MPEG TS streams at around 7.5 mbps from a udp multicast.<br>
> This code is running inside of ubuntu VM remotely.<br>
><br>
> I am having problems because no matter what I do I get fifo buffer overflows after a certain period of time. I have done the following:</p>
<p dir="ltr">Does simple arithmetics suggest that your decoding is slower than input? Maybe, you should simply use a more powerful machine?</p>
<p dir="ltr">> 1. Increased the the fifo_size, set overrun non fatal<br>
> 2. Made my avcodec_decode_video2 and my processing of the frame in different threads and use a queue of frames between them.</p>
<p dir="ltr">This could help if processing can be dropped for some frames.<br>
 <br>
> 3. I tried changing process priorities and set the renice value<br>
><br>
> I actually dont need to process every frame of the video and it would be nice if there was a way to make ffmpeg api drop every x frames.<br>
 The decoder cannot drop frames unless it can fast-forward to the next IDR frame.</p>
<p dir="ltr">> Any thoughts would be greatly appreciated.<br>
> Thanks<br>
> __________________________________________________________<br>
> Vahid Kowsari<br>
> <a href="mailto:vahid@kowsari.com">vahid@kowsari.com</a><br>
> ____________________</p>
<p dir="ltr">BR,<br>
Alex Cohn<br>
</p>