e00E / obs-amf

GNU General Public License v2.0
88 stars 13 forks source link

Feature addition request: "Pre-Analysis"; related to Issue #21 #22

Open cs9kc opened 2 years ago

cs9kc commented 2 years ago

This request is related to issue #21.

AMD have a new feature, named "Pre-Analysis". https://github.com/GPUOpen-LibrariesAndSDKs/AMF/blob/master/amf/doc/AMF_Video_PreAnalysis_API.pdf

This feature only works in Peak-Constrained Variable Bitrate Mode, per the documentation. It uses AMF_VIDEO_ENCODER_PRE_ANALYSIS_ENABLE as seen on line 162 in VideoEncoderVCE.h, and functions similar to Nvidia's Lookahead + Scenecut. https://github.com/GPUOpen-LibrariesAndSDKs/AMF/blob/master/amf/public/include/components/VideoEncoderVCE.h

This feature also exists for H265/HEVC as well.

If this could be added in the future as a context item when Peak-Constrained VBR is enabled, I would appreciate it!