2024-03-25, 08:50 PM
(2024-03-25, 07:40 PM)nyanmisaka Wrote: AMD's rate control in encoding H264 and HEVC is terrible. I don't think they can encode a decent 1080p HEVC stream at 4000kbps. VA-API is even worse than Windows AMF.
Especially when the content of the picture changes drastically. We should probably increase the default bitrate multiplier for AMD.
You can try playing around with these parameters in the ffmpeg command line and give your feedback.-rc_mode VBR -b:v 4359887 -maxrate 4359887 -bufsize 8719774
I have to agree here somewhat.
AMDs ratecontrol is really struggling with ratecontrol in VBR/VBV.
Increasing bufsize should help a bit.