-
Notifications
You must be signed in to change notification settings - Fork 151
Description
Describe the bug
With my testing of the encoder (visual test), it feels like AMF_VIDEO_ENCODER_ENABLE_VBAQ has a problem with I-frames. When there is motion in the video and an I-frame is inserted, the entire frame becomes blurred. So either VBAQ cannot properly handle I-frames (causing the frame to blur completely), or there is a problem with the VBAQ implementation.
In my test, I changed the keyframe interval from 2s
When the image is static, there is no problem (just a little blur, barely noticeable).
But when moving, at the moment an I-frame is inserted, the image becomes very blurry.
To Reproduce
Steps to reproduce the behavior using obs:
- Set the following properties 'MaxNumRefFrames=3 RateControlPreanalysisEnable=1 EnableVBAQ=false HighMotionQualityBoostEnable=true ' when test the VBAQ false
- start the encoding with resolution=1920*1080 bitrates=8000kbps the test.mkv (the test.mkv has fix QP=16 for high quality )
- test with VBAQ following properties 'MaxNumRefFrames=3 RateControlPreanalysisEnable=1 EnableVBAQ=true HighMotionQualityBoostEnable=true '
- start the encoding resolution=1920*1080 bitrates=8000kbps test.mkv
Setup:
- OS: Windows 11 24h2
- Driver Version 25.9.1
- GPU RX 5500 XT
- Which component has the issue Encoder
Expected behavior
When VBAQ is enabled, I-frames should remain clear (similar to when VBAQ is disabled), and the entire frame should not become blurred.
Additional context
This problem is consistent at both high and low bitrates — the blur issue always occurs.