Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3556

Camera board • Re: Using rpicam-vid to stream to YouTube (RTMP)

$
0
0
libcamera-vid is simpler to use and can stream directly to RTMP:

Code:

libcamera-vid -t 0 --inline --width 854 --height 480 --framerate 24 --bitrate 500000 --codec libav --libav-format flv -n -o rtmp://a.rtmp.youtube.com/live2/<KEYS>

And here's a version that adds audio as well:

Code:

libcamera-vid -t 0 --inline --width 854 --height 480 --framerate 24 --bitrate 500000 --codec libav --libav-format flv --libav-audio --audio-bitrate 192000 --av-sync 200000 -n -o rtmp://a.rtmp.youtube.com/live2/<KEYS>

Statistics: Posted by phennessey — Fri Aug 30, 2024 8:26 pm



Viewing all articles
Browse latest Browse all 3556

Trending Articles