At startup:
cvlc -vvv 'Bootstrap Tutorial.mp4' --sout '#rtp{dst=rtmp://a.rtmp.youtube.com/live2,name=pa1p-8c4m-zzvp-5j6t,mux=ts}'
I get this debug log .
With an additional indication of 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}'
How to stream video and audio to YouTube using VLC from a terminal?
Resources I looked at:
i youtube vlc.
:
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}'
. youtube h264 ab 128, FLV -.
VLC "${PATHTOFILE}" --sout '#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:std{access=rtmp,mux=ffmpeg{mux=flv},dst=rtmp://a.rtmp.youtube.com/live2/'${STREAMID}
YouTube Live VLC FFMPEG
Source: https://habr.com/ru/post/1659852/More articles:Finding text in a PHP array - arraysCreate a constant iterator and a non-constant iterator - c ++Understanding a word destroys a list of keys - pythonDifference between default value (int?) Vs (int?) Null - c #Specifying a JSON Name for the protobuf - go ExtensionReact.Component.defaultProps objects overridden, not merged? - ecmascript-6How can I properly increase C ++ 11 std :: atomic? - c ++Problems starting VLC HTTP stream with servlet - httpWeblogic 12c: How to pass an “active profile” to a Spring boot application? - springПочему служба push push apple иногда дает мне ошибку 500? - node.jsAll Articles