Code: Select all
cvlc -vvv 'Bootstrap Tutorial.mp4' --sout '#rtp{dst=rtmp://a.rtmp.youtube.com/live2,name=pa1p-8c4m-zzvp-5j6t,port=1935,mux=ts}'
when run
Code: Select all
cvlc -vvv 'Bootstrap Tutorial.mp4' --sout '#std{access=rtmp,dst=rtmp://a.rtmp.youtube.com/live2/pa1p-8c4m-zzvp-5j6t,port=1935,mux=ts}'
Also on stackoverflow: Question no. 40428837how to stream live video and audio to youtube using vlc from terminal.
http://stackoverflow.com/questions/4042 ... m-terminal
Resources followed:
Code: Select all
1. https://blog.vucica.net/2015/08/streaming-to-youtube-live-with-vlc-and-ffmpeg.html
2. https://forum.videolan.org/viewtopic.php?f=14&t=130520&p=436913&hilit=rtmp+youtube#p436913
3. http://stackoverflow.com/questions/18200617/problems-starting-vlc-http-stream-with-servlet
4. https://forum.videolan.org/viewtopic.php?f=4&t=112221&p=380232&hilit=rtmp+youtube#p380232