Created
February 11, 2015 19:23
-
-
Save mafigit/0ddc1744ff941bf36a62 to your computer and use it in GitHub Desktop.
remux script appletv3
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
#!/usr/local/bin/bash | |
filename=$(basename $1 | sed s/\.[^\.]*$//) | |
pathname=$(dirname $1) | |
echo $pathname | |
avconv -i $1 -map 0:v -map 0:a -vcodec copy -acodec ac3 -b:a 640k -metadata title="$filename" $pathname/$filename.m4v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment