Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # optional cropping 100px off bottom
  2. if [ "$1" == "cropit" ]; then
  3. ITS_CROP_TIME=
  4. mkdir cropped; for i in *.mp4; do ffmpeg -i "$i" -filter:v "crop=1920:980:0:-100" cropped/"${i%.*}.mp4"
  5. rm -r *.mp4
  6. cd cropped
  7. cp -r *.mp4 ../
  8. fi
  9. # optional cropping 100px off bottom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement