Created
September 1, 2013 11:28
-
-
Save RoxasShadow/6403869 to your computer and use it in GitHub Desktop.
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
| abort 'mkv needed' if ARGV.empty? | |
| input = ARGV[0] | |
| folder = File.dirname input | |
| target = folder + '\\' + (ARGV[1] || (File.basename(input) + '.ass')) | |
| system "mkvextract tracks \"#{input}\" 2:\"#{target}\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment