11

I have a digital backup of a concert DVD consisting of several VOB files and on that DVD each title corresponds to an individual song. When i tried to convert it to an MKV with Handbrake i could only see the option of converting each title into a separate file. So in this case i would end up having many files where each file would contain an individual song. I want to achieve the following:

  1. Merge (and convert) all titles into one single file
  2. Have the resulting file to be properly split into chapters

PS: i do not want to convert each title individually and then merge resulting MKV's into one.

  • I’m too lazy to try, so what’s wrong with mkvmerge’s append functionality? It’s also exposed in the GUI. It’s (among others) specifically geared towards DVD sources. – Daniel B Oct 25 '14 at 20:28
  • It does not split the resulting file into chapters and it would not give me the ability to remove some of the unnecessary stuff. – RusI Oct 26 '14 at 12:04
  • Well then I guess you should update your question to include that fact. ;) It also doesn’t say anything about removing stuff. – Daniel B Oct 26 '14 at 12:09
  • The same question raised here. Actually chapters can be auto-generated by mkvtoolnix-gui. Removing staff is easy as well. Or what particular does not work? – dma_k Aug 28 '18 at 22:14
5

After searching the internet and reading forums and blogs for a few days, it looks like there is no simple “point-and-click” solution for this problem. Based mainly on the following articles:

at IsoBuster

at VideoHelp

I have drawn up a guide of how to achieve the solution to given problem. It all can be done using freeware tools and under 20-30 minutes, so I think it is worth trying.

Basically what you need to do is to «re-author» the DVD so it has proper layout and structure. After that it can be easily and properly ripped to MKV in any program. So another title to this solution would be "How to create proper DVD from VOB files".

Copy the DVD in question to the hard drive with the tool of your preference in file mode. This will create a folder on the HD with all the VOB’s, IFO’s, etc files that represent a digital copy of the DVD.

DVD Shrink

Download DVD Shrink at http://www.dvdshrink.org

Go to: Open Files and navigate to the folder on the disk where you have the DVD files (VOB’s, IFO’s, etc)

This will load the DVD files into the program and show the current layout as the DVD was authored originally in the “DVD Browser” tab.

img

You can see that the layout of my disc is strange, where some of the clips (this is a concert DVD) are put into the “Extras” section.

Click: Re-author

This will allow you to create custom layout and in the given case create a DVD structure containing only the clips.

Drag and drop titles into “DVD structure” pane

Click “Compression settings” tab and make sure “No compression” setting is selected under “Video” section. If it is, then select all tracks and select «No Compression» in the drop-down list.

img

Click “Backup!”

This will present you with a dialog box where you can select the destination for the new DVD files. Select the folder name (for the sake of the example let’s call it «Original»). Click OK. You’ll see your DVD being copied with live preview.

Create new empty folder, let’s call it «Mod» and create «VIDEO_TS» folder inside of it.

Go the folder «Original», «VIDEO_TS» and copy only VOB files into «Mod\VIDEO_TS»

Rename vob files in «Mod\VIDEO_TS» to VTS_01_001.vob...VTS_01_002.vob...VTS_01_003.vob and so on. Make sure you rename the files that have indexes higher than 9 to VTS_01_0XX, as in VTS_01_013 (not VTS_01_00XX – VobEdit will not see files named under such layout)

img

VobEdit

Download VobEdit here: http://www.videohelp.com/tools/VobEdit

Start VobEdit

Click open and open the first VTS_01_001.vob from «Mod\VIDEO_TS»

Edit (top left) – Join Clips

In this dialog you need to create new folder, let’s call it «Fin» (or you could create this folder beforehand) and point VobEdit to this newly created folder. Use the proposed name of VTS_01_1.VOB.

In the next dialog box, check that the number is 1 and next click OK. VobEdit will start processing the files and you can see the progress bar moving. It will take a while. If you renamed all files correctly, then Vobedit should process all the VOB files.

Once it has finished you should have one or more VOB files in a VIDEO_TS folder inside "Fin" folder that you created previously, which are also already named correctly

