Could not get the excellent @lisamelton's `transcode-video.rb` to work on my machine, because flatpak. My ruby skills are too rusty to enable me to adapt it, but it did spit out a proper set of HandBrakeCLI args for me, so I pasted those that into this:
https://gist.github.com/rpardee/42ab258ec0d25248af45eec92519a212
It'll be interesting to see how long it takes to go through all my ripped TV shows...
@lisamelton The #Handbrake gui was *super* frustrating for me--I would open a directory of TV episode MKVs as a source, then set up the audio & subtitle options I want & transcode one episode. I would check the output--were there subtitles? Always yes. Then I added the rest of the eps to the queue & set it to work.
Invariably the rest of the eps had no subtitles. Totally maddening.
No doubt I'm doing something wrong there, but this way I can just do everything & be sure the same args are passed every time. 🤞