Streaming excessive delay

About encoding, codec settings, muxers and filter usage
iperich
Blank Cone
Blank Cone
Posts: 19
Joined: 24 May 2006 21:44

Streaming excessive delay

Postby iperich » 08 Feb 2007 08:28

Hi gurus. I have the following issue:

I stream from a webcam to my internet vlc server this way:

:sout=#transcode{acodec=none,vcodec=WMV2,vb=64,scale=1}:duplicate{dst=display,dst=std{access=udp,mux=ts,dst=X.X.X.X:XXXX}}

Everything works ok, I have a 1-2 sec stream delay in the server (acceptable).

The server do this:

vlc -vvv udp://@:XXXX --sout '#standard{access=mmsh,mux=ogg,dst=X.X.X.X:YYYY}'

trying to let another people from other part view the webcam streaming from the internet server.

The final streaming has a desesperatly unacceptable 10 sec. delay. Obviously the problem is between the server and the final client. I was doing transcoding, now I'm not. I have tried changing the caches, etc. The delay is exactly the same.
I have did this tests all from my home, so I stream the webcam from my laptop, and receive the final stream in my desktop. With 3 or 4 secs delay i would be happy.

Some ideas??

Thanks in advice

iperich

iperich
Blank Cone
Blank Cone
Posts: 19
Joined: 24 May 2006 21:44

Postby iperich » 12 Feb 2007 01:20

i changed the mux to asf and the delay reduced to 6 - 7 secs. Still unacceptable, but is better now... The server is a 2- Dual Xeon (4 cores) and is definetily not a slow machine. The connection is very fast too and I am streaming 64kbps. Where can I find some information about delay issues with vlc?

thanks

iperich
Blank Cone
Blank Cone
Posts: 19
Joined: 24 May 2006 21:44

Postby iperich » 12 Mar 2007 20:48

I can't believe I'm the only one with this problem... ?
I have searched on the web and i didn't find any solution to this problem...

Nobody can help?????

pjwhite
Blank Cone
Blank Cone
Posts: 15
Joined: 09 Jan 2007 18:51
Location: canader

Postby pjwhite » 13 Mar 2007 20:56

check things like --sout-udp-caching, the default is .5 of a second of something, and since you stream twice you get built up delays, and the second server is essentially acting like a client so it buffers as well... so you get two server and two client buffers...

so on the servers: --sout-udp-caching 20 --will make the sending buffer 20 ms

on the input side: --udp-caching 20 --will make the recieving buffer 20ms

should help

iperich
Blank Cone
Blank Cone
Posts: 19
Joined: 24 May 2006 21:44

Postby iperich » 16 Mar 2007 20:40

it reduced well the time of the input udp stream, but the mms stream has all the delay.... now I have 5 seconds....
there is no way to reduce the "mms sout caching"?
I read the "longhelp advanced" and i saw nothing about it...

kikocuas
New Cone
New Cone
Posts: 2
Joined: 18 Mar 2007 16:50

Delays...

Postby kikocuas » 18 Mar 2007 17:01

I'm trying hte same thing, but I just take the stream for the webcam, transcode and send to a intranet. I always have 1.5 seconds of delay, I tried to reduce cache down to 5ms but that doesn't solve anything. So, Can I reduce this delay in other way?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests