user25683: My Objective : To Transcode mjpeg stream from ip camera to youtube using ffmpeg
My Command : 
ffmpeg -re -f mjpeg -i "http://192.168.0.101" -c copy -movflags +faststart  -vcodec libx264 -f flv "rtmp://a.rtmp.youtube.com/live2/<key>"

My Reference for above effort : Streaming Guide
But when i try to run the command, it seems something is being transcoded and transmitted but youtube live i am not able to see anything, below is the screenshot of command output


user1871: Last time I checked, Youtube requires an audio stream even if there is no input audio, so supply a dummy one.
ffmpeg -re -f mjpeg -i "http://192.168.0.101" -f lavfi -i anullsrc -c:v libx264 -g 60 -c:a aac -ar 44100 -ac 2 -f flv "rtmp://a.rtmp.youtube.com/live2/<key>"


25683: <p>My Objective : To Transcode mjpeg stream from ip camera to youtube using ffmpeg</p>

<p>My Command : </p>

<pre><code>ffmpeg -re -f mjpeg -i "http://192.168.0.101" -c copy -movflags +faststart  -vcodec libx264 -f flv "rtmp://a.rtmp.youtube.com/live2/&lt;key&gt;"
</code></pre>

<p>My Reference for above effort : <a href="https://trac.ffmpeg.org/wiki/StreamingGuide#HTTPLiveStreamingandStreamingwithmultiplebitrates" rel="nofollow noreferrer">Streaming Guide</a></p>

<p>But when i try to run the command, it seems something is being transcoded and transmitted but youtube live i am not able to see anything, below is the screenshot of command output</p>

<p><a href="https://i.stack.imgur.com/4KivS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4KivS.png" alt="enter image description here"></a></p>
 1871: <p>Last time I checked, Youtube requires an audio stream even if there is no input audio, so supply a dummy one.</p>

<pre><code>ffmpeg -re -f mjpeg -i "http://192.168.0.101" -f lavfi -i anullsrc -c:v libx264 -g 60 -c:a aac -ar 44100 -ac 2 -f flv "rtmp://a.rtmp.youtube.com/live2/&lt;key&gt;"
</code></pre>