IfoEdit

Download IfoEdit here: http://www.ifoedit.com/index.html

Click “Create IFOs” button and open the 1st file VOB file from the folder that was created by VOBEdit (that is "Fin\VIDEO_TS"). This file should be named “VTS_01_1.VOB”. Make sure that the “Same as source” checkbox is selected

Click OK.

IfoEdit will now create the IFO and BUP files. It will take a while. After the process is done you will see two lines in the top pane of IfoEdit:

VIDEO_TS.IFO

VTS_01.0.IFO.

img

If you care to, you can set the language designation for an audio track. Click the first line “VIDEO_TS.IFO “ and its content will be displayed in the bottom pane.

In the bottom pane, click the line “VTS_1 Audio 1” and this will bring up a dialog box.

In the dialog box, set “Language” to your preference

Click the OK

Then click “Save” and confirm when prompted to overwrite.

Then

Click the second line “VTS_01.0.IFO “ and its content will be displayed in the bottom pane.

In the bottom pane, click the line “VTS_1 Audio 1” and this will bring up a dialog box.

In the dialog box, set “Language” to your preference

Click the OK

Then click “Save” and confirm when prompted to overwrite.

Click “Get VTS sectors”

Select Yes to process all IFO files when prompted. Now you should have a DVD file structure, where all the separate titles are merged into one title that is properly split into chapters (each former title now is a separate chapter)

PS: If you experience any glitches with your newly created DVD, like players or other programs would not recognize chapters or any other problems (i could play my new DVD just fine in MPC and skip through the chapters, but VLC did not see the chapters and Handbrake did not recognize DVD as valid one), you might have to run FixVTS on that DVD (folder).

FixVTS

Download FixVTS

http://www.videohelp.com/software/FixVTS

Start the program and drag the 1st VOB file from you «Fin» folder into the designated area. If you want, you can select «In place (no backup)» check mark and the program will overwrite your files as they are being processed.

Click on «Full DVD», and then OK.

img

The program will process all the VOB’s in sequence and after that you should have compliant DVD folder.

-1

WARNING: These instructions may not work, at least not exactly as indicated, if Handbrake changes their queue file format significantly from the time this was written!

If your handy with a text editing tool that can manipulate XML files, or know a good scripting language (or you are a programmer like myself), you can craft a Handbrake queue file (file extension "hbq") to process all the titles on a DVD fairly easily. If not, follow the text editor based method described below.

  1. After scanning the DVD, configure Handbrake to process the first title, which should be selected by default in the Title drop-down.
  2. Add it to the queue and then process the queue.
  3. Make sure the first title got ripped correctly.
  4. Click on Show Queue and from that screen click "Options" and from that drop-down box click "Export queue".
  5. Export the queue containing the job for the single title to a file of your choosing.
  6. Then either:

    • open that file in a text editor that will not alter the file format in any way (i.e. add extra or "special characters")
    • write a script or a program to do the following.

I will indicate the necessary steps using the text editor approach from here on. 7. Locate the <QueueTask> XML element start and end tags (i.e. <QueueTask> and </QueueTask>).

  1. Duplicate the entire block including the <QueueTask> and </QueueTask> XML tags once for each remaining title after the first one.

  2. For each duplicated <QueueTask> block:

    • Locate the <Title> XML tag and change the content to the next Title number. For example:

    <Title>2</Title>

to set the input Title to number 2.

  • Locate the <Destination> XML tag and change the content to the next output file name. For example:

    <Destination>C:\some_directory\title-2.mp4</Destination>

to set the output file to C:\some_directory\title-2.mp4

Repeat the above 2 steps for each title.

10) Save the file to a new queue file.

11) From the Options drop-down pick Import Queue File this time and import the queue file you just edited. You may need to delete existing jobs in the queue before doing this.

12) Process the queue by clicking Start Queue

When the queue is finished you should have a video file for each Title on the DVD.

As I said earlier, a good text manipulation, script tool, or utility you write can make this task nearly effortless rather than tediously doing the repetitive cut-and-paste operation above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.