[Libav-user] Receiving MPEGTS and fifo buffer overflows

Vahid Kowsari vahid at kowsari.com
Thu May 30 19:19:47 CEST 2013


Thank you for your quick responses.

I do see this problem happen usually when i start getting errors. How 
can I avoid getting errors? I dont think the errors are from the input 
stream but my inability to process the stream.

The machine is an 8 CPU AMD Opeteron running at 2.1Ghz. I think that 
should be fast enough.
How do I programmatically handle the errors? Is there a callback I can 
set to be called when I start getting errors?

Thanks

Kalileo wrote:
> On May 30, 2013, at 22:46 , Vahid Kowsari wrote:
>
>> Hi All,
>>
>> 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.
>> This code is running inside of ubuntu VM remotely.
>>
>> I am having problems because no matter what I do I get fifo buffer overflows after a certain period of time.
>
> Assuming that this is not an issue with your device lacking the power to keep up with decoding, have you checked what might trigger the overflow?
>
> I see such overflows happening whenever there are some bigger errors in the input stream.
>
>> I have done the following:
>> 1. Increased the the fifo_size, set overrun non fatal
>
> " overrun non fatal" in my experience is fatal, better reset / restart at that point.
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-- 
__________________________________________________________
Vahid Kowsari
vahid at kowsari.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130530/8c58b18a/attachment.html>


More information about the Libav-user mailing list