conda conda install -c https://conda.anaconda.org/menpo ffmpeg 安装ffmpeg,支持视频处理的包,用videoCapture加载视频
conda install -c https://conda.anaconda.org/menpo opencv3 安装opencv
git clone https://github.com/Itseez/opencv.git
cd opencv
mkdir build
cd build
cmake ..
sudo make install
cp /home/zzp/SSD_ping/opencv-master/build/lib/python3/cv2*.so /home/zzp/SSD_ping/anaconda3/envs/z1/lib/python3.6/site-packages
opencv对视频处理的一些属性参考下面的链接(比如帧宽,高,帧率,帧数,等等):
http://blog.sina.com.cn/s/blog_4b0020f301012dbz.html