Log in

View Full Version : DVD Shrink: Eliminate content while keeping menus, without using still pictures


johnmeyer
26th January 2004, 07:26
Update (on January 30, 2004): There is a tool now available that does what these guide does, but with one click of a button. Get it here:

TitleSet Blanker (http://shh.dvdboard.de/titlesetblanker.html)

This guide uses:

DVD Shrink
IFOEdit

I created this guide because I find that lots of DVDs have both the widescreen and the fullscreen version of the movie on the same disk. I only want to backup one of these, but I'd like to keep the extras, and I would like to keep the menus.

Using DVD Shrink, I can compress the fullscreen version (the one I want to delete) to "still pictures" and I can eliminate all of its audio and subtitle channels. However, the resulting "movie" often still consumes 500 Mbytes or more, and thus requires that the main movie (the version I am keeping) still be compressed. It also takes quite awhile to convert the fullscreen movie to still pictures.

I have seen guides for doing what I want using IFOEdit, but they look way too complicated (and I've written guides on using IFOEdit to change PGC tables, so I am not easily put off). I have also seen guides using DVDXCopy, but I didn't want to buy another program. I also saw a guide using DVD Stripper, but I couldn't find the software.

While searching for an answer, I kept seeing various references to "dummy VOBs" and thought that if I could just create a few VOB files, and then fix up the IFO files for the fullscreen version, then DVD Shrink wouldn't care, the navigation for the rest of the DVD wouldn't change, and I could use DVD Shrink, if necessary, to do the remaining compression.

Well, the idea seems to work. Here's a quick guide. See if it works for you.

Limitations: I made no attempt to use Menuedit to actually eliminate the menu for fullscreen. If you click on "fullscreen" in the movie selection menu, then you will get to see whatever is in your little dummy VOBs. Big deal. If you don't click on "fullscreen," you'll never know that nothing is there.

Here's the guide:
[list=1]
Determine what VOB contains the fullscreen version (or widescreen, depending on your preference). This is pretty easy. The movie VOBs are the group of VOBs with similar numbers that are larger than any of the others. The only thing you really need to know is which one is widescreen and which one is fullscreen. To figure this out, just "drag," from Explorer to WinDVD (or player of your choice), one of the VOBs from either of the big VOB sets. You can then tell instantly which one is widescreen. By way of example, in the DVD I just did, the VOBs that contain the fullscreen version were VTS_02_0.VOB, VTS_02_1.VOB, VTS_02_2.VOB, VTS_02_3.VOB, and VTS_02_4.VOB.
Replace these VOB files with a "dummy" VOB. You want to find a really small VOB (a few megabytes at most), preferably one that doesn't contain navigation (i.e., no menu buttons), although I don't think that matters. Just drag a few small VOBs. from the directory where you ripped your files, to WinDVD (or whatever you use to play DVDs) and make a choice.
Make copies of this "dummy" VOB file, and then rename each copy to match the names of each of the VOB files for your full screen movie (i.e., for my example, the names I just listed above).
Move your fullscreen movie VOB files to some other folder (no use deleting them until you are sure everything is OK). Also, move the IFO and BUP files for that titleset as well (VTS_02_0.IFO and VTS_02_0.BUP in this example).
Now, move the dummy files you just created into the VIDEO_TS folder with the rest of your movie.
[/list=1]

O.K. just to pause and reflect on what we've done: You moved the fullscreen VOB and matching IFO and BUP files to another folder, and replaced those VOB files with a valid, but small VOB file that was duplicated, and then renamed to match the names of the VOB files you moved.

Now, in the next step, all you need to do is create new IFO and BUP files that will provide basic navigation in and out of your "dummy" VOBs. You will use IFOEdit, but don't worry; you'll be using one of its "automatic" modes that won't require you to edit HEX or anything even remotely scary.

Start IFOEdit.
[list=6] In IFOEdit, click on the "Create IFOs" button. In the dialog box that appears, click on "Create a PGC for each VobID" and "Create Chapter for Each Cell." In the "Output Stream" section, click on the button to the right of "1st VOB of Title Set" and select the first VOB dummy file (VTS_02_0.VOB in this example). On the next line, specify "Destination Directory for IFO files" by clicking on the box to the right of the text box. Pick an empty directory somewhere on your computer.
Click on OK to create the new IFO and BUP files.
Close IFOEdit.
In Explorer, rename the two files that were just created. Give them names that match exactly the IFO and BUP files that you moved in step four above (VTS_02_0.IFO and VTS_02_0.BUP in this example). Move these two files into the VIDEO_TS directory with the rest of the movie. You're pretty much finished.[/list=6]
As this point, you just fire up DVD Shrink, and proceed as normal for a "Full Disk" backup.

Once DVD Shrink has finished looking over your files, you will immediately notice that little or no compression is required (you just got rid of almost half of what was on the disk, after all). If any compression is still required, you can probably just delete an unused audio channel, or shrink the menus, and end up with a movie that doesn't need compression at all.

The neat thing about this procedure is that because there is almost no compression required, DVD Shrink finishes in just a few minutes, especially if you shrink from one disk to another disk (it took five minutes total for my DVD because I only had to shrink about 100 Mbytes of menus and extras. Everything else was set to "No Compression").

Hope this works for you! :) This same technique may also work for eliminating other parts of the DVD without resorting to still pictures. The main requirement is that the element you want to delete should be contained in one contiguous VOB set.

2COOL
26th January 2004, 12:07
@johnmeyer

Thanks for contribution but I have a question to ask.

Originally posted by johnmeyer
I created this guide because I find that lots of DVDs have both the widescreen and the fullscreen version of the movie on the same disk. I only want to backup one of these, but I'd like to keep the extras, and I would like to keep the menus.

The neat thing about this procedure is that because there is almost no compression required, DVD Shrink finishes in just a few minutes, especially if you shrink from one disk to another disk (it took five minutes total for my DVD because I only had to shrink about 100 Mbytes of menus and extras. Everything else was set to "No Compression").

With my knowledge and experiences on DVDs with two aspect ratios, it's very rare that you would have a need to use DVD Shrink or another transcoder afterwards. I've only read one instance but I don't have the DVD to prove it. Well anyways, your end product is what you stated. Keeping one version of the movie, extras, and menus. Even the aspect ratio menu. I know you have perused through my title stripping guides and just blanking out the unwanted version's titleset VOBs, I can still achieve the same results like you did. If quicker processing time is what you were after, my guides can do it in a under a minute if you are proficient enough to do it by memory. 99.9% of the time, just getting rid of one version drops the whole DVD to fit on a blank DVD-R. If per chance I needed to shrink the movie some more, I would just strip out any unwanted audio streams with IfoEdit.

Again, what I'm trying to say is...why use DVD Shrink, in your guide, for all DVDs that have widescreen and fullscreen versions? All you really need 99.9% of the time is IfoEdit and a single blank VOB handy.

Just my 2 cents.

johnmeyer
26th January 2004, 17:40
Why still use DVD Shrink?

I agree that in most cases where a DVD contains both versions of the movie, eliminating one will let you fit everything on one disk. However, to give a specific example, "Freaky Friday" is still too big after eliminating the fullscreen.

Why not use IFOEdit to eliminate a few additional items? Simple. IFOEdit is an amazingly difficult and error-prone tool. I know many operations that will crash it right in the middle of an operation (try cutting and pasting HEX values, for instance). DVD Shrink, by contrast, has a reasonably friendly UI, seems quite stable, and doesn't seem to "break" anything. In fact, I suspect the reason that DVDShrink didn't include complete removal of features (rather than merely shrinking to still pictures) is that it meant that he could keep the maximum playability across a wide range of DVD players.

I make no such claims with my guide. I don'g think my "recipe" will break any of the navigation (it works on my Pioneer DV-525), but I wouldn't want to put big money on that claim either.

2COOL
26th January 2004, 19:17
Originally posted by johnmeyer
Why not use IFOEdit to eliminate a few additional items? Simple. IFOEdit is an amazingly difficult and error-prone tool. I know many operations that will crash it right in the middle of an operation (try cutting and pasting HEX values, for instance).
I concur that IfoEdit is not bug free but most people I know who have used IfoEdit many times knows what they are, like authoring NTSC movies for example. The author, Derrow, doesn't have an informative FAQ on IfoEdit for all cases, nor does he has guides for every procedure. I know about the cut-and-paste in hexedit Module. In fact I found the hard way during my earlier stages of backing up my DVDs but again, it was not officially claimed by Derrow. No biggie. I just accepted that you can't do it and pressed on. In all my IfoEdit guides, if hex-editing was to be done, I always mention to manually enter them in. It's not that hard to do. Besides, in my title stripping guides, there are NO hex-editing involved. Even removing streams or VOB IDs in VOB extras doesn't have any hex-editing. I think your hexediting claim may have been while you were trying to get rid of the Aspect Ratio Menu.

Just to make my message clear to all others who hexedit in IfoEdit...

Do not cut-and-paste in hexedit module. Manually input your new values in. ;)

