Created
November 20, 2019 23:27
-
-
Save danielef/8eb6456d2cbdf31ed3c5f62329098467 to your computer and use it in GitHub Desktop.
ffmpeg scaled video
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 i in $( ls *.mpeg ); do | |
ffmpeg -i $i -vf "scale=iw/4:ih/4" ${i%.*}.mp4; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment