Skip to content

Instantly share code, notes, and snippets.

@antonfisher
Created March 4, 2020 07:21
Show Gist options
  • Save antonfisher/949881dea1838a1cac753ccf5f05dec4 to your computer and use it in GitHub Desktop.
Save antonfisher/949881dea1838a1cac753ccf5f05dec4 to your computer and use it in GitHub Desktop.
ffmpeg\
-i in.mp4\
-an\
-vf "setpts=PTS/3,transpose=2,transpose=2"\
-r 30\
-vcodec libx264\
-stats\
out.mp4
# color
# -vf "pp=al"\
# -vf "eq=saturation=1:gamma=1:contrast=1.5"\
# cut from-to
# -ss 00:00:00.0\
# -to 00:00:01.0\
# deshake
# -vf "deshake"\
# unsharp=5:5:0.8:3:3:0.4
# fast speed up x60
# ffmpeg -itsscale 0.01666 -i input.mkv -c copy output.mkv # fast speed up
# concat
# ffmpeg -f concat -safe 0 -i <(find . -name '*.wav' -printf "file '$PWD/%p'\n") -c copy output.wav
# remove fisheye
# ffmpeg -i in.mp4 -vf "lenscorrection=cx=0.5:cy=0.5:k1=-0.227:k2=-0.022" out.mp4
# ffmpeg -i input.mp4 -vf "lenscorrection=0.5:0.5:-0.335:0.097" output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment