Hi There, I was able to find a way to stream 2 channels to one YouTube channel using the following command line:
ffmpeg -rtsp_transport tcp -i "rtsp:// web1:[email protected]:554/cam/realmonitor?channel=1&subtype=0" -i "rtsp:// web1:[email protected]:554/cam/realmonitor?channel=2&subtype=0" -f lavfi -i anullsrc -filter_complex "[0:v] setpts=PTS-STARTPTS, scale=800x448,setsar=1[upperleft]; [1:v] setpts=PTS-STARTPTS, scale=800x448,setsar=1[upperright]; [upperleft][upperright]hstack[base]" -map [base] -map 2 -f flv rtmp:// x.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx Any idea how to make it better quality and how to add 2 more sources??? Any assistance is appreciated! Thank you! -Zark _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
