Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to Play rtsp stream using cv::cudacodec::VideoReader

OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66

OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 143 terminate called after throwing an instance of 'cv::Exception'

what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:143: error: (-210) Unsupported video source in function nextFrame

I looked at the solution https://github.com/opencv/opencv/issues/9739 and had exactly the same issue. Unfortunately, the problem wasn't resolved using the given solution.

As mentioned in the link above I had the same issue that, Ffmpeg detected the stream as YUVJ420P so I made the changes mentioned in the link. However I still get the same error.

When I run gdb on opencv/modules/cudacodec/src/ffmpeg_video_source.cpp,

(gdb) n OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66 [New Thread 0x7fffe1328700 (LWP 31246)] [New Thread 0x7fffe0b27700 (LWP 31247)] [New Thread 0x7fffdba98700 (LWP 31248)] [Thread 0x7fffdba98700 (LWP 31248) exited] 22 if (!d_reader->nextFrame(d_frame))

(gdb) n OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 128 terminate called after throwing an instance of 'cv::Exception' what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:128: error: (-210) Unsupported video source in function nextFrame

Any help would be greatly appreciated!!!

Unable to Play rtsp stream using cv::cudacodec::VideoReader

OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66

OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 143 terminate called after throwing an instance of 'cv::Exception'

what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:143: error: (-210) Unsupported video source in function nextFrame

I looked at the solution https://github.com/opencv/opencv/issues/9739 and had exactly the same issue. Unfortunately, the problem wasn't resolved using the given solution.

As mentioned in the link above I had the same issue that, Ffmpeg detected the stream as YUVJ420P so I made the changes mentioned in the link. However I still get the same error.

When I run gdb on opencv/modules/cudacodec/src/ffmpeg_video_source.cpp,

(gdb) n OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66 [New Thread 0x7fffe1328700 (LWP 31246)] [New Thread 0x7fffe0b27700 (LWP 31247)] [New Thread 0x7fffdba98700 (LWP 31248)] [Thread 0x7fffdba98700 (LWP 31248) exited] 22 if (!d_reader->nextFrame(d_frame))

(gdb) n OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 128 terminate called after throwing an instance of 'cv::Exception' what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:128: error: (-210) Unsupported video source in function nextFrame

Any help would be greatly appreciated!!!

Unable to Play rtsp stream using cv::cudacodec::VideoReader

OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66

OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 143 terminate called after throwing an instance of 'cv::Exception'

what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:143: error: (-210) Unsupported video source in function nextFrame

I looked at the solution https://github.com/opencv/opencv/issues/9739 and had exactly the same issue. Unfortunately, the problem wasn't resolved using the given solution.

As mentioned in the link above I had the same issue that, Ffmpeg detected the stream as YUVJ420P so I made the changes mentioned in the link. However I still get the same error.

When I run gdb on opencv/modules/cudacodec/src/ffmpeg_video_source.cpp,

(gdb) n OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66 [New Thread 0x7fffe1328700 (LWP 31246)] [New Thread 0x7fffe0b27700 (LWP 31247)] [New Thread 0x7fffdba98700 (LWP 31248)] [Thread 0x7fffdba98700 (LWP 31248) exited] 22 if (!d_reader->nextFrame(d_frame))

(gdb) n OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 128 terminate called after throwing an instance of 'cv::Exception' what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:128: error: (-210) Unsupported video source in function nextFrame

Any help would be greatly appreciated!!!

Unable to Play rtsp stream using cv::cudacodec::VideoReader

OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66

OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 143 terminate called after throwing an instance of 'cv::Exception'

what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:143: error: (-210) Unsupported video source in function nextFrame

I looked at the solution https://github.com/opencv/opencv/issues/9739 and had exactly the same issue. Unfortunately, the problem wasn't resolved using the given solution.

As mentioned in the link above I had the same issue that, Ffmpeg detected the stream as YUVJ420P so I made the changes mentioned in the link. However I still get the same error.

When I run gdb on opencv/modules/cudacodec/src/ffmpeg_video_source.cpp,

(gdb) n OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66 [New Thread 0x7fffe1328700 (LWP 31246)] [New Thread 0x7fffe0b27700 (LWP 31247)] [New Thread 0x7fffdba98700 (LWP 31248)] [Thread 0x7fffdba98700 (LWP 31248) exited] 22 if (!d_reader->nextFrame(d_frame))

(gdb) n OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 128 terminate called after throwing an instance of 'cv::Exception' what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:128: error: (-210) Unsupported video source in function nextFrame

Any help would be greatly appreciated!!!

Unable to Play rtsp stream using cv::cudacodec::VideoReader

OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66

OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 143 terminate called after throwing an instance of 'cv::Exception'

what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:143: error: (-210) Unsupported video source in function nextFrame

I looked at the solution https://github.com/opencv/opencv/issues/9739 and had exactly the same issue. Unfortunately, the problem wasn't resolved using the given solution.

As mentioned in the link above I had the same issue that, Ffmpeg detected the stream as YUVJ420P so I made the changes mentioned in the link. However I still get the same error.

When I run gdb on opencv/modules/cudacodec/src/ffmpeg_video_source.cpp,

(gdb) n OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66 [New Thread 0x7fffe1328700 (LWP 31246)] [New Thread 0x7fffe0b27700 (LWP 31247)] [New Thread 0x7fffdba98700 (LWP 31248)] [Thread 0x7fffdba98700 (LWP 31248) exited] 22 if (!d_reader->nextFrame(d_frame))

(gdb) n OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 128 terminate called after throwing an instance of 'cv::Exception' what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:128: error: (-210) Unsupported video source in function nextFrame

Any help would be greatly appreciated!!!

Unable to Play rtsp stream using cv::cudacodec::VideoReader

OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66

OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 143 terminate called after throwing an instance of 'cv::Exception'

what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:143: error: (-210) Unsupported video source in function nextFrame

I looked at the solution https://github.com/opencv/opencv/issues/9739 and had exactly the same issue. Unfortunately, the problem wasn't resolved using the given solution.

As mentioned in the link above I had the same issue that, Ffmpeg ffmpeg detected the stream as YUVJ420P (I found this out using ffprobe) so I made the changes mentioned in the link. However I still get the same error.

When I run gdb on opencv/modules/cudacodec/src/ffmpeg_video_source.cpp,

(gdb) n OpenCV Error: Gpu API call (CUDA_ERROR_FILE_NOT_FOUND [Code = 301]) in CuvidVideoSource, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/cuvid_video_source.cpp, line 66 [New Thread 0x7fffe1328700 (LWP 31246)] [New Thread 0x7fffe0b27700 (LWP 31247)] [New Thread 0x7fffdba98700 (LWP 31248)] [Thread 0x7fffdba98700 (LWP 31248) exited] 22 if (!d_reader->nextFrame(d_frame))

(gdb) n OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in nextFrame, file /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp, line 128 terminate called after throwing an instance of 'cv::Exception' what(): /usr/deepak/ffmpeg-gpu/opencv/modules/cudacodec/src/video_reader.cpp:128: error: (-210) Unsupported video source in function nextFrame

Any help would be greatly appreciated!!!