-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
jetson orin nano 8g : cap = cv2.cudacodec.createVideoReader(file_path) cv2.error: OpenCV(4.10.0) /home/nvidia/nvidia-codec/opencv_contrib-4.10.0/modules/cudacodec/src/video_reader.cpp:190: error: (-217:Gpu API call) Unknown error code [Code = 520480200] in function 'VideoReaderImpl' #3840
Comments
The libraries in /home/nvidia/nvidia-codec/Video_Codec_SDK_12.0.16/Video_Codec_SDK_12.0.16/Lib/linux/stubs/aarch64/ are stubs (for building on systems which don't have the Nvidia driver installed), you do not want those loaded at runtime. You want the library which comes as part of your driver to be loaded. If that is on your path already you don't need to do anything and it should be picked up during your build. i.e. don't export LD_... |
I installed the Jetson system and all the software using SDK Manager, but I couldn't find the library. How should I install it |
I don't know if the Nvidia Video Codec SDK is compatible with Jetson and I don't have one to test on. All the documentation i can find mentions ffmpeg and Gstreamer but they might be using a different Jetson specific API to access hardware acceleration. If it is then
may return the location of the decoding library. Either way if the output of
is the location of your stub library its not going to work. |
Hi, I met the same problem as you, have you found a solution? |
If you have a Jetson, find out if the Video Codec SDK is supported there, if so link against it if not the |
maybe not. See |
cv2.error: OpenCV(4.10.0) /home/nvidia/nvidia-codec/opencv_contrib-4.10.0/modules/cudacodec/src/video_reader.cpp:190: error: (-217:Gpu API call) Unknown error code [Code = 520480200] in function 'VideoReaderImpl'
this my sh
The text was updated successfully, but these errors were encountered: