Page 1 of 1

Autostart VLC streaming ??

Posted: 09 Jul 2020 09:06
by tarzzz99
Hello.

I've read all about autostart VLC, here in the forum, to output a stream, but i can't see a solution ??

It works well for me making in manually, and i got this line at the end of the wizard:

:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:80/} :no-sout-all :sout-keep

But how to autostart it in Windows.

I've made a .bat-file like:

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

But... it just starts a VLC-windows but doesn't start to stream.

Is there a way to do yhis ?

Regards

/tarzzz99

Re: Autostart VLC streaming ??

Posted: 10 Jul 2020 09:05
by tarzzz99
Hmmm.. strange that nobody answer this. Well I SOLVED it !

I just had to add dshow:// at the begining, so, a -bat-file with this string autostarts a hhtp mp3-stream:

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

Re: Autostart VLC streaming ??

Posted: 10 Jul 2020 11:22
by #thweiss
In your Command Line is no Streaming-Source and no Video-Track.

Have a look into the following Topic "Opening a https stream from the commandline".
- https://forum.videolan.org/viewtopic.php?f=14&t=154123

Search the Videolan-Forum for "Command Line" "CLi" or "CMD" to find more solutions.

Re: Autostart VLC streaming ??

Posted: 10 Jul 2020 13:10
by tarzzz99
In your Command Line is no Streaming-Source and no Video-Track.

Have a look into the following Topic "Opening a https stream from the commandline".
- https://forum.videolan.org/viewtopic.php?f=14&t=154123

Search the Videolan-Forum for "Command Line" "CLi" or "CMD" to find more solutions.
Nope, as i wrote, it's a mp3-stream, no video.

It works very well, althought no spec. of source. The input is sound from the Line-In connector on a soundcard on the PC.

/tarzzz99