Documentation for streaming Windows desktop in 0.8.0-test2

About encoding, codec settings, muxers and filter usage
colin.farquhar

Documentation for streaming Windows desktop in 0.8.0-test2

Postby colin.farquhar » 20 Oct 2004 20:02

Where can I find documentation covering streaming screen? I've tried following notes across forum, but no success. :?

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 20 Oct 2004 20:35

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests