Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Modifications
- # Current Settings Works Well For the GenerPlus Large TF Files from HDD Model. 2.5GB 20min files compress to around 300mb with similar quality
- # Add -nostdin so that hopefully ffmpeg can automatically process each file on each line as had issues
- file=$1
- PREFIX='Transcode'
- echo "Utilizing $file"
- while IFS= read -r line
- do
- echo "Current File Being Processed $line"
- line=$(basename $line)
- echo " Target file is ${line}"
- ffmpeg -nostdin -i $line -vf vflip -b:v 2M -maxrate 8M -bufsize 2M -c:v libx264 -c:a libmp3lame -vsync 2 ${PREFIX}${line}.mp4
- echo "Line --> ${line} finished"
- done < "$file"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement