Page 1 of 1

Documentation for streaming Windows desktop in 0.8.0-test2

Posted: 20 Oct 2004 20:02
by colin.farquhar
Where can I find documentation covering streaming screen? I've tried following notes across forum, but no success. :?

Posted: 20 Oct 2004 20:35
by markfm
It's pretty straight forward:
Launch from a command line,
vlc screen:// the_normal_transcode_and_stream_stuff the_stream_options

Where, the_stream_options are:
Screen Input
--screen-caching <integer> Caching value in ms
--screen-fps <float> Frame rate
--screen-fragment-size <integer>
Capture fragment size

You do need to use transcoding -- the screen:// is a raw input type, so some kind of CODEC must be used.

For example, say I want to make my desktop available as an mmsh stream, 768kbps, DIV3 CODEC, ASFH encapsulation, 2 frames per second overall, cut the screen into 16 pieces:
vlc screen:// :sout=#transcode{vcodec=DIV3,vb=768,scale=1}:duplicate{dst=std{access=mmsh,mux=ASFH,url=:1234}} --screen-fps=2.0 --screen-fragment-size=16

People would then connect to your screen by doing an mmsh to your IP address, on port 1234.

You will see a bit of cursor flicker on the source PC, as it is making copies of the pieces of the screen.