Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if [ "" = "${1}" ]; then
- echo "You need you provide at least 1 file to encode.";
- exit 1;
- fi;
- while test -n "${1}"; do
- if [ "" != "${1}" -a -e "${1}" ]; then
- ffmpeg -i "${1}" -threads 4 -s 800x480 -vcodec mpeg4 -sameq -acodec libfaac -ac 1 -ar 16000 -ab 32000 -r 23.98 "${1}.mp4"
- fi;
- shift;
- done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement