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

Graphics, sound and multimedia • h264_v4l2m2m Constant Rate Factor

$
0
0
Does anyone know how to set the CRF for the h264_v4l2m2m encoder?
The hardware encoder has very few options compared the software encoder.
I'm not sure if that is because there are hardware limitations or just if these features have not been implemented.
Any help is appreciated! :D

Code:

pi@raspberrypi:~ $ ffmpeg -hide_banner -h encoder=libx264 | wc -l86pi@raspberrypi:~ $ ffmpeg -hide_banner -h encoder=h264_v4l2m2mEncoder h264_v4l2m2m [V4L2 mem2mem H.264 encoder wrapper]:    General capabilities: delay hardware     Threading capabilities: noneh264_v4l2m2m_encoder AVOptions:  -num_output_buffers <int>        E..V....... Number of buffers in the output context (from 2 to INT_MAX) (default 16)  -num_capture_buffers <int>        E..V....... Number of buffers in the capture context (from 4 to INT_MAX) (default 4)pi@raspberrypi:~ $ ffmpeg -hide_banner -h encoder=h264_v4l2m2m | wc -l7
Thanks!

Statistics: Posted by ccwyatt — Wed Oct 16, 2024 12:40 am



Viewing all articles
Browse latest Browse all 5251

Trending Articles