Create a VLC Command to pipe a live RTMP feed to Icecast on a CentOS server
£20-250 GBP
Closed
Posted over 9 years ago
£20-250 GBP
Paid on delivery
I have live streams going through NGINX's RTMP module. I have NGINX automatically transcode a copy of that in to HLS via FFMPEG so that I have a simultaneous mobile stream. I would also like to give it a command so that VLC will send the audio of the live stream to Icecast.
Icecast is installed on the same server and working.
VLC is also installed and will make the connection to Icecast, but does not stream the audio properly.
This is the kind of command that I am trying...
vlc -vvv rtmp://localhost/live/show --no-sout-video :sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=shout,mp3,dst=source:ice@localhost:8000/live} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep
You will need enough feedback for me to be satisfied that you can be trusted on the server to conduct testing and produce a working command.
Also, I am open to other suggestions if you feel it would be easier. VLC is only installed for this purpose, and I am happy to use something else if it simplifies this task.
Hello :)
I am administrator of network and linux servers in ISP company.
I setup many servers with nginx rtmp module. I know configuration good.
I also made already one project inside freelancer.com about streaming, base on nginx.
I have some ideas to solve your problem, if you can only give your rtmp stream to public IP. So I will test everything on my server to not test on yours. I will install Icecast on my server, try to take this audio from your stream and transport it to Icecast. Then write you when it is ready. You will take me to project and I will do it for you in 1h probably with tested everything before.
I should finish testing in 24h.
Waiting for your reply
Michał Paduch
I will help you to get this working. Having enough experience in NGIX, VLC, IceCast, FFMPEG.
I will get this working. It will pull audio from input put stream, and push to iceCast. I am looking forward to help on this issue.
I used to be a heavy user of nginx-rtmp for my own company. Developed several things related to that solution like a video switcher on rtmp streams, authentification based on remote API server, thumbnails generation of video streams.
I have something in mind to actually perform the work. I'm curious about this, will test anyway right away on a CentOS VM.
Is a bash script (& exec_publish) enough or you need a more complex thing as a binary?