Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Convert the files in the list
- SAVE_FOLDER="$HOME/FINCODED"
- file=$1
- echo "Utilizing local file: $file"
- while IFS= read -r line
- do
- echo "Current File Being Processed $line"
- line_item=$(basename $line)
- ffmpeg -i $line_item -c:v libvpx-vp9 -pass 1 -speed 4 -tile-columns 6 -frame-parallel 1 -an -c:a libopus -b:a 64k -f webm /dev/null
- ffmpeg -i $line_item -c:v libvpx-vp9 -b:v 2500K -crf 31 -threads 8 -pass 2 -speed 1 -tile-columns 6 -frame-parallel 1 -c:a libopus -b:a 64k -auto-alt-ref 1 -lag-in-frames 25 -f webm $line_item.processed.webm
- echo "The $line_item has been processed."
- done < "$file"
Add Comment
Please, Sign In to add comment