When running:
cvlc -vvv 'Bootstrap Tutorial.mp4' --sout '#rtp{dst=rtmp://a.rtmp.youtube.com/live2,name=pa1p-8c4m-zzvp-5j6t,mux=ts}'
I get this debugging log.
When additionally specifying the access method:
cvlc -vvv 'Bootstrap Tutorial.mp4' --sout '#std{access=rtmp,dst=rtmp://a.rtmp.youtube.com/live2/pa1p-8c4m-zzvp-5j6t,mux=ts}'
I get this debugging log.
How do I stream live video and audio to YouTube using VLC from terminal?
Resources I looked into:
i transmitted video to youtube live from terminal using vlc.
Following is the command:
cvlc -vvv FILE016.MP4 --sout '#transcode{vcodec=h264,scale=Auto,width=1280,height=720,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://a.rtmp.youtube.com/live2/stream-name}'
Note , youtube sometimes shows a message to use h264 as transcoder and ab to 128 when i tried to transcode video to flv on a low speed internet connection.