I am currently developing a program using the Windows SDK.
I'm trying to feed a ".webm" file into the SDK, but I'm getting the following error:
Encountered an AffdexException Error opening video file: C:\1.webm
Source: __thiscall FileVideoCapture::FileVideoCapture(const class boost::filesystem::path &,const float)(C:\Jenkins\workspace\affdexface-win32\src\modules\utils\FileVideoCapture.cpp LINE 12)
This occurs when I use the .process(path_to_file)
method of the VideoDetector
class.
I'm guessing it has something to do with OpenCV because the VideoCapture class is apart of OpenCV.
Any help would be greatly appreciated!
The VideoDetector
class uses FFmpeg in order to access video codecs.
Please make sure that the opencv_ffmpeg.dll
is loadable by your application either by copying it to your application binary folder or by adding it’s location to your PATH
environment variable.
The dll is included in the sdk archive under the bin directory.