You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ubuntu24下运行pyscenedetect报错 Your platform doesn't support hardware accelerated AV1 decoding. #533
I thought about it some more, and I realized this error is from the FFmpeg library bundled inside the opencv-python wheel:
Detected: 0 | Progress: 0%| | 0/38967 [00:00<?, ?frames/s][av1 @ 0x5e57f6918f80] Your platform doesn't support hardware accelerated AV1 decoding.
[av1 @ 0x5e57f6918f80] Failed to get pixel format.
[av1 @ 0x5e57f6918f80] Get current frame error
It does not use your system ffmpeg, so the system build does not help here.
FFmpeg's built-in av1 decoder only works with hardware acceleration. When libavcodec is compiled without a software AV1 decoder (libdav1d or libaom), FFmpeg falls back to that built-in decoder and fails with "Your platform doesn't support hardware accelerated AV1 decoding".
Newer versions of the package have fixed this I believe:
Activity
Breakthrough commentedon Oct 24, 2026
Can you provide the output of
scenedetect --version? Thanks!Breakthrough commentedon Oct 26, 2026
Try updating
opencv-python.I thought about it some more, and I realized this error is from the FFmpeg library bundled inside the opencv-python wheel:
It does not use your system ffmpeg, so the system build does not help here.
FFmpeg's built-in
av1decoder only works with hardware acceleration. When libavcodec is compiled without a software AV1 decoder (libdav1d or libaom), FFmpeg falls back to that built-in decoder and fails with "Your platform doesn't support hardware accelerated AV1 decoding".Newer versions of the package have fixed this I believe:
You can also use the PyAV backend instead if you do
pip install avandscenedetect -i video.mkv --backend pyav.