stabilize video with vid.stab [debian 64bit]

based on:
https://github.com/georgmartius/vid.stab
http://public.hronopik.de/vid.stab/features.php?lang=en

install vid.stab:
cd
git clone https://github.com/georgmartius/vid.stab.git
cd ~/vid.stab/
cmake .
make
sudo make install

install things for ffmpeg:
sudo apt-get install ffmpeg #so you get all library that are needed for ffmpeg
sudo apt-get purge ffmpeg #so you only remove ffmpeg and keep the librarys
sudo apt-get install YASM #used to compile ffmpeg or so

compile and install ffmpeg:
cd
git clone https://github.com/FFmpeg/FFmpeg.git
cd ~/FFmpeg/
./configure --enable-gpl --enable-libvidstab
make
sudo make install

usage:
ffmpeg -i input.mp4 -vf vidstabdetect -f null - #generate a transform.trf file so you can use it to create the new video
ffmpeg -i input.mp4 -vf vidstabtransform,unsharp=5:5:0.8:3:3:0.4 out_stabilized.mp4 #generate the new video

for more options visit:
https://github.com/georgmartius/vid.stab

uninstall all:
cd ~/FFmpeg/
sudo make uninstall
cd ~/vid.stab/
sudo make uninstall

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s