Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- quality="40 38 36 34 32 30 28 26 24 22 20"
- file="$1"
- if [ ! -e $file ]
- then
- echo "Usage: ./mk.sh FILENAME"
- exit 1
- fi
- for n in $quality
- do
- avconv -i $file -strict experimental -vcodec libx264 -preset fast -crf $n -threads auto -acodec aac -ab 128k -y $file-$n.mkv
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement