Created
May 9, 2014 09:05
-
-
Save matthiassturm/5053b0dafbb7984a2175 to your computer and use it in GitHub Desktop.
Crop all 16:9 MP4 videos in folder to PAL 4:3
This file contains 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 | |
for f in *.mp4; do | |
mv "$f" "$f".old; | |
avconv -i "$f".old -vf crop=490:576:115:0 -vcodec libx264 "$f"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment