Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # TODO this script will need to be customized for each run until it is expanded
- # to take more parameters with getopt
- for f in "$@"
- do
- output=${f##*/}
- output=${output// /_}
- output=${output%.*}.ogv
- vidfile=${output%.*}.ogg
- echo "Transcoding $f to $output"
- ffmpeg -i "$f" -c:v libtheora -b:v 500k -c:a libvorbis -b:a 128k -v error "$vidfile" #
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement