Skip to content

Instantly share code, notes, and snippets.

@deomorxsy
Last active July 5, 2023 21:40
Show Gist options
  • Save deomorxsy/ce8712f0cf5c356215e68ce4e83cddce to your computer and use it in GitHub Desktop.
Save deomorxsy/ce8712f0cf5c356215e68ce4e83cddce to your computer and use it in GitHub Desktop.
crop the height of video at the bottom using FFMPEG.
#!/usr/bin/bash
# cut 30 rows from the height at the bottom of the video
ffmpeg -i ./input.data -vf crop=iw:ih-30:0:10 -c:a copy ./output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment