红联Linux门户
Linux帮助

Ubuntu 16.04安装slowmoVideo

发布时间:2016-09-08 14:48:52来源:topspeedsnail.com作者:斗大的熊猫
slowmoVideo是一个创建慢速视频的开源项目。它可以将常速的视频,变成类似高速摄像头拍摄的视频。实现方式并非简单的低速播放(即复制帧),而是通过运动估计,来做帧插值。
slowmoVideo主页:http://slowmovideo.granjow.net/
slowmoVideo源代码:https://github.com/slowmoVideo/slowmoVideo
 
slowmoVideo is an OpenSource program that creates slow-motion videos from your footage.
But it does not simply make your videos play at 0.01× speed. You can smoothly slow down and speed up your footage, optionally with motion blur.
How does slow motion work? slowmoVideo tries to find out where pixels move in the video (this information is called Optical Flow), and then uses this information to calculate the additional frames between the ones recorded by your camera.
 
Ubuntu 16.04安装slowmoVideo:
 
方法一:编译安装
安装依赖:
$ sudo apt-get install git build-essential cmake libavformat-dev libopencv-dev qtbase5-dev qtscript5-dev freeglut3-dev libglew1.6-dev ffmpeg
 
下载源代码:
$ git clone git://github.com/slowmoVideo/slowmoVideo.git
 
编译安装:
$ cd slowmoVideo/
$ mkdir build
$ cd build/
$ cmake -DENABLE_TESTS=FALSE ../src
$ make
$ sudo make install
 
方法二:使用第三方源
$ sudo add-apt-repository ppa:ubuntuhandbook1/slowmovideo
 
安装slowmoVideo:
$ sudo apt-get update
$ sudo apt-get install slowmovideo
Ubuntu 16.04安装slowmoVideo
Ubuntu 16.04安装slowmoVideo
 
本文永久更新地址:http://www.linuxdiyf.com/linux/23985.html