Last active
February 18, 2025 15:11
-
-
Save medvedev/f0e3df1a4e4919221904c598af4fd1e6 to your computer and use it in GitHub Desktop.
Stream video (no audio) to Youtube with ffmpeg from radxa zero 3 + radxa camera 8m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -f v4l2 -i /dev/video-camera0 \ | |
-f lavfi -i anullsrc=r=44100:cl=stereo \ | |
-s 1280x720 \ | |
-c:v h264_rkmpp -rc_mode AVBR -b:v 2M -minrate 1500k -maxrate 4M \ | |
-r 25 -g 50 \ | |
-pix_fmt yuv420p \ | |
-c:a aac -b:a 64k \ | |
-profile:v main \ | |
-bufsize 512k \ | |
-vf vflip \ | |
-level 5.1 \ | |
-f flv rtmp://a.rtmp.youtube.com/live2/<key> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment