I am using ubuntu 14.04, and have anaconda python installed. I used conda install opencv and conda install cv2 to install opencv. However I am unable to use the VideoCapture
Use conda-recipes to install ffmpeg.
git clone https://github.com/conda/conda-recipes.git
cd conda-recipes
conda build x264
conda build ffmpeg
See also here.