opencv/opencv_contrib

parsing/decoding video source failed, check GPU memory is available

SangerY opened this issue · 10 comments

System information (version)
  • OpenCV => 4.10.0-pre
  • Operating System / Platform => ubuntu
  • Compiler => python3.10
  • GPU => RTX4090
Detailed description

error when decode video exceeding 1920*1080.
video_reader.cpp:174:error:(-2:Unspecified error) Parsing/Decoding video source failed, check GPU memory is available and GPU supports requested functionality. in function 'waitForDecoderInit'

Steps to reproduce
```.py
video_decoder=cv2.cudacodec.createVideoReader(path)
```

Can you provide the video source?

resolved