Last active
August 29, 2015 14:03
-
-
Save korczis/4ed2af1552d35e2cfd35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See http://public.hronopik.de/vid.stab/ | |
# See http://ffmpeg.org/ffmpeg-filters.html#vidstabtransform-1 | |
# Concat | |
ls Movie_Part_1.mp4 Movie_Part_2.mp4 | perl -ne 'print "file $_"' | ffmpeg -f concat -i - -c copy MVI_JOINED_ENCODED.mp4 | |
# First pass | |
ffmpeg -i MVI_JOINED_ENCODED.mp4 -vf vidstabdetect=shakiness=10:accuracy=15:result=MVI_JOINED_ENCODED.trf -strict -2 MVI_JOINED_ENCODED_TRANSFORM.mp4 | |
# Second pass | |
ffmpeg -i MVI_JOINED_ENCODED.mp4 -vf vidstabtransform=input=MVI_JOINED_ENCODED.trf,unsharp=5:5:0.8:3:3:0.4 -strict -2 MVI_JOINED_ENCODED_STABILIZED.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment