Stablization can be done using transcode as outlined here and with more detail here. It's a 2-step process:
create a .trf file with the information needed for transcoding: transcode -J stabilize=shakiness=1 -i test.mp4
process the .trf file with the transform filter: transcode -J transform=smoothing=1 -i test.mp4 -y xvid4 -w 6000 -o test.avi
Default values work well for most uses, although boosting the framerate to about 6000 improves quality
There's more detail on xvid4 transcoding with transcode here
it appears transcode gets “stuck” sleeping at the end of a transcode. There's a bash script hack for that problem.
ffmpeg -loop 1 -i image.png -c:v libx264 -t 15 -pix_fmt yuv420p -vf scale=320:240 out.mp4
(source)cat *.jpeg | ffmpeg -f image2pipe -i - output.mkv
then ffmpeg -i output.mkv -codec copy output.mp4
from this source