How to set desk shortcut to autostart a stream?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
sramota
New Cone
New Cone
Posts: 2
Joined: 06 Jul 2009 20:24

How to set desk shortcut to autostart a stream?

Postby sramota » 06 Jul 2009 20:32

Hey there!
I'm trying to make a Simple way for my dear father to start up VLC to stream to a Dreambox..

Basicly all I need it to do is Open Networkstream and input this line into the advanced line (Or in any way just make VLC run the line..)

The line is

Code: Select all

udp://@ :sout=#transcode{vcodec=mp2v,vb=512,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9090}}
I tried just putting --sout=#trans.... etc. into the desktop shortcut target area but with no luck,
anyone care to tell me how to do this?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to set desk shortcut to autostart a stream?

Postby VLC_help » 08 Jul 2009 18:15

Create a .bat file. So something like

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc.exe udp://@ :sout=#transcode{vcodec=mp2v,vb=512,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9090}}

sramota
New Cone
New Cone
Posts: 2
Joined: 06 Jul 2009 20:24

Re: How to set desk shortcut to autostart a stream?

Postby sramota » 10 Jul 2009 16:14

Cheers, that worked out just fine. :)

tarzzz99
New Cone
New Cone
Posts: 6
Joined: 03 Jul 2020 10:35

Re: How to set desk shortcut to autostart a stream?

Postby tarzzz99 » 08 Jul 2020 14:46

Create a .bat file. So something like

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc.exe udp://@ :sout=#transcode{vcodec=mp2v,vb=512,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9090}}
How to write that line for a http mp3-stream on port 443 ?

I've made a .bat like this:

c:\videolan\vlc\vlc.exe http://@ :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:443/} :sout-all :sout-keep

It starts a VLC window, but doesn't start to stream.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 47 guests