johnmeyer
26th January 2004, 20:36
Do not cut-and-paste in hexedit module. Manually input your new values in

Actually, since many operations require entering HEX, and often it is the same or similar command to the HEX in the previous operation, cut and paste is almost required if you are going to get something done quickly, and with a minimum of errors.

Fortunately, there is an excellent workaround to the IFOEdit paste crash bug.

First, double click on an item that requires HEX editing (like something in the PGC Command Table). This brings up the HexEdit Module.

Second, press the tab key twice. This positions the cursor at the beginning of the hex field.

Third, press and hold the shift key and then press the end key once, and then press the right arrow key once. Release the shift key.

Finally, press Ctrl-C to copy the hex value. Exit this dialog box.

To paste the value you just copied, repeate the above process, but press Ctrl-V to paste in the last step.

It turns out that bug is caused by having a paste are that goes beyond the last hex value. If you use a mouse to select the paste area, it is all too easy to select an area that is "out of bounds" which then causes IFOEdit to immediately crash. Using the keyboard shortcuts instead always gives you exactly the "right size" copy or paste area. I've never had a crash since I figured this out.

In order to edit the command tables to get around the lack of "end actions" in Sony's "DVD Architect" (which is what my previous guide is about), you pretty much have to cut and paste, or you'll go nuts.

