[FFmpeg-devel] [RFC] unix socket protocol and our proto situation

Martin Storsjö martin
Sat Jan 1 14:47:32 CET 2011


On Fri, 17 Dec 2010, Michael Niedermayer wrote:

> On Thu, Dec 16, 2010 at 03:36:49PM +0200, Martin Storsj? wrote:
> > On Thu, 16 Dec 2010, Ronald S. Bultje wrote:
> > 
> > > On Thu, Dec 16, 2010 at 3:44 AM, Martin Storsj? <martin at martin.st> wrote:
> > > > Yes, av_find_stream_info is problematic with streams over lossy channels
> > > > such as UDP, since depending on the stream, it can buffer up quite a bit
> > > > of data, and won't read any more until the buffered data is consumed.
> > > 
> > > We have to fix that. ffmpeg/ffplay should always work.
> > 
> > Yes - I've run into this issue every now and then, but not bad enough that 
> > I've looked into how to fix it properly.
> 
> There are max packet and max time limits in av_find_stream()
> adjust them to what is ok for realtime streams when one is using it on a real
> time stream
> am i missing an issue with this ?

Sorry for forgetting to reply on this topic earlier. If setting them to 
really low values does work properly, there might not be any issue. I'll 
try that the next time I run into such an issue.

// Martin



More information about the ffmpeg-devel mailing list