Last active
November 15, 2017 15:07
-
-
Save timakin/dc682f7130c357c0795fc0d952e08a45 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
files="./*.mp4" | |
for filepath in $files; do | |
fname_ext="${filepath##*/}" | |
fname="${fname_ext%.*}" | |
echo $fname | |
ffmpeg -i "${fname}.mp4" -vcodec h264 -acodec aac "${fname}_comp.mp4" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment