Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: ‘Your platform doesn’t suppport hardware accelerated AV1 decoding.’ when i use ‘cv2.VideoCapture’ #22304

Closed
piwawa opened this issue Jul 26, 2022 · 3 comments

Comments

@piwawa
Copy link

piwawa commented Jul 26, 2022

System information (version)
  • OpenCV => 4.6.0
  • Operating System / Platform => Windows 64 Bit 21H2
  • Compiler => Visual Studio Code 1.69.2
  • opencv_videoio_ffmpeg460_64.dll
  • Python => 3.10
  • opencv-contrib-python 4.6.0.66
  • opencv-python 4.5.5.64
Detailed description

I download a '.mkv' video from YOUTUBE. When i used cv2.VideoCapture(path) with python in VSCode, it throwed a warning as follow and can't decode it. I post it in opencv forum and figure out that maybe an issue with 'opencv_videoio_ffmpegxxx_64.dll' which does not include AV1 support. Maybe update opencv_videoio_ffmpegxxx_64.dll will work.

Warning message:

[av1 @ 0000028a88053c40] Your platform doesn’t suppport hardware accelerated AV1 decoding.
[av1 @ 0000028a88053c40] Failed to get pixel format.
[av1 @ 0000028a88053c40] Missing Sequence Header.
[av1 @ 0000028a88053c40] video_get_buffer: image parameters invalid
[av1 @ 0000028a88053c40] get_buffer() failed
[av1 @ 0000028a88053c40] thread_get_buffer() failed
[av1 @ 0000028a88053c40] Failed to allocate space for current frame.
[av1 @ 0000028a88053c40] Get current frame error

@alalek
Copy link
Member

alalek commented Jul 26, 2022

duplicate of #11389

@piwawa
Copy link
Author

piwawa commented Jul 27, 2022

duplicate of #11389

Any solution?

@canghaiyunfan
Copy link

How to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants