Created
September 23, 2015 06:13
-
-
Save dtinth/4c2c5e324ba2a17c4518 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ffmpeg -i "$1" -filter:v "scale=683x384, crop=512:384:86:0, pad=512:512:0:64, scale=256x256" -pass 1 -f mpeg1video -q:v 3 -an -passlogfile log_file -y "$1.mpeg" | |
ffmpeg -i "$1" -filter:v "scale=683x384, crop=512:384:86:0, pad=512:512:0:64, scale=256x256" -pass 2 -f mpeg1video -q:v 3 -an -passlogfile log_file -y "$1.mpeg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment