Skip to content

Instantly share code, notes, and snippets.

@chris-erickson
Created March 12, 2017 20:03
Show Gist options
  • Save chris-erickson/a51d68e6dd19ada1adc0b917467849c2 to your computer and use it in GitHub Desktop.
Save chris-erickson/a51d68e6dd19ada1adc0b917467849c2 to your computer and use it in GitHub Desktop.
Start from a Blu-ray rip (mkv format, out of MakeMKV) and properly convert to a nice mkv
# Start by importing with MakeMKV
# Make sure to at least pick the "forced" subtitles - these are usually helpful ones for us dummies who don't speak more than one language
# Subtitles are weird and need to be burned in, so you have to later select them, and only picking the one you need makes this easier.
# Update the tools
gem update video_transcoding
brew upgrade
# Get the command by checking for cropping first
detect-crop <filename>
# Outputs something like:
# $ transcode-video --crop 140:140:0:0 <filename>
# Update this to capture the subtitles (not included by default)
# add --burn-subtitle <track #> where <track #> can be found in VLC, but should be 1 if you only ripped that one
# Update this further to put the files someplace else, as the default naming scheme collides with an existing mkv
# add --output <new filepath>
# Resulting command:
transcode-video --crop 140:140:0:0 --burn-subtitle 2 allied/Allied_t00.mkv --output Allied2016.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment