I'd like to create a file with the main movie, several audio tracks and a (.srt type) subtitle track created by SubRip from a Dvd. I'm pretty familiar with VLC and can extract an MPEG PS or TS file with a single video and audio track quite easily. I also know how to extract a 2nd audio track using Raw encapsulation, and I have the .srt file I want.
What I'd like is suggestions on the encapsulation and muxing software to create this new file. My own research suggests Matroska is a good bet, though I've never used the muxing software available. So I ask, which file format and software should I use to create a single file with 1 mpeg-2 video track, 2 dvd-compatible audio tracks, and 1 text-based (.srt) subtitle track?