Created
December 5, 2016 14:37
-
-
Save spig/a8014e53ab5325fcc159059fdf05d05f to your computer and use it in GitHub Desktop.
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
for i in *.ts; do filename=$(basename $i); base=${filename%.*}; ffmpeg -i $filename -c:v libx264 -c:a libfaac -vf scale=-1:720 -q:a 100 -ac 2 $base.mp4; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment