Had an issue with ffmpeg, not sure where to post solution

asked 2016-02-16 03:53:59 -0500

I'm just starting to learn Pythin and use it with OpenCV, by going over the tutorials at here: http://docs.opencv.org/3.0-beta/doc/p... Right now the "Playing Video from file" example still doesn't work for me, but the sample "video.py" from the opencv package does.

Capturing video from my laptop's webcam worked fine, but I was unable to play video from file. I have found a helpfull solutions online: Copy the opencv_ffmpeg.dll and opencv_ffmpeg_64.dll found under opencv\sources\3rdparty\ffmpeg to the Python main folder (C:\Python27) and rename them to contain the opencv version you are using at the file name's end, i.e. opencv_ffmpeg300.dll and opencv_ffmpeg_64300.dll for opencv Version 3.0.0.

Saw it in stackoverflow but now I can't seem to find it, for some reason it was not marked a solution but it's thse only thing which worked for me. just renaming the dll files to be "*300.dll" didn;t work as well.

I use CV 3.0.0 on Windows 7 64 bit and Python 2.7.10.


edit retag flag offensive close merge delete