Low-latency screen:// streaming.

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
STrRedWolf
Blank Cone
Blank Cone
Posts: 14
Joined: 14 Jan 2009 03:23

Low-latency screen:// streaming.

Postby STrRedWolf » 14 Jan 2009 03:37

Guess I better post here.

I'm trying to stream one desktop from a Linux Gentoo box over to another on an iMac (an alternate monitor). This is so I can run CamTwist on the desktop and stream the results (in this case, me drawing artwork in Gimp) to Ustream (a live broadcaster).

My current setup has me taking the 1920x1200 desktop, streaming with this:

Code: Select all

vlc -I dummy screen:// :screen-fps=15 :screen-caching=60 --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1440,height=900}:rtp{mux=ts,sdp=rtsp://:4000/test.sdp}'
The screen is then requested with VLC on the iMac and plastered full-screen on the alternate display. They're connected via a GigE network to the same switch. Both iMac and Linux system are physically next to each other, and the switch is on the same desk as the Linux box.

The delay is about 7-10 seconds, but very noticeable. The load also is about 50-75% of my dual-core Athlon XP 64 X2.

Is there any tweaks I can do to cut the delay and the load on the host CPU? I have no need for audio.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Low-latency screen:// streaming.

Postby Jean-Baptiste Kempf » 16 Jan 2009 14:45

VLC screen:// is very bad, this is why.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

STrRedWolf
Blank Cone
Blank Cone
Posts: 14
Joined: 14 Jan 2009 03:23

Re: Low-latency screen:// streaming.

Postby STrRedWolf » 17 Jan 2009 17:45

Switched away from VNC and now using x11vnc on the main screen, and JollysFastVNC connected to x11vnc. The latter does full screen without blanking out other screens, which is quite nice.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests