生成视频的缩略图
- 使用了雅虎的hecate,对于长的视频非常慢
Install opencv in centOS
# 下载并安装OpenCV
yum install libdc1934-devel libv4l-devel libtiff-devel libjpeg-devel tbb tbb-devel
yum groupinstall "Development Tools" -y
yum install cmake gcc gtk2-devel numpy pkconfig -y
cd /data/zhuyaguang/soft
# 这里可以使用git clone opencv的最新的源代码,经测试4.0以上版本暂时不ok,3.4版本ok
wget https://github.com/opencv/opencv/archive/3.3.0.zip
unzip 3.3.0.zip
cd opencv-3.3.0
mkdir build
cd build
cmake -DWITH_LIBV4L