Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. EXT=(*.avi)
  4.  
  5. for i in "${EXT[@]}"; do ffmpeg -i "$i" \
  6. -vcodec x264 -crf 22 -tune animation \
  7. -acodec libvorbis -ab 128k \
  8. "${i%.*}.mkv";done
  9.  
  10. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement