0
it look like ffmpeg and h264_vaapi codec are broken in the newest version 4 because they don’t honor the -qp setting. -qp with any value don’t change the bitrate which is terrible high. Only setting the bitrate option directly -b works. Does someone know a way around it.
Problem could be replicated with simple command: ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf ‘format=nv12,hwupload’ -c:v h264_vaapi -qp 30 output.mp4