geffroman
26th January 2004, 23:06
Originally posted by johnmeyer
This guide uses:


Make copies of this "dummy" VOB file, and then rename each copy to match the names of each of the VOB files for your full screen movie (i.e., for my example, the names I just listed above).
Move your fullscreen movie VOB files to some other folder (no use deleting them until you are sure everything is OK). Also, move the IFO and BUP files for that titleset as well (VTS_02_0.IFO and VTS_02_0.BUP in this example).
Now, move the dummy files you just created into the VIDEO_TS folder with the rest of your movie.
[/list=1]


I don't see how this gets you anything but trouble... I only see this working if there is NO navigation in the IFO you removed.

You are using SHRINK to achieve MAX COMPATIBILITY... If all you want is one version of the movie GONE and don't want to do the complicated task of eliminating the Aspect Ratio menus then do this:

Use 2COOLs guide to SKIP THE UNWANTED TITLE SET by simply changing post commands to precommands with IFOEDIT (NO stripping & no file swapping). Sometimes you need to adjust a BREAK which takes a second only. If you can double click your mouse and change a 1 to a 2 with your keyboard you can do the sometimes required HEX Edit.

THEN open DVD SHRINK to process movie, eliminating sounds tracks, subtitles and apply STILL PICTURES to the unwanted version of the movie.

There is value in skipping STRIPPING to keep this idiot proof, so I see your point on that. However, removing IFO files is more dangerous than stripping so I say you need some level of IFOEDIT to do a proper job on bypassing the movie version you choose.

Newbies should know that Neither of the methods mentioned in this thread will eliminate the WIDESCREEN / FULLSCREEN menus from coming up. All this does is get rid of unwanted version of movie. The menu will still be there. The buttons will still be there. But when you select the version of the movie you DON'T want it just won't play.

If you want a totally idiot proof way to do this check this out:

Tools needed:
MenuEdit
DVD Shrink

