Hi, On Sun, 15. Aug 18:32, Adam Nielsen via ffmpeg-user wrote: > Hi all, > > I'm using the h264_v4l2m2m codec to do hardware accelerated encoding on > a Raspberry Pi. This is working well, except I am unable to set any > encoder options such as bitrate, as I cannot find how to tell ffmpeg to > set V4L2 control options. >
You can use -b:v option to set the bitrate, i.e. ./ffmpeg -i input -codec:v h264_v4l2m2m -b:v 2M out.mp4 There is a patch for documentation that I need to update. It may be useful to you: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200117034211.12142-1-andriy.gel...@gmail.com/ -- Andriy _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".