Video stabilizer for CCD and CMOS cameras

Features and limitations

Usage examples

Sony PSP as the video source

The included Blender Avilib can read and write PSP-compatible video files directly, however since the GO!CAM employs a CMOS sensor it is necessary to specify a shutter angle on the command line. According of my tests PSP's GO!CAM always uses the full 180 degrees regardless on the quality setting, so:
./vstab -r 180 <input>.AVI <output>.avi
Will hopefully give the expected result.

Analog video as the video source

Acquire from the capture card with ffmpeg and a command line like:
ffmpeg \
	-y -sws_flags lanczos -deinterlace \
	-f video4linux2 -s 768x576 -r 25 -i /dev/video0 \
	-f alsa -ar 44100 -ac 2 -i default \
	-croptop 4 -cropbottom 4 -cropleft 4 -cropright 4 \
	-s 640x352 -vcodec mjpeg -qmax 1 \
	-acodec pcm_s16le \
And then process with:
./vstab capture.avi <output>.avi


Some are available in my youtube channel.


Project page