***  LIBRARY ***
To compile the library do:

cmake .
make
sudo make install

To customize the installation prefix use
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local


*** FFMPEG ***

You need to configure ffmpeg with --enable-libvidstab