Skip to content

Fix VideoCapture not able to read AV1 encoded files on Linux#1209

Open
ladaapp wants to merge 1 commit intoopencv:4.xfrom
ladaapp:add_linux_av1_decoding
Open

Fix VideoCapture not able to read AV1 encoded files on Linux#1209
ladaapp wants to merge 1 commit intoopencv:4.xfrom
ladaapp:add_linux_av1_decoding

Conversation

@ladaapp
Copy link

@ladaapp ladaapp commented Feb 17, 2026

Hi, this is an attempt to fix #908 as AV1 encoded files are pretty common nowadays. My assumption is that there is no av1 decoder available in the official wheel as the same works just fine using opencv-python from ArchLinux build against their ffmpeg build.

On Windows av1 decoding works but not on Linux using the official wheels. I am not sure but I assume there is some kind of fallback mechanism which then uses Windows-native frameworks for decoding which is not available on Linux hence it fails on Linux using ffmpeg backend.

Didn't adjust the arm images yet, wanted to get some feedback first if I'm going in the right direction here. Waiting for the CI to run through to create a wheel I can test if this actually fixes the issue 🤞
edit: looks like CI doesn't run without approval by maintainers, so changed to ready-for-review

@ladaapp ladaapp marked this pull request as draft February 17, 2026 17:47
@ladaapp ladaapp marked this pull request as ready for review February 17, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem: Your platform doesn't suppport hardware accelerated AV1 decoding. Failed to get pixel format.

1 participant