# Get opencv to recognize ffmpeg other than the default binaries

**URL:** <https://forum.opencv.org/t/get-opencv-to-recognize-ffmpeg-other-than-the-default-binaries/17504>\
**Category:** Uncategorized\
**Tags:** ffmpeg, build, videoio\
**Created:** [May 2, 2024, 1:34am UTC](https://forum.opencv.org/t/get-opencv-to-recognize-ffmpeg-other-than-the-default-binaries/17504 "2024-05-02T01:34:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meowmeowcat](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@meowmeowcat](https://forum.opencv.org/u/meowmeowcat)\
**Post date:** [May 2, 2024, 1:34am UTC](https://forum.opencv.org/t/get-opencv-to-recognize-ffmpeg-other-than-the-default-binaries/17504/1 "2024-05-02T01:34:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![cudawarped](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@cudawarped](https://forum.opencv.org/u/cudawarped)\
**Post date:** [May 2, 2024, 4:28am UTC](https://forum.opencv.org/t/get-opencv-to-recognize-ffmpeg-other-than-the-default-binaries/17504/2 "2024-05-02T04:28:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![meowmeowcat](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@meowmeowcat](https://forum.opencv.org/u/meowmeowcat)\
**Post date:** [May 2, 2024, 4:42am UTC](https://forum.opencv.org/t/get-opencv-to-recognize-ffmpeg-other-than-the-default-binaries/17504/3 "2024-05-02T04:42:53Z")

</div>

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.
