How to automatically convert VOB to MPG and DTS to AC3

I’m working on a newer version of my automatic MKV to DVR-MS process and found myself needing to do these conversions automatically. So I figured I’d share them so people could use them until my entire process is done.

The main uses from my perspective is to make various video files Media Center compatible, but since MPG and AC3 are pretty much the most standard codecs in the industry, there are plenty of other uses. Both of them require the latest version of DVRMSToolBox, written by my good from Andy. In fact it is what makes the entire process automatic. For both profiles, the DTB temp directory is used to create the files and then the final file is moved back to the location of the original file (in the case of the MKV AC3 files, the name is changed for obvious reasons). Until I release the rest of my process, you can create a simple “process conditioner” to automatically convert these files, or you can run them on demand with DVRMStoMPEGGUI (or queue them up manually).

The first is a very simple VOB to MPG converter. All it does is use ffmpeg to repackage the MPG and AC3 streams into an MPG container. The best way to create a vob to convert is to use something like DVDShrink to rip only the main feature and the main AC3 audio to a single vob. You can use DTS, but as you might know, in the case of Media Center DTS is not supported nativly and thus doesn’t work on extenders. To use this drop “Convert vob into mpg – ffmpeg.dpc” into “C:\Program Files\DVRMSToolbox\Profiles” and put ffmpeg.conf into “C:\Program Files\DVRMSToolbox\Applications\ConvertFfmpeg”

The second one was actually very difficult to get right and I’d still like to do some more testing. What it does is extract a DTS stream from an MKV file, then convert it to AC3 with eac3to, then finally remuxes it back to an MKV with AC3. It only retains the original video and audio streams and in fact doesn’t touch the video stream. To use it you’ll need to download eac3to and MKVtoolnix (both free). First extract the eac3to archive to “C:\Program Files\DVRMSToolbox\Applications\eac3to” and install MKVtoolnix with the isntall path of “C:\Program Files\DVRMSToolbox\Applications\MKVtoolnix\” And of course you’ll have to copy the “Convert MKV with DTS to MKV with AC3.dpc” to “C:\Program Files\DVRMSToolbox\Profiles”

Please let me know if these work for you or not, I’m really hoping to get these throughly tested before my final project is complete.

**Update** Already had to update the DTS to AC3 profile, this one should work better. Thanks Rich. 

**UPdate2** Had to update it once again because the AC3 bit rate was too high for dvr-ms files, it is now set to 448 instead of 640.

64 Responses to “How to automatically convert VOB to MPG and DTS to AC3”

  1. […] has given me a piece that will tide me over. Ben has posted an update for DVRMS toolbox that will take an MKV file with DTS sound and convert the audio to AC3 without tampering with the video […]

  2. stavrinho says:

    Thanks a lot!It works excellent for me!

  3. oudinmelanie09 says:

    If you want to set output audio channel option to 5.1, you should choose AC3 or AAC as audio encoder. So many people think MKV DTS to AC3 is a nightmare. No, it’s not so terrible any more. Convert MKV DTS to AC3, convert DTS to AC3 in mkv, convert MKV with DTS sound to AC3 with 5.1 channels is so easy if you owns such a powerful MKV DTS to AC3 Converter, Aunsoft MKV Converter is the recommended program which allows to you convert any types of MKV files like MKV DTS, MKV FLAC to AC3, AAC with 5.1 channels, and still keep its good quality.

  4. David says:

    Hi. I am having the same issues as Marc, with the aspec ratio. Everything looks streached a bit too much:

    ” I edited your DTS>AC3 profile removing the following from the “ArguementsContext” field in the eac3to step:

    –display-dimensions 1:12×5

    I’ve successfully converted two mkv files with DTS audio to AC3 audio with no change to the video dimensions”

    Can you inform me what the new command line should look like, as I have tried to modify it, but without much success. I am not really familar with mkmerge.

    Many thanks.