Created
October 12, 2012 08:54
-
-
Save simonkberg/3878162 to your computer and use it in GitHub Desktop.
ffmpeg convert loop
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 *.mov | |
do | |
ffmpeg -i "$f" -s 728x410 -sameq -acodec libmp3lame -aq 0 "../${f%.mov}.mpg" | |
done | |
for f in *.mov | |
do | |
ffmpeg -i "$f" -s 960x540 -sameq -vprofile baseline -acodec copy "../mov2/${f%.mov}.mov" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!/bin/bash
for f in *.mov
do
ffmpeg -i "$f" -s 960x540 -sameq -vprofile baseline -acodec copy "../mov2/${f%.mov}.mov"
done