i have a centos machine and ffmpeg running controlled by the supervisord
i want to live stream my two ip cameras to youtube (one output stream). See the attached layout schema, the second camera is in a smaller window and a little rotated. My two ip cameras provide rtsp stream (as all ip cameras).I can provide rtmp or mtu8 as well.
With my code the ffmpeg sends the stream to youtube for only 1 minute. Then it stops
You have to play with the settings and provide the correct arguments. In case the connection or the stream stops the ffmpeg will have to run again so the live video stream to play smoothly on youtube 24h per day. Thank you