YouTube Streaming Issues - How to stream 4 channels to 1 YouTube?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

YouTube Streaming Issues - How to stream 4 channels to 1 YouTube?

Rad J
I'm getting lot's of errors while streaming and YouTube is complaining
about the frames and format, how can I adjust those?

[image: image.png]

https://www.screencast.com/t/Jdr7TdkL5

https://www.screencast.com/t/xrDfuJGtsT

I have also changed the resolution to 1080p and it looks nice now:

4 Streams to 1 YouTube channel:

ffmpeg -rtsp_transport tcp
-i "rtsp://xxx:xxxx@10.1.10.125:554/cam/realmonitor?channel=1&subtype=0"
-i "rtsp://xxx:xxxx@10.1.10.125:554/cam/realmonitor?channel=2&subtype=0"
-i "rtsp://xxx:xxxx@10.1.10.125:554/cam/realmonitor?channel=3&subtype=0"
-i "rtsp://xxx:xxxx@10.1.10.125:554/cam/realmonitor?channel=4&subtype=0"
-f lavfi -i anullsrc
-filter_complex "
[0:v] setpts=PTS-STARTPTS, scale=1920x1080,setsar=1[upperleft];
[1:v] setpts=PTS-STARTPTS, scale=1920x1080,setsar=1[upperright];
[2:v] setpts=PTS-STARTPTS, scale=1920x1080,setsar=1[bottomleft];
[3:v] setpts=PTS-STARTPTS, scale=1920x1080,setsar=1[bottomright];
[upperleft][upperright]hstack[topbase];
[bottomleft][bottomright]hstack[bottombase];
[topbase][bottombase]vstack[base]"
-map [base] -map 4
-f flv rtmp://x.rtmp.youtube.com/live2/xxxx:xxxx-xxxx:xxxx

I would prefer to to use one stream as that's better quality however how
can I do it to one YouTube channel?

I tried doing the Event thing and I have added 4 cams to that, but it does
not work....

[image: image.png]

Any assistance is appreciated!

Thanks,
Rad

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

image.png (159K) Download Attachment
image.png (290K) Download Attachment