Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > IFO/VOB Editors

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th August 2003, 14:20   #1  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Correcting Stripped Stream Attributes Left After DVDShrink Transcoding

Correcting Stripped Stream Attributes Left AFTER DVDShrink Transcoding
Courtesy of 2CL

UPDATED: January 9, 2004 This guide is solely for v2.3 and 3.0 beta 5. I had dvdshrink implement my algorithm so all is good now.
UPDATED: September 4, 2003

This guide has been updated by splitting it to two sections, NON-CONSECUTIVE and CONSECUTIVE. If you have stripped your default stream or you stripped in-between streams then use the NON-CONSECUTIVE method in this post. If you had kept your default stream and a consecutive order of streams that followed, then you would use the CONSECUTIVE method, which is documented 2 posts down in this thread

NON-CONSECUTIVE METHOD

DVDShrink does a great job on stripping streams but after processing, it doesn’t correct the Title Set (Movie) attributes section in our IFO. In fact, if the default audio and subpicture streams were stripped, no audio will be heard or subtitles will be shown. Below is an example before and after DVDShrink stripped every stream except English. (Figure 1.) Using IFOedit,I opened up my IFO and browsed to its VTS Overview / Title Set (Movie) attributes:.
  • FIGURE 1.

    VTS overview:

    Title Set (Movie) attributes:
    ..Video: MPEG-2 720x480.(NTSC).(NTSC 525/60).(16:9).(letterboxed)
    ..Audio 1:......Yiddish.........(Dolby AC-3) 6ch 48Kbps DRC normal (ID: 0x80)
    ..Audio 2:......English.........(Dolby AC-3) 6ch 48Kbps DRC normal (ID: 0x81)
    ..Audio 3:......English.........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x82)
    ..Audio 4:......Irish...........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x83)
    ..Audio 5:......French..........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x84)
    ..Audio 6:......Samoan..........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x85)
    ..SubPicture 1: Galician........(2-bit rle ).(ID: 0x20)
    ..SubPicture 2: English.........(2-bit rle ).(ID: 0x21)
    ..SubPicture 3: Kazakh..........(2-bit rle ).(ID: 0x22)
    ..SubPicture 4: Lingala.........(2-bit rle ).(ID: 0x23)
    ..SubPicture 5: Arabic..........(2-bit rle ).(ID: 0x24)
    ..SubPicture 6: English.........(2-bit rle ).(ID: 0x25)
    ..SubPicture 7: Estonian........(2-bit rle ).(ID: 0x26)
    ..SubPicture 8: Persian.........(2-bit rle ).(ID: 0x27)
We want it to end up like Figure 2.
  • FIGURE 2.

    VTS overview:

    Title Set (Movie) attributes:
    ..Video: MPEG-2 720x480.(NTSC).(NTSC 525/60).(16:9).(letterboxed)
    ..Audio 2:......English.........(Dolby AC-3) 6ch 48Kbps DRC normal (ID: 0x81)
    ..Audio 3:......English.........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x82)
    ..SubPicture 2: English.........(2-bit rle ).(ID: 0x21)
    ..SubPicture 6: English.........(2-bit rle ).(ID: 0x25)
If we have it like Figure 2, toggling our Audio or Subtitles through our remotes in PowerDVD or our standalones, we would only get English Streams. If it's like Figure 1, we would toggle through each one and the ones that were stripped would only give you no audios or subtitles. Here’s how we fix Figure 1 to be like Figure 2.