1) - In MenuEdit Open all VOBs that start with xxxxxxxx0.VOB (x = being anything)
2) - Find your aspect ratio menu. (Most of the time there is only one but Look in all xxxxxxxx0.VOB files for multiples of this menu.)
3) - Select the button for the version you want GONE. Click delete. (Repeat for any other duplicate menus you find)

4) - Open your movie in DVD SHRINK run as usual except this time apply STILL images and remove all sound and subtitle for the version of the movie you want GONE.

DONE. Idiot Proof.

Now if you want a quality finished disc that looks like there was NEVER an aspect ration menu and runs seamlessly, you need to check out 2C:):)Ls guide on aspect menu removal. (http://forum.doom9.org/showthread.php?s=&threadid=67564) It is NOT for the inexperienced. But it IS great fun and achieves a tremendous result if you choose to learn more about DVD editing.

My three cents... Jeff

2COOL
26th January 2004, 23:50
Originally posted by johnmeyer
Fortunately, there is an excellent workaround to the IFOEdit paste crash bug.

First, double click on an item that requires HEX editing (like something in the PGC Command Table). This brings up the HexEdit Module.

Second, press the tab key twice. This positions the cursor at the beginning of the hex field.

Third, press and hold the shift key and then press the end key once, and then press the right arrow key once. Release the shift key.

Finally, press Ctrl-C to copy the hex value. Exit this dialog box.

To paste the value you just copied, repeate the above process, but press Ctrl-V to paste in the last step. @johnmeyer

You actually inspired me to find a quicker workaround for a copying and pasting in the hex module. I really learned something out of this. I did kinda made me feel stupid after the fact.

When you select the 8-byte hex in the hexedit module and do a right click, you'll get your pop-up menu with the usual COPY and PASTE options. Well, that COPY and PASTE don't work correctly and it's buggy! So, instead of what you are proposing, there's a simpler way to COPY and paste. Just highlight the 8 bytes with your mouse cursor and then do a Ctrl-C to copy.

Go to another command's hex, highlight that 8 bytes of hex with cursor again and then do a Ctrl-V to paste.

It's that simple and way quicker. All this time, that pop-up menu was the bug!:angry: I should've known long ago that I could've just did it the way I mentioned. Oh well...

Anyways, come to think of it, I rarely need to copy and paste hex values. I usually have to hexedit the original into something different that's not available on the "Edit Command" menu.

If you use a mouse to select the paste area, it is all too easy to select an area that is "out of bounds" which then causes IFOEdit to immediately crash.If you want it to be idiot proof, then just have your Hex checkbox checked and have the others unchecked in the hexedit module. ;)

johnmeyer
28th January 2004, 23:01
When you select the 8-byte hex in the hexedit module and do a right click, you'll get your pop-up menu with the usual COPY and PASTE options. Well, that COPY and PASTE don't work correctly and it's buggy! So, instead of what you are proposing, there's a simpler way to COPY and paste. Just highlight the 8 bytes with your mouse cursor and then do a Ctrl-C to copy.

Go to another command's hex, highlight that 8 bytes of hex with cursor again and then do a Ctrl-V to paste.

It's that simple and way quicker. All this time, that pop-up menu was the bug! I should've known long ago that I could've just did it the way I mentioned. Oh well...


Actually this is not a good idea. The first part is OK to do (the copy part). However, the second part will get you into trouble. What happens is that is you make your selection just a little too long so that the highlight area begins to encroach on the "...." to the right of the hex codes (assuming you have a NOP), it will crash. It requires a really steady hand to keep this from happening. Thus, the bug is a selection bug.

The only safe method -- assuming you are going to cut/paste -- is to use the keyboard shortcuts.

2COOL
29th January 2004, 00:53
Originally posted by johnmeyer
Actually this is not a good idea. The first part is OK to do (the copy part). However, the second part will get you into trouble. What happens is that is you make your selection just a little too long so that the highlight area begins to encroach on the "...." to the right of the hex codes (assuming you have a NOP), it will crash. It requires a really steady hand to keep this from happening. Thus, the bug is a selection bug. that's why I mentioned about the checkboxes in Hexedit module in my previous post.

...just have your Hex checkbox checked and have the others unchecked in the hexedit module. this would eliminate the over-selection if you don't have a steady hand.