>>269438606
Here's my script I use to do conversions
https://pastebin.com/7u4PNTRr
it'll work for embedded .mkv subtitles. the filter syntax is slightly different for external sub files. note that crf 28 is actually pretty low quality, but I've found it still looks fine through a headset, so I prefer smaller files. You can crank it up to 18 "visually transparent" if you want though.

For batch converting I just have this wrapper script https://pastebin.com/LTEPNtQg to pull out the episode numbers. That way I have simple filenames like anime01.mp4. Even on a old celeron processor, a 23 minute episode will encode in about 10 minutes, so I just set it an forget it. Not worth messing around with gpu encoding.