[vlc] Re: Network stream freezes after a few sec
Benjamin PRACHT
bigben+spam at videolan.org
Fri Aug 13 20:19:08 CEST 2004
On Fri, Aug 13, 2004, Chhaya, Harshal wrote :
>
> > (iii) efficiency of the TCP/IP stack on the receiver. This is
> > a hornets nest of possible problems. But it would be possible to
> > measure latency between the interrupt for the network port and the
> time
> > that the packet arrives for processing by the application.
>
> TCP/IP is not involved in this particular setup. The network cards are
> hooked up USB 2.0 and I am using a serial USB driver to pick up packets
> from the network and pass them on to vlc. I have an application that
> gets the packets and uses 'fwrite' to write to a pipe that feeds that
> data to vlc via stdin. I hope that makes sense.
Ok, then, you can try 2 things :
- Using the shortcut "stream:-" instead of "file:-" or "-" to open the
stream
- Set the --cr-average option to a higher value, say 1000.
>
>
> > (iv) efficiency of the program. Is there latency introduced
> > within the player.
>
> I want to try and see if buffering a couple of seconds of data in
> vlc makes things better. Is there a way to enable buffering via
> the command line?
>
this can be down using the --file-caching option (in ms)
--
BigBen
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list