AMD VAAPI b-frame "warble/shake" effect
System information
- OS: "Arch Linux"
- GPU: 680m and RX 7700s
- Kernel version: 6.11.6-zen1-1-zen ZEN SMP PREEMPT_DYNAMIC
- Mesa version: Mesa 24.3.0-devel (git-5068a6b4)
- Desktop manager and compositor: KDE Plasma 6.2
Describe the issue
When enabling b-frames, the encode seems to have a warbling effect on it. This happens with any b-frame amount over 0 and increases in intensity as you increase the b-frame count. The only way to not have it is to simply not use b-frames.
this issue was posted on the obs git by someone else with a more pronounced version but i couldnt find a matching issue here and OBS folks seem to believe its a mesa issue. I tested on my system to see if i had this issue and i do as well.
link to the obs issue here
https://github.com/obsproject/obs-studio/issues/11417
Any extra information would be greatly appreciated
OBS Encoder settings for this recording
[FFmpeg VAAPI encoder: 'advanced_video_recording'] settings:
device: /dev/dri/by-path/pci-0000:78:00.0-render
rate_control: CBR
profile: 100
level: 42
qp: 0
bitrate: 4000
maxrate: 4000
keyint: 60
width: 1280
height: 720
b-frames: 2
ffmpeg opts: quality=12