Last active
January 18, 2022 18:50
-
-
Save Lerie82/4dbcf750d4afb5c288119ef26b685cec to your computer and use it in GitHub Desktop.
ffmpeg convert files in directory to mp4
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
### bash | |
for i in *.mkv; | |
do name=`echo $i | cut -d'.' -f1`; | |
echo $name; | |
ffmpeg -i "$i" "${name}.mp4"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment