Navi10: Bitrate based encoding with VAAPI/RadeonSI unusable
When I use FFMPEG transcoding with VAAPI on my Radeon5700/Navi10 card, bitrate based encoding results in a completely garbled video.
Software versions: mesa-git 1:20.0.0_devel.117651.3b349417 Kernel 5.4.2 ffmpeg 1:4.2.1
FFMPEG command: ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i infile -vf 'format=nv12|vaapi,hwupload' -c:v hevc_vaapi -b:v 4000k -f matroska outfile
Please let me know if/what additional information is needed.