1 | initial version |
I was getting the same error while using opencv in anaconda3 virtual environment. I checked the buildinformation (cv2.getBuildInformation()) for current opencv version and ffmpeg wasn't marked "yes". To resolve this
I uninstalled opencv from my conda environment ( conda uninstall opencv)
Installed latest ffmpeg using conda-forge channel
Then installed opencv again using conda-forge channel ( conda install -c conda-forge opencv) . Don't install using menpo channel
Doing this resolved the issue for me.