[FFmpeg-user] How to add 4 streams to one YouTube channel???

Rad J jradzark at gmail.com
Wed Oct 10 23:00:30 EEST 2018

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:pass at" -i "rtsp://
web1:pass at" -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://

Any idea how to make it better quality and how to add 2 more sources???

Any assistance is appreciated!

Thank you!

More information about the ffmpeg-user mailing list