This is a small tool to facilitate people that a re 'losers' in making videos - i.e., have shaky hands. In this **tool-chain**
you can stablize a set of videos (using ffmpeg). We use the beauty of make, that is able to check if your specific file has already been stabilized. It's a very simple makefile, yet powerful.
1. Cut specific sections within for a set of videos
1. Stablize them using a Makefile that also checks if it already has been stablized or not.
1. Check if you made some impact with the **before-and-after** (merged).
# Usage
> Construct a csv file that looks like
~~~CSV
filename,ffmpeg-options # don't include this header..
converted/MVI_9154.MOV,-ss 00:00:27 -t 00:00:31
converted/MVI_9154.MOV,-ss 00:00:51 -t 00:00:53
converted/MVI_9144.MOV,-ss 00:00:26 -t 00:00:36
converted/MVI_9144.MOV,-ss 00:00:56 -t 00:00:60
converted/MVI_9372.MOV,-ss 00:00:22 -t 00:00:26
converted/MVI_9152.MOV,-ss 00:00:18 -t 00:00:34
converted/MVI_9153.MOV,-ss 00:00:32 -t 00:00:35
converted/MVI_9256.MOV,-ss 00:00:10 -t 00:00:14
converted/MVI_9255.MOV,-ss 00:00:03 -t 00:00:08
converted/MVI_9257.MOV,""
~~~
With this, you specify a filename and the options you want to pass to the ffmpeg script. Currently it only supports the time
options. Note that later we could add the parameters like the level of stablization.
You can simply create the files using `ls video/*.MOV > list.csv`
Then, run the following command:
~~~shell
./stablize.sh list.csv
~~~
## Notes
On ubuntu you probably need to change `ffmpeg` to `libav`, and it should work then. This is however not tested yet.
## Disclaimer
This tool has been 'hacked' together, but is nonetheless very useful. Don't complain about readability, it's Bash.. get over it ;)
Example output to check if you're doing it a bit right.