Page 1 of 1

How to set desk shortcut to autostart a stream?

Posted: 06 Jul 2009 20:32
by sramota
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?

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

Posted: 08 Jul 2009 18:15
by VLC_help
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}}

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

Posted: 10 Jul 2009 16:14
by sramota
Cheers, that worked out just fine. :)

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

Posted: 08 Jul 2020 14:46
by tarzzz99
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.