I have a USB HDMI capture dongle that works properly with OBS and the Windows camera app where it will capture 1920x1080 at 30FPS. OpenCV cap() is however stuck at 5 FPS.
Any ideas?
OS: Windows 11
OpenCV: 4.8.0
CUDA: 12.2
Built With: Ninja
Build Cmd:
C:\Program Files\CMake\bin\cmake.exe" -B"%openCvBuild%/" -H"%openCvSource%/" -G"%generator%" -DCMAKE_BUILD_TYPE=%buildType% -DOPENCV_EXTRA_MODULES_PATH=“%openCVExtraModules%/” ^
-DBUILD_opencv_world=ON ^
-DWITH_FFMPEG=ON ^
-DWITH_CUDA=ON -DCUDA_TOOLKIT_ROOT_DIR=“C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.2” -DCUDA_FAST_MATH=ON -DWITH_CUBLAS=ON -DCUDA_ARCH_BIN=6.1 -DWITH_NVCUVID=ON ^
-DWITH_OPENGL=ON ^
-DWITH_MFX=ON ^
-DWITH_FFMPEG=ON