Go to your IFO’s / VTS_PGCITI / VTS_PGC_1 and you’ll have something like Figure 3.
  • FIGURE 3.

    Audio stream 1 status..............................32768
    ..Audio stream 1 uses stream nr.:..................0
    Audio stream 2 status..............................33024
    ..Audio stream 2 uses stream nr.:..................1
    Audio stream 3 status..............................33280
    ..Audio stream 3 uses stream nr.:..................2
    Audio stream 4 status..............................33536
    ..Audio stream 4 uses stream nr.:..................3
    Audio stream 5 status..............................33792
    ..Audio stream 5 uses stream nr.:..................4
    Audio stream 6 status..............................34048
    ..Audio stream 6 uses stream nr.:..................5
    Sub-picture stream 1 status.......................-2147483648
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......0
    ..Sub-picture stream 1 uses stream nr.(letterbox): 0
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 2 status.......................-2147417856
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......1
    ..Sub-picture stream 1 uses stream nr.(letterbox): 1
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 3 status.......................-2147352064
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......2
    ..Sub-picture stream 1 uses stream nr.(letterbox): 2
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 4 status.......................-2147286272
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......3
    ..Sub-picture stream 1 uses stream nr.(letterbox): 3
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 5 status.......................-2147220480
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......4
    ..Sub-picture stream 1 uses stream nr.(letterbox): 4
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 6 status.......................-2147154688
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......5
    ..Sub-picture stream 1 uses stream nr.(letterbox): 5
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 7 status.......................-2147088896
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......6
    ..Sub-picture stream 1 uses stream nr.(letterbox): 6
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 8 status.......................-2147023104
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......7
    ..Sub-picture stream 1 uses stream nr.(letterbox): 7
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
The fix we are going to do now is to change all the values of the ones we know we stripped out, to a value of “0” or zero. The ones in BLUE are the English streams that were kept.

Prior to any editing, it is recommended you copy your IFO and BUP to another folder so that you if you mess up in editing, you can always replace your badly edited ones with your originals. If you did this, press your “Get VTS Sectors” button to refresh screen.

Double click on line and enter “0”.

Note: If you have multple PGCs, you must go through all of them and repeat the step above.

You’ll end up like Figure 4 after you had refreshed your screen. The personal trick I do to refresh the screen is to uncheck and check the “Show Reserve Values” checkbox located bottom left of IFOedit. Scroll down to view changes.
  • FIGURE 4.

    Audio stream 1 status..............................0
    Audio stream 2 status..............................33024
    ..Audio stream 2 uses stream nr.:..................1
    Audio stream 3 status..............................33280
    ..Audio stream 2 uses stream nr.:..................2
    Audio stream 4 status..............................0
    Audio stream 5 status..............................0
    Audio stream 6 status..............................0
    Sub-picture stream 1 status........................0
    Sub-picture stream 2 status.......................-2147417856
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......1
    ..Sub-picture stream 1 uses stream nr.(letterbox): 1
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 3 status........................0
    Sub-picture stream 4 status........................0
    Sub-picture stream 5 status........................0
    Sub-picture stream 6 status.......................-2147154688
    ..Sub-picture stream 1 uses stream nr.(4:3):.......0
    ..Sub-picture stream 1 uses stream nr.(wide):......5
    ..Sub-picture stream 1 uses stream nr.(letterbox): 5
    ..Sub-picture stream 1 uses stream nr.(pan&scan):..0
    Sub-picture stream 7 status........................0
    Sub-picture stream 8 status........................0
Now, if you went back to our VTS Overview / Title Set (Movie) attributes:, we now have just like Figure 2. Save your IFO and BUP and test in IFOedit or another software player, like PowerDVD. Since we had stripped the default audio and subpicture streams, the next existing streams will now play/show according to our fix.

Don’t worry about the VIDEO_TS.IFO still showing your stripped streams attributes. We can leave it that way. It’s only the movie’s VTS_*_0.IFO that needed to be fixed.
__________________
2COOL

Last edited by 2COOL; 10th January 2004 at 00:05.
2COOL is offline   Reply With Quote
Old 30th August 2003, 15:13   #2  |  Link
maa
Registered User
 
Join Date: Jun 2003
Posts: 896
Well done for anther great guide !

I actually did it in the Video_ts.ifo and it worked!
Just didn't know how to get rid of the entries in the vts.IFOs.
maa is offline   Reply With Quote
Old 30th August 2003, 18:55   #3  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
CONSECUTIVE METHOD

