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

aviad rozenhek aviadr1
Tue Dec 14 17:43:17 CET 2010


On Sun, Sep 19, 2010 at 15:40, Luca Barbato <lu_zero at gentoo.org> wrote:

> On 09/18/2010 11:39 AM, Howard Chu wrote:
> > Lowering the send buffer size sounds like a reasonable solution for
> > local sockets. That really should be all that's necessary to deal with
> > unix domain sockets.
>
> Changing the defaults to be the same as udp fixed the issue indeed.
> I exposed both buffer_size and pkt_size, now.
>
> Comments and test welcome as usual =)
>
> lu
>
>
I still have a lot of loss on windows when streaming from ffmpeg to ffplay.
I found out that all this problems go away when the receive buffer is
bigger.
I don't know how big the buffer can be set on other platforms, but on
windows, a buffer size of 0x3FFFF [262143 bytes] works like a charm without
any losses.

would it be possible to increase the default receive buffer size for udp to
0x3FFFF, at least on windows systems?



More information about the ffmpeg-devel mailing list