12

I've got some some home movies that look great, but my video camera doesn't have one of those fancy new stabilizers. Is there extant end-user software (preferably FLOSS) I could use to removing the shaking?

1
  • 1
    I know it's not a direct answer, but YouTube offer some video editing capabilities that include vibration reduction.
    – user114589
    Dec 14, 2012 at 0:48

1 Answer 1

14

Transcode

Transcode is no longer maintained and was removed from Ubuntu releases 18.04 and newer. You may still be able to run it but functions may be limited or buggy.

You can deshake a video with the use of an external stabilizer plugin available here

or from the Ubuntu multiverse repository in 18.04 or older:

sudo apt install transcode

After installation of the plugin you can stabilize a video with the following command:

transcode -J stabilize -i inmovie -y null,null -o dummy

This will give you an output file with definitions for transforms that will have to be performed as a second step (here using default options):

transcode -J transform -i inmovie -y xvid,null -o outmovie

For further details and many additional options also see:

8
  • I tried this on a 40MB 720p mp4 file from my Flip Mino HD camera. It did something: it spit out a file called VID00055.MP4.trf. What do I do with that? Dec 15, 2012 at 17:07
  • ok, looks like that did something, but there's no output video file. In the console output I see [transcode] warning: no option -o found, encoded frames send to "/dev/null" and [transcode] warning: no option -y found, option -o ignored, writing to "/dev/null". Do you know what those options should be? Sorry, never used transcode before, and I'm finding it a bit hard to use. Dec 15, 2012 at 17:35
  • transcode -J transform -i VID00055.MP4 -y raw,tcaud -o out.mp4 worked, but the resulting audio is horrible (choppy). Oh well. Dec 15, 2012 at 22:12
  • Could you also package this up in a bash script? transcode -J stabilize -i $1 -y null,null -o dummy and then transcode -J transform -i $1 -y xvid,null -o out-$1. Then once you've found the right settings (that work for you), wrap this in a for loop.
    – Rick
    Jun 26, 2014 at 13:38
  • "After installation of the plugin" how this can be done? Jun 27, 2021 at 6:38

Not the answer you're looking for? Browse other questions tagged .