Sorry to hijack but I followed this method in order to get opencv to recognize ffmpeg other than the default binaries. I was able to manage to do this but I didn’t get a bin folder in my build/install directory? Did I mess up my build and install commands or my configs?
If you built the INSTALL target with Visual Studio then from memory there should still be a bin directory but your interested in the OpenCV libs should be in something like x64/vc17/bin
.
The best thing to do is check that the build completed successfully.
I built without Visual Studio but used Visual Studio Build Tools.
my config command was just
"cmake -D OPENCV_FFMPEG_USE_FIND_PACKAGE=ON -D BUILD_opencv_python3=ON -D PYTHON3_EXECUTABLE=C:\Users\Myo\AppData\Local\Programs\Python\Python312\python.exe … "
in cmd tools and in the build folder, im on windows 10
I cloned official opencv github
after that I built it with “cmake --build . --config Release” and then “cmake --build . --target INSTALL --config Release”
Even when I put the x64/vc17/bin
on my windows PATH it would still not find the dll when i use opencv in python.