VLS dumping data out too fast

James Courtier-Dutton James at superbug.demon.co.uk
Fri May 3 00:35:45 CEST 2002


Ken McCullagh wrote:

>Hi guys,
>I've been playing with VLS, VLC and VLMS for a little while now, and I
>had problems with VLC playing data streamed from VLMS. I was using one
>particular stream, and every time the VLC would start showing some jumpy
>video, followed by INPUT_MAX_ALLOCATION reached and then it would hang.
>The same stream however, streams perfectly from the VLMS.
>
>further analysis shows that the stream is sent over 30 seconds when
>using VLMS, but when using VLS it gets sent in 0.9 seconds (this was
>determined using a packet sniffer on the client machine)  - the size of
>the file is 10.5 MB
>
>Has this ever been encountered before? I put some code in there, first
>attempt, to delay sending the packets (just a simple waiting loop in
>C_NetOutput::WriteToPort() before it sends the data out) and this stops
>the VLC client falling over, and the data is sent over a longer time.
>
>When I play a different stream across from VLS to VLC then everything is
>fine......
>
>Cheers
>Ken
>  
>
I think VLS uses the SCR from the stream to rate limit the output.
If the original stream has bad SCR values, you might see the problem you 
are getting.

Cheers
James




-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list