"makemkvcon mkv" - how to select what audio/subtitle tracks get transferred?
Posted: Fri Sep 08, 2023 2:44 pm
I'm working on a (fairly complex) bash script to automate TV series backup and repacking, and have successfully integrated it with TheTVDB for getting series info and matching episodes. Right now, I'm at the point that I'm trying to take a bunch of disc dumps (made with dvdbackup for DVDs and makemkvcon for Blu-rays) and extract individual episodes for remuxing and/or transcoding. I'm trying to use "makemkvcon mkv", but when I use it, it only extracts the English audio and subtitle streams from the title number I give it. Is the only way to control this down to setting "app_PreferredLanguage" in ~/.MakeMKV/settings.conf? Or is there a way to construct and pass a filter to makemkvcon to specify which languages I want included? I want to be able to pass languages (currently one for audio and one or more for subtitles) to include, but I'm not currently seeing how I can do that. I have thoughts for alternative approaches (possibly using bd_splice from libbluray), but I'd rather not add more dependencies if I can help it.