Neither "PPAdaptiveFilterEnable" or "EnablePreEncodeFilter" enable the AMF Pre-Processing Component
Describe the bug AMF says "AMF_INVALID_ARG" when "PPAdaptiveFilterEnable" or "EnablePreEncodeFilter" are attempted to be enabled
To Reproduce Steps to reproduce the behavior in OBS Studio 28.1.2:
- Set the following properties for the "AMD HW H.264" encoder
- CBR, 4000Kbps, 2s, Quality, High, 1 B-frames
RateControlPreanalysisEnable=1 BReferenceEnable=true EnablePreAnalysis=true PASceneChangeDetectionEnable=false PAHighMotionQualityBoostMode=1 PAPerceptualAQMode=1 PACAQStrength=2 PAFrameSadEnable=true DeBlockingFilter=true EnablePreEncodeFilter=true
or
RateControlPreanalysisEnable=1 BReferenceEnable=true EnablePreAnalysis=true PASceneChangeDetectionEnable=false PAHighMotionQualityBoostMode=1 PAPerceptualAQMode=1 PACAQStrength=2 PAFrameSadEnable=true DeBlockingFilter=true PPAdaptiveFilterEnable=true
- Set OBS Studio's canvas in Settings -> Video to 1080p at 30fps
- Start Encoding
- End Encoding
- Check OBS Studio Current Log File for:
- "[texture-amf-h264: 'advanced_video_recording'] Failed to set property 'EnablePreEncodeFilter': AMF_INVALID_ARG"
or
- "[texture-amf-h264: 'advanced_video_recording'] Failed to set property 'PPAdaptiveFilterEnable': AMF_INVALID_ARG"
Setup (please complete the following information):
- OS: Windows 11 21H2
- Driver Version 22.11.1
- GPU: AMD Radeon RX 6900XT
- Which component has the issue: AMD HW H.264 Debug Log (please upload or paste):
"EnablePreEncodeFilter=True" Log: EnablePreEncodeFilter=true .txt
"PPAdaptiveFilterEnable=true" Log: PPAdaptiveFilterEnable=true.txt
Expected behavior I expect the Pre-Processing Component to enable but it appears neither command from Pre-Processing Document or Pre-Processing Components Page appears valid
Additional context I've also tried switching the commands' "Enable" portion from their original positions to see if maybe the documentation and commands page were incorrect to no avail.
The pre-encode filter is not currently integrated into OBS. Please stay tuned.
PreAnalysis is embedded in the encoder and can be set via a string option in OBS but the PreProcessing component is separate and needs to be integrated explicitly.
Will stay tuned, thank you for the response.
Are there still any plans for implementing this in OBS? currently still unable to use the component on OBS 30.
Sorry for the delay. Included into plans.