总是报错
[ INFO:0@1.324] global F:\opencv4.6\opencv\sources\modules\videoio\src\videoio_registry.cpp (223) cv::`anonymous-namespace'::VideoBackendRegistry::VideoBackendRegistry VIDEOIO: Enabled backends(8, sorted by priority): FFMPEG(1000); GSTREAMER(990); INTEL_MFX(980); MSMF(970); DSHOW(960); CV_IMAGES(950); CV_MJPEG(940); UEYE(930)
[ INFO:0@1.365] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (383) cv::impl::getPluginCandidates Found 3 plugin(s) for FFMPEG
[ INFO:0@1.377] global F:\opencv4.6\opencv\sources\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl:ynamicLib::libraryLoad load C:\Users\noname\AppData\Roaming\VolDev\??+??\????\???\_sys_sln_tmp\samples\vprj_win\_int\DNN_ObjectDetection\debug\x64\linker\opencv_videoio_ffmpeg460_64d.dll => FAILED
[ INFO:0@1.399] global F:\opencv4.6\opencv\sources\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl:ynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64d.dll => FAILED
[ INFO:0@1.414] global F:\opencv4.6\opencv\sources\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl:ynamicLib::libraryLoad load opencv_videoio_ffmpeg460_64.dll => OK
[ INFO:0@1.423] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (50) cv::impl:luginBackend::initCaptureAPI Found entry: 'opencv_videoio_capture_plugin_init_v1'
[ INFO:0@1.433] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (169) cv::impl:luginBackend::checkCompatibility Video I/O: initialized 'FFmpeg OpenCV Video I/O Capture plugin': built with OpenCV 4.6 (ABI/API = 1/1), current OpenCV version is '4.6.0' (ABI/API = 1/1)
[ INFO:0@1.447] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (69) cv::impl:luginBackend::initCaptureAPI Video I/O: plugin is ready to use 'FFmpeg OpenCV Video I/O Capture plugin'
[ INFO:0@1.457] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (84) cv::impl:luginBackend::initWriterAPI Found entry: 'opencv_videoio_writer_plugin_init_v1'
[ INFO:0@1.467] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (169) cv::impl:luginBackend::checkCompatibility Video I/O: initialized 'FFmpeg OpenCV Video I/O Writer plugin': built with OpenCV 4.6 (ABI/API = 1/1), current OpenCV version is '4.6.0' (ABI/API = 1/1)
[ INFO:0@1.481] global F:\opencv4.6\opencv\sources\modules\videoio\src\backend_plugin.cpp (103) cv::impl:luginBackend::initWriterAPI Video I/O: plugin is ready to use 'FFmpeg OpenCV Video I/O Writer plugin'
O
OpenCV(4.6.0) Error: No CUDA support (OpenCV was not built to work with the selected device. Please check CUDA_ARCH_PTX or CUDA_ARCH_BIN in your build configuration.) in cv::dnn::dnn4_v20220524::Net::Impl::initCUDABackend, file F:\opencv4.6\opencv\sources\modules\dnn\src\op_cuda.cpp, line 30