Using screen:// with multicast

About encoding, codec settings, muxers and filter usage
axiomx11
Blank Cone
Blank Cone
Posts: 14
Joined: 11 Oct 2006 20:08

Using screen:// with multicast

Postby axiomx11 » 16 Oct 2006 21:56

This looks like it should be possible, but I can't get it to work.

Multicast runs great

Code: Select all

vlc "EarlyLig2001.mpeg" :sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.0.0.0:1234}}
That displays both places as it should.

But when I try to run my screen over multicast:

Code: Select all

vlc screen:// :sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.0.0.0:1234}}
It only shows locally.

Should this work?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 17 Oct 2006 16:01

you need to encode the video

Code: Select all

--sout "#transcode{vcodec=mp2v,vb=2048}:std{...blabla...}"
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

axiomx11
Blank Cone
Blank Cone
Posts: 14
Joined: 11 Oct 2006 20:08

Postby axiomx11 » 17 Oct 2006 16:32

I am pretty new to using VideoLAN on the commandline.

I tried:

Code: Select all

vlc screen:// :sout='#transcode{vcodec=mp2v,vb=2048}:std{access=udp,mux=ts,dst=224.0.0.0:1234}'
But that just brings up a VLC player that does not apper to be broadcasting anything. If I click 'play' it will say 'screen' in the status bar for a split second, but then disapear and stop.

I tried this from the streaming docs:

Code: Select all

vlc -vvv screen:// --sout '#duplicate{dst=standard{access=udp,mux=ts,dst=239.255.1.2,sap,name="OriginalStream"}, dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}: standard{access=udp,mux=ts,dst=239.255.1.3,sap,name="TranscodedStream"}"}'
But I get the same result.

Surely I am close?

EDIT:
This command appears to be trying, but I am getting a black screen on the client VLC

Code: Select all

vlc screen:// --sout "#transcode{vcodec=mp2v,vb=2048}: std{access=udp,mux=ts,dst=224.0.0.0:1234}"
EDIT AGAIN:

This command works, but is horrendously slow. Need to study bitrates.

Code: Select all

vlc screen:// --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}: std{access=udp,mux=ts,dst=224.0.0.0:1234}"

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 17 Oct 2006 22:18

screen:// is kind of slow. You can change the number of fps it gets. --screen-fps i think.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests