Table of Contents

transcode:

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

  1. somehow the audio gets distorted in the conversion. As a workaround, the audio can be added back in later:

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

filters

codecs