Here’s an example (Figure 1) looks like in our movie’s VTS_##_0.IFO / VTS overview.
  • FIGURE 1.

    VTS overview:

    Title Set (Movie) attributes:
    ..Video: MPEG-2 720x480.(NTSC).(NTSC 525/60).(16:9).(letterboxed)
    ..Audio 1:......English.........(Dolby AC-3) 6ch 48Kbps DRC normal (ID: 0x80)
    ..Audio 2:......English.........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x81)
    ..Audio 3:......Espanol.........(Dolby AC-3) 6ch 48Kbps DRC normal (ID: 0x82)
    ..Audio 4:......French..........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x83)
    ..SubPicture 1: English.........(2-bit rle ).(ID: 0x20)
    ..SubPicture 2: Espanol.........(2-bit rle ).(ID: 0x21)
    ..SubPicture 3: French..........(2-bit rle ).(ID: 0x22)
We want it to end up like Figure 2, with only English streams kept.
  • FIGURE 2.

    VTS overview:

    Title Set (Movie) attributes:
    ..Video: MPEG-2 720x480.(NTSC).(NTSC 525/60).(16:9).(letterboxed)
    ..Audio 1:......English........(Dolby AC-3) 6ch 48Kbps DRC normal (ID: 0x80)
    ..Audio 2:......English........(Dolby AC-3) 2ch 48Kbps DRC normal (ID: 0x81)
    ..SubPicture 1: English........(2-bit rle ).(ID: 0x20)

So to fix that go to your movie’s VTS_##_.0 IFO / VTSI_MAT. We only kept our 2 English audios and 1 sub-picture so edit the following by double clicking on lines.
  • Number of audio streams in Title (VTSTT_VOBS).........2
    Number of sub-picture streams in Title (VTSTT_VOBS)...1

Go to your VTS overview / Title Set (Movie) attributes: to check your changes. If correct then Save your IFO and BUP.

Now go to your VIDEO_TS.IFO / VMG_VTS_ATRT and do the same for your VTS_# in question.
  • VTS_#: Number of audio streams in Title (VTSTT_VOBS).........2
    VTS_#: Number of sub-picture streams in Title (VTSTT_VOBS)...1

Save your VIDEO_TS.IFO and BUP.

That’s all to it.
__________________
2COOL

Last edited by 2COOL; 14th December 2003 at 02:44.
2COOL is offline   Reply With Quote
Old 1st September 2003, 08:57   #4  |  Link
maa
Registered User
 
Join Date: Jun 2003
Posts: 896
Yep - that stoped them being shown on my stand alone.

In vts_01_0.ifo after your method the streams were still mentioned in VTSI_MAT so I wiped that clean too in the last one I did - in fact I cleaned out Video_ts.ifo and vts_01_0.ifo of all the entries cause it seemed so messy. I wonder why DVD Shrink doesn't remove the entries.
maa is offline   Reply With Quote
Old 1st September 2003, 12:10   #5  |  Link
echooff
Hi Everyone
 
Join Date: May 2003
Location: The Two Rivers
Posts: 762
Way Cool. Good tutorial. Keep the good stuff comin 2COOL. Like your work.
__________________
Live like there is no tomorrow!
Plan for your 100th birthday.
echooff is offline   Reply With Quote
Old 1st September 2003, 22:47   #6  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by maa
In vts_01_0.ifo after your method the streams were still mentioned in VTSI_MAT so I wiped that clean too in the last one I did - in fact I cleaned out Video_ts.ifo and vts_01_0.ifo of all the entries cause it seemed so messy.
If you have kept the default and any consecutive following streams, then you decreasing the number of audio and subtitles in VIDEO_TS and IFO will work. The guide above was to help people who have stripped "non-consecutive" streams using DVD Shrink. Especially when the default streams were removed.
__________________
2COOL

Last edited by 2COOL; 2nd September 2003 at 22:33.
2COOL is offline   Reply With Quote
Old 2nd September 2003, 09:37   #7  |  Link
maa
Registered User
 
Join Date: Jun 2003
Posts: 896
Yes you're right - didn't think of that....
maa is offline   Reply With Quote
Old 5th November 2003, 18:50   #8  |  Link
baddbill
Registered User
 
Join Date: Jan 2002
Posts: 61
Another great guide! Keep up the good work. Whenever I have a problem with a DVD I just look at your guides and you have the answer. Thanks a million.

Bill
baddbill is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.