Rad J
2018-08-30 16:10:58 UTC
Hello There,
I would like to stream 4 cams to YouTube using ffmpeg.
I was able to get 2 to work as follows:
ffmpeg -rtsp_transport tcp
-i "rtsp://xxxx:***@10.1.10.125:554/cam/realmonitor?channel=1&subtype=0"
-i "rtsp://xxxx:***@10.1.10.125: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
But how do I add two more below those two?
You can view the two here:
https://www.youtube.com/channel/UCxyIPYgLqtqLl2one2J7goQ/live
Thanks,
Zarks
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-use
I would like to stream 4 cams to YouTube using ffmpeg.
I was able to get 2 to work as follows:
ffmpeg -rtsp_transport tcp
-i "rtsp://xxxx:***@10.1.10.125:554/cam/realmonitor?channel=1&subtype=0"
-i "rtsp://xxxx:***@10.1.10.125: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
But how do I add two more below those two?
You can view the two here:
https://www.youtube.com/channel/UCxyIPYgLqtqLl2one2J7goQ/live
Thanks,
Zarks
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-use