Repository navigation
Conversation
Identify H.264, HEVC, and AV1 AMF encoder names and report whether each encoder is registered in the linked FFmpeg library. Add unit tests covering encoder classification, invalid names, and registration detection. This is a detection-only foundation for issue OpenShot#994; it does not establish GPU availability or enable AMD hardware encoding.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add AMD AMF encoder identification and FFmpeg registration
detection as an initial contribution toward Issue #994.
Changes
h264_amf,hevc_amf, andav1_amf.ffmpeg_is_amf_encoder()to identify AMF encoder names.ffmpeg_amf_encoder_is_compiled()to check whether arecognized AMF encoder is registered in the linked FFmpeg library.
FFmpeg encoder registration.
Validation
in 5 test cases.
Scope and limitations
This is a detection-only contribution.
FFmpeg encoder registration does not establish that an AMD GPU,
driver, or working AMF runtime is available.
This PR does not implement AMF hardware initialization,
frame transfer, export integration, or successful GPU encoding.
Those capabilities require additional development and
hardware-based testing.
Related issue
Progress toward #994.
This PR does not fully resolve #994.