Hi all,
I've a project to convert a RTSP-stream to HTTP MP3 to play the sound on my Google speaker.
When I do it manualy, it works fine. See this YouTube how it works fine on my computer.
https://www.youtube.com/watch?v=ao3b_JUN_iU
You see in the end the following information:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:8089/} :no-sout-all :sout-keep
I want to make a script to run but I can't figure it out.
In the CLI i've tried:
vlc :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:8089/} :no-sout-all :sout-keep
vlc -vvv input_stream :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:8089/} :no-sout-all :sout-keep
vlc -vvv input_stream --sout '#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:8089/}
And I've checked https://wiki.videolan.org/Documentation ... _streaming
But I can't figure it out.
What is the correct command for me to start streaming, so it works the same as in the YouTube?
Many thanks.