xvid dll's

asked 2015-04-12 12:19:54 -0600

arefenayat gravatar image

updated 2015-04-12 13:51:00 -0600

i've write python project and using opencv to capture video from webcam and save it as avi with XVID codec xvid codec dll files are :xvidvfw.dll and xvidcore.dll which are in system32 how i can change the path of dll files in opencv ? i need to load that from beside my program

edit retag flag offensive close merge delete

Comments

You can't, the lookup of dll files is dependant on your operating system. Basically windows (which uses dlls) looks for them in the following order.

  1. The folder where the executable has been executed.
  2. The standard system paths like the system32 folder.
  3. All folders in the PATH variable.

So there are two things you could do:

  1. Update the PATH variable on the system of the user and add your desired dll location
  2. Just supply the dlls inside the installation folder of the executable

But why would you specifically need to supply all this?

StevenPuttemans gravatar imageStevenPuttemans ( 2015-04-13 06:56:15 -0600 )edit