I'm super impressed by Plex, and I'd like to convert all my old dvdmedia files into a format that it can understand. I have quite a few of them (the product of a dvd library being ripped to work with iTunes) and I want to preserve as much information as possible.
Specifically, I would like the video, all the audio tracks, all the subtitle tracks, and the chapters to be copied verbatim into an mp4/mkv/whatever so that Plex can then take over and work its magic.
I've tried
ffmpeg -i "concat:$(shell-fu)" -map 0:a -map 0:v -map 0:s -c copy ~/Downloads/test.mp4
with shell-fu
being a simple bash for loop that spits out VTS_0_1.vob|…
. This is error prone and hard to automate already as I need to manually inspect what is the largest vob an do some magic to get all of it, but I can imagine ways to script that. The bigger problem is that I consistently run into errors due to including the subtitles.
I'm open to any and all options that would work on a Mac, so long as they are entirely automated. I've got plenty of space so I'm not too worried but bonus points would go to anyone who could tell me how to only include english subtitles and audio by default, unless english audio or subtitles are not an option.