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
There were a lot of cudacodec related fixes since 4.8.0. I recommend to update OpenCV to 4.11 and try again. Please also check if stream may be player without CUDA with pure VideoCapture. The issue may happen on FFmpeg side (used by cudacodec for stream parsing, demuxing, etc).
Expected behaviour
opencv-cuda decode rstp video stream success
Actual behaviour
opencv-cuda can decode mp4 video file, but cannot decode rtsp video stream, with the fault is 【Segmentation fault (core dumped)】
Steps to reproduce
I create docker container and compile opencv-cuda:
compile result is :
NVIDIA CUDA is YES and contain NVCUVID
main code
1 - decode mp4 video file
the result is
2 - decode rtsp video stream
the result is
error is in 【_, img_gpu = cap.nextFrame()】
The text was updated successfully, but these errors were encountered: