Last active
May 10, 2020 08:02
-
-
Save bensquire/c573d6f317dd02d14372988457f70872 to your computer and use it in GitHub Desktop.
Convert directory of MP4's to MKV's using ffmpeg (tested on OSX)
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/sh | |
for i in *.mp4; do | |
ffmpeg -i "${i}" -c:v copy -c:a copy "${i}.mkv" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment