-
-
Save flesch/141c0f13825b0ef6c60d to your computer and use it in GitHub Desktop.
Convert Matroska MKV to iTunes compatible MP4 format for Airplay streaming on AppleTV. (http://git.io/mkv2mp4)
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 | |
# brew install libav | |
# curl -fsSL http://git.io/mkv2mp4sh | sh | |
for mkv in *.mkv; do | |
mp4="$(basename --suffix=.mkv "$mkv").mp4" | |
avconv -i "$mkv" -c:v copy -c:a aac -strict experimental -threads auto "$mp4" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment