Hello-
I am able to stream audio using vlc 3.0.6 from a Win10 machine using the GUI set up as below:
Media
Stream
Capture device
Capture mode- direct show
video device- none
Audio device- stereo mix
Stream output- source dshow:\\
Destination ---HTTP
Port 35535
path /radio.mp3
transcoding options - actvate transcoding checked
profile Audio-MP3
Stream all elementady streams
Generated string-:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:duplicate{dst=http{mux=mp3,dst=:8080/},dst=display} :sout-all :sout-keep
stream (success!)
What I want to do is save this config so I do not have to re-enter all the parameters each time.
As I understand it, the only way to do that is with a bat file.
This is what my bat file looks like:
start vlc -vvv input_stream --sout '#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:standard{access=http,mux=ogg,dst=192.168.1.54:65535/radio.mp3}'
vlc starts but no streaming.
I do not know how to set the input,
from the GUI I pulled out these input statements:
dshow-adev: Stereo Mix (Realtek High Definition Audio)
dshow debug: asking for device: Stereo Mix (Realtek High Definition Audio)
dshow debug: asked for Stereo Mix (Realtek High Definition Audio), binding to Stereo Mix (Realtek High Definition Audio)
main debug: `dshow://' successfully opened
main debug: adding a new sout input for `s16l` (sout_input: 000001a860894370)
main debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
I have not been able to find a way to set the input can anyone help?
Also not sure if my -sout is correct.
Thanks DAN