Advertisement
fangfufu

ffmpeg vidstab

Apr 18th, 2020
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. #!/bin/bash
  2. rm -f transforms.trf
  3. ffmpeg -i "${1}" \
  4. -vf vidstabdetect=stepsize=32:shakiness=10:accuracy=15 -an \
  5. -f null -
  6.  
  7. ffmpeg -i "${1}" \
  8. -vf \
  9. vidstabtransform=smoothing=90:optzoom=0:interpol=bicubic:crop=black \
  10. -tune film \
  11. -crf 18 \
  12. -preset slow \
  13. -c:a copy \
  14. "${2}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement