Delay in network stream

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
krattai
New Cone
New Cone
Posts: 4
Joined: 17 Feb 2010 20:44

Delay in network stream

Postby krattai » 01 Apr 2010 23:47

I'm sure this has been discussed many times. It seems that the keywords I'm using to search the forums is not giving me the answers.

I am using 0.9.9a vlc and 0.8.63 and many other variations on single core 1.6GHz processors to dual core AMD and intel processors on 100mbps networks and ubuntu 8.04 to ubuntu 10.04beta and I cannot find the tweak for this.

I am using the following command line for testing:
vlc -vvv v4l2:///dev/video0 :v4l2-fps=15 :v4l2-caching=50 --sout '#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=rtp{dst=192.168.0.155,mux=ts,port=1234,rtp-caching=50}}'

I just can't seem to make any difference in the delay (latency) between the original stream timestamp and the timestamp of the receiving computer. There always appears to be about a 1.5s delay from an action on the camera to what's displaying at the recipient computer.

Does anyone know what I'm doing wrong here? If I could at least get different results (I've even set rtp-caching=5000 and tried the same with vrl2-caching and the delay is the same), then I can at least guess that I can get better than the 1.5s.

Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Delay in network stream

Postby Rémi Denis-Courmont » 03 Apr 2010 11:26

Low latency with VLC < 1.0 is not really feasible. And then, as long as you transcode, you will have bad latency anyway.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests