Created
May 3, 2014 13:22
-
-
Save cb372/bcb7d2b03ad7c84a972d to your computer and use it in GitHub Desktop.
Adding burned-in Japanese subs with mencoder
This file contains hidden or 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 | |
if [ $* -n 3 ]; then | |
echo "Usage: $(basename $0) subs.srt in.avi out.avi" | |
exit 1 | |
fi | |
mencoder -oac copy -ovc lavc -sub "$1" -utf8 -subfont-text-scale 3.3 -subpos 96 "$2" -o "$3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment