Hi Gordon,

I was wondering if you solve this issue. I just recently connected to a live 
udp stream source and notice that there's a significant delay using ffmpeg code 
versus VLC. On my lab computer it's about 9 secs.

Any chance you've tried "av_codec_flush_buffers"? I know that dranger mentioned 
it in context of seeking frames but I'm wondering if you need to seek to the 
latest frames in the buffer.

Please let me know if you have any clue.

Many Thanks In Advance,
nick

----- Original Message -----
From: Gordon Smith <[email protected]>
Date: Thursday, August 12, 2010 3:18 pm
Subject: [libav-user] Decode in "real-time"?

> Hello -
> 
> I need to decode a MPEG2-TS UDP stream with as little decoding 
> latency as
> possible, i.e. "real-time".
> I can display the stream with ffplay, vlc, and the dranger FFmpeg/SDL
> tutorial.
> 
> The latency is approx. 3 seconds or more. I believe much of this 
> is from
> buffering the stream data for decode.
> Are there recommendations on how to minimize the latency using libav?
> 
> Thank you
> Gordon
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
> 
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to