Log in

View Full Version : Correcting Menu Sub-Title Buttons After Stripping Unwanted Subtitle(s)


2COOL
15th May 2003, 07:56
Correcting Menu Sub-Title Buttons After Stripping Unwanted Subtitle(s)

So you stripped a subtitle stream and it so happens to be one in the middle of a group of them. So after you save and play your movie and you then select and test all your subtitle buttons in your menu, you find that some of them don’t work the way they supposed to. Especially the ones that you kept. In this guide, I will show you what happens from start to end and how to fix your sub-title buttons. I did a previous guide on Correcting Language Buttons After Stripping Audio(s) (http://forum.doom9.org/showthread.php?s=&threadid=46909), might as well do one for subtitles.

Below is an example of what information you will see in an original movie IFO on Sub-Titles or Subpictures before doing any stripping. The subtitles are will be stripped in example are SubPicture 2: Français and SubPicture 4: Thai.

In VTS overview...

VTS overview:

Menu attributes:

Title Set (Movie) attributes:
...SubPicture 1: English....(2-bit rle )(ID:0x20)
...SubPicture 2: Français...(2-bit rle )(ID:0x21)
...SubPicture 3: Chinese....(2-bit rle )(ID:0x22,0x23)
...SubPicture 4: Thai.......(2-bit rle )(ID:0x24,0x25)

In VTS_*_0.IFO / VTS_PGCITI / VTS_PGC_1...

Sub-picture stream 1 status..........................-2147483648...[80000000] English
..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...[80010100] Français
..Sub-picture stream 2 uses stream nr.(4:3):.........0
..Sub-picture stream 2 uses stream nr.(wide):........1
..Sub-picture stream 2 uses stream nr.(letterbox):...1
..Sub-picture stream 2 uses stream nr.(pan&scan):....0
Sub-picture stream 3 status..........................-2147351808...[80010100] Chinese
..Sub-picture stream 3 uses stream nr.(4:3):.........0
..Sub-picture stream 3 uses stream nr.(wide):........1
..Sub-picture stream 3 uses stream nr.(letterbox):...1
..Sub-picture stream 3 uses stream nr.(pan&scan):....0
Sub-picture stream 4 status..........................-2147220224...[80010100] Thai
..Sub-picture stream 4 uses stream nr.(4:3):.........0
..Sub-picture stream 4 uses stream nr.(wide):........1
..Sub-picture stream 4 uses stream nr.(letterbox):...1
..Sub-picture stream 4 uses stream nr.(pan&scan):....0
Sub-picture stream 5 status..........................0.............[00000000]
.
.
.
Sub-picture stream 32 status.........................0.............[00000000]


AFTER STRIPPING

Here’s what you’ll get below when SubPicture streams 2 (Français) and 4 (Thai) were stripped out. Pay close attention to the stream shift of #3 into our new stream #2 spot.

VTS overview:

Menu attributes:

Title Set (Movie) attributes:
...SubPicture 1: English....(2-bit rle )(ID:0x20)
...SubPicture 2: Chinese....(2-bit rle )(ID:0x22,0x23)

Sub-picture stream 1 status..........................-2147483648...[80000000] English
..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..........................-2147351808...[80010100] Chinese
..Sub-picture stream 2 uses stream nr.(4:3):.........0
..Sub-picture stream 2 uses stream nr.(wide):........1
..Sub-picture stream 2 uses stream nr.(letterbox):...1
..Sub-picture stream 2 uses stream nr.(pan&scan):....0
Sub-picture stream 3 status..........................0.............[00000000]
Sub-picture stream 4 status..........................0.............[00000000]
Sub-picture stream 5 status..........................0.............[00000000]
.
.
.
Sub-picture stream 32 status.........................0.............[00000000]

If you had selected selected Chinese in your Subtitle option menu, you will get English because since there is no stream status available for #3, it defaults to #1, which is English. We need to manually correct this if we want the SubTitle Menu to work properly. It’s really easy.

CORRECTING THE STREAM STATUS

Starting from the last stream, double left click to get value window. The value should be highlighted by default. Right click and select Cut or Control+C to cut the value. Now go down to the original stream status where it was and double-left click to pull up the value window again. WE need to paste the our value in here so Right click and select Paste or Control+V. Repeat this for other subtitles if you had stripped more than 1. Basically, you are putting all existing Subtitles back into their original spots using your original IFO as reference.

NOTE: You may have to check your other PGCs for shifts too if your movie IFO has multiple PGCs. Below is the results of your edits.

VTS overview:

Menu attributes:

Title Set (Movie) attributes:
...SubPicture 1: English....(2-bit rle )(ID:0x20)
...SubPicture 3: Chinese....(2-bit rle )(ID:0x22,0x23)


Sub-picture stream 1 status..........................-2147483648...[80000000] English
..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..........................0.............[00000000]
Sub-picture stream 3 status..........................-2147351808...[80010100] Chinese
..Sub-picture stream 3 uses stream nr.(4:3):.........0
..Sub-picture stream 3 uses stream nr.(wide):........1
..Sub-picture stream 3 uses stream nr.(letterbox):...1
..Sub-picture stream 3 uses stream nr.(pan&scan):....0
Sub-picture stream 4 status..........................0.............[00000000]
Sub-picture stream 5 status..........................0.............[00000000]
.
.
.
Sub-picture stream 32 status.........................0.............[00000000]

Now all you need to do is save your IFO and Press DVDPlay to test your Sub-Title buttons.

AirTimeDMC-12
17th May 2003, 22:48
I've just used your quide on Shaft and it almost works perfect.

It corrects the buttons perfect and I had no problems at a standalone. However, a softwareplayer does! When running the main movie, a softwareplayer allows you to change between audio and subs without accessing the menu first. After using your guide this doesn't work anymore. Even the dvdplayer of ifoedit had some difficulty switching between subs.

ORIGINAL:

[0000000c] Audio stream 1 status 32768 [8000]
Audio stream 1 uses stream nr.: 0

[0000000e] Audio stream 2 status 33024 [8100]
Audio stream 2 uses stream nr.: 1

[00000010] Audio stream 3 status 0 [0000]
[00000012] Audio stream 4 status 0 [0000]
[00000014] Audio stream 5 status 0 [0000]
[00000016] Audio stream 6 status 0 [0000]
[00000018] Audio stream 7 status 0 [0000]
[0000001a] Audio stream 8 status 0 [0000]

[0000001c] Sub-picture stream 1 status -2147483648 [80000000]
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
[00000020] Sub-picture stream 2 status -2147417856 [80010100]
Sub-picture stream 2 uses stream nr.(4:3): 0
Sub-picture stream 2 uses stream nr.(wide): 1
Sub-picture stream 2 uses stream nr.(letterbox): 1
Sub-picture stream 2 uses stream nr.(pan&scan): 0
[00000024] Sub-picture stream 3 status -2147352064 [80020200]
Sub-picture stream 3 uses stream nr.(4:3): 0
Sub-picture stream 3 uses stream nr.(wide): 2
Sub-picture stream 3 uses stream nr.(letterbox): 2
Sub-picture stream 3 uses stream nr.(pan&scan): 0
[00000028] Sub-picture stream 4 status -2147286272 [80030300]
Sub-picture stream 4 uses stream nr.(4:3): 0
Sub-picture stream 4 uses stream nr.(wide): 3
Sub-picture stream 4 uses stream nr.(letterbox): 3
Sub-picture stream 4 uses stream nr.(pan&scan): 0
[0000002c] Sub-picture stream 5 status -2147220480 [80040400]
Sub-picture stream 5 uses stream nr.(4:3): 0
Sub-picture stream 5 uses stream nr.(wide): 4
Sub-picture stream 5 uses stream nr.(letterbox): 4
Sub-picture stream 5 uses stream nr.(pan&scan): 0
[00000030] Sub-picture stream 6 status -2147154688 [80050500]
Sub-picture stream 6 uses stream nr.(4:3): 0
Sub-picture stream 6 uses stream nr.(wide): 5
Sub-picture stream 6 uses stream nr.(letterbox): 5
Sub-picture stream 6 uses stream nr.(pan&scan): 0
[00000034] Sub-picture stream 7 status -2147088896 [80060600]
Sub-picture stream 7 uses stream nr.(4:3): 0
Sub-picture stream 7 uses stream nr.(wide): 6
Sub-picture stream 7 uses stream nr.(letterbox): 6
Sub-picture stream 7 uses stream nr.(pan&scan): 0
[00000038] Sub-picture stream 8 status -2147023104 [80070700]
Sub-picture stream 8 uses stream nr.(4:3): 0
Sub-picture stream 8 uses stream nr.(wide): 7
Sub-picture stream 8 uses stream nr.(letterbox): 7
Sub-picture stream 8 uses stream nr.(pan&scan): 0
[0000003c] Sub-picture stream 9 status -2146957312 [80080800]
Sub-picture stream 9 uses stream nr.(4:3): 0
Sub-picture stream 9 uses stream nr.(wide): 8
Sub-picture stream 9 uses stream nr.(letterbox): 8
Sub-picture stream 9 uses stream nr.(pan&scan): 0
[00000040] Sub-picture stream 10 status -2146891520 [80090900]
Sub-picture stream 10 uses stream nr.(4:3): 0
Sub-picture stream 10 uses stream nr.(wide): 9
Sub-picture stream 10 uses stream nr.(letterbox): 9
Sub-picture stream 10 uses stream nr.(pan&scan): 0
[00000044] Sub-picture stream 11 status -2146825728 [800a0a00]
Sub-picture stream 11 uses stream nr.(4:3): 0
Sub-picture stream 11 uses stream nr.(wide): 10
Sub-picture stream 11 uses stream nr.(letterbox): 10
Sub-picture stream 11 uses stream nr.(pan&scan): 0
[00000048] Sub-picture stream 12 status -2146759936 [800b0b00]
Sub-picture stream 12 uses stream nr.(4:3): 0
Sub-picture stream 12 uses stream nr.(wide): 11
Sub-picture stream 12 uses stream nr.(letterbox): 11
Sub-picture stream 12 uses stream nr.(pan&scan): 0
[0000004c] Sub-picture stream 13 status -2146694144 [800c0c00]
Sub-picture stream 13 uses stream nr.(4:3): 0
Sub-picture stream 13 uses stream nr.(wide): 12
Sub-picture stream 13 uses stream nr.(letterbox): 12
Sub-picture stream 13 uses stream nr.(pan&scan): 0
[00000050] Sub-picture stream 14 status -2146628352 [800d0d00]
Sub-picture stream 14 uses stream nr.(4:3): 0
Sub-picture stream 14 uses stream nr.(wide): 13
Sub-picture stream 14 uses stream nr.(letterbox): 13
Sub-picture stream 14 uses stream nr.(pan&scan): 0
[00000054] Sub-picture stream 15 status -2146562560 [800e0e00]
Sub-picture stream 15 uses stream nr.(4:3): 0
Sub-picture stream 15 uses stream nr.(wide): 14
Sub-picture stream 15 uses stream nr.(letterbox): 14
Sub-picture stream 15 uses stream nr.(pan&scan): 0
[00000058] Sub-picture stream 16 status -2146496768 [800f0f00]
Sub-picture stream 16 uses stream nr.(4:3): 0
Sub-picture stream 16 uses stream nr.(wide): 15
Sub-picture stream 16 uses stream nr.(letterbox): 15
Sub-picture stream 16 uses stream nr.(pan&scan): 0
[0000005c] Sub-picture stream 17 status 0 [00000000]



AFTER STRIPPING AND USING 2COOL's GUIDE:

[0000000c] Audio stream 1 status 0 [0000]

[0000000e] Audio stream 2 status 33024 [8100]
Audio stream 2 uses stream nr.: 1

[00000010] Audio stream 3 status 0 [0000]
[00000012] Audio stream 4 status 0 [0000]
[00000014] Audio stream 5 status 0 [0000]
[00000016] Audio stream 6 status 0 [0000]
[00000018] Audio stream 7 status 0 [0000]
[0000001a] Audio stream 8 status 0 [0000]

[0000001c] Sub-picture stream 1 status 0 [00000000]
[00000020] Sub-picture stream 2 status 0 [00000000]
[00000024] Sub-picture stream 3 status 0 [00000000]
[00000028] Sub-picture stream 4 status 0 [00000000]
[0000002c] Sub-picture stream 5 status 0 [00000000]
[00000030] Sub-picture stream 6 status -2147154688 [80050500]
Sub-picture stream 6 uses stream nr.(4:3): 0
Sub-picture stream 6 uses stream nr.(wide): 5
Sub-picture stream 6 uses stream nr.(letterbox): 5
Sub-picture stream 6 uses stream nr.(pan&scan): 0
[00000034] Sub-picture stream 7 status 0 [00000000]
[00000038] Sub-picture stream 8 status 0 [00000000]
[0000003c] Sub-picture stream 9 status -2146957312 [80080800]
Sub-picture stream 9 uses stream nr.(4:3): 0
Sub-picture stream 9 uses stream nr.(wide): 8
Sub-picture stream 9 uses stream nr.(letterbox): 8
Sub-picture stream 9 uses stream nr.(pan&scan): 0
[00000040] Sub-picture stream 10 status 0 [00000000]
[00000044] Sub-picture stream 11 status 0 [00000000]
[00000048] Sub-picture stream 12 status 0 [00000000]
[0000004c] Sub-picture stream 13 status 0 [00000000]
[00000050] Sub-picture stream 14 status 0 [00000000]
[00000054] Sub-picture stream 15 status 0 [00000000]
[00000058] Sub-picture stream 16 status 0 [00000000]
[0000005c] Sub-picture stream 17 status 0 [00000000]

2COOL
18th May 2003, 00:06
Hmmm...

I didn't put into my testing of stripping out Sub-picture stream 1 too. The DVDs I've dealt with had English as stream 1 so I strip any other unwanted ones after that.

I did some research and this is what I found.

"If no subpicture streams are available that match the viewer's initial subpicture code or language code extesnion, the player will display the first existing subpicture stream."

AirTimeDMC-12
18th May 2003, 13:04
@2Cool,

I think this should be it. I don't know for sure because I've only tested it on Shaft so far.

After your stripping, you should keep the setting made by IfoEdit. You also should correct your menubuttons as giving in your quide. It's a bit strange because you'll have now every stream double in your VTS-overview, but it works.


My VTS-overview looks like this now:

Title Set (Movie) attributes:
Video: MPEG-2 720x576 (PAL) (PAL 625/50) (16:9) (letterboxed)

Audio 1: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x81)
Audio 2: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x81)

SubPicture 1: English (2-bit rle ) (ID: 0x25)
SubPicture 2: Nederlands (2-bit rle ) (ID: 0x28)
SubPicture 6: English (2-bit rle ) (ID: 0x25)
SubPicture 9: Nederlands (2-bit rle ) (ID: 0x28)


RED = Done by me to work properly in a softwareplayer
BLUE = Done by IfoEdit after stripping[/color]

AirTimeDMC-12
19th May 2003, 17:33
Originally posted by AirTimeDMC-12
@2Cool,

I think this should be it. I don't know for sure because I've only tested it on Shaft so far.

After your stripping, you should keep the setting made by IfoEdit. You also should correct your menubuttons as giving in your quide. It's a bit strange because you'll have now every stream double in your VTS-overview, but it works.


My VTS-overview looks like this now:

Title Set (Movie) attributes:
Video: MPEG-2 720x576 (PAL) (PAL 625/50) (16:9) (letterboxed)

Audio 1: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x81)
Audio 2: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x81)

SubPicture 1: English (2-bit rle ) (ID: 0x25)
SubPicture 2: Nederlands (2-bit rle ) (ID: 0x28)
SubPicture 6: English (2-bit rle ) (ID: 0x25)
SubPicture 9: Nederlands (2-bit rle ) (ID: 0x28)


RED = Done by me to work properly in a softwareplayer
BLUE = Done by IfoEdit after stripping[/color]



Sorry guys, my solution doent's work either! I checked also if the 'incorrect buttons' work after stripping, they don't! If I select the first button the English sub pops up in the menu. The dutch sub doesn't!

yamyam
13th October 2003, 02:02
i am also having problems on my standalone, i had 6 subpicture streams, english streams were subpicture 1 and subpicture 4.

I stripped sub streams 2 and 3 which shifted stream 4 up to stream 2 now this works fine switching streams while the movie is playing but the sub button for english stream 4 defaults to stream 1.

If i shift it to stream 2 in my ifo then the button works fine but my player is unable to access stream 4 while the movie is playing, since there is no stream 2 it wont select passed stream1.

Basically what im saying is is there dummy commands i can put into the ifo to make it think there is a stream 2 and 3.

Or alternativly leave it as stream 2 (where ifoedit shifted it to) and correct the sub menu button to point to stream 2 instead of 4 but what can i edit it with i tried menuedit but could only replace with NOP. Can i edit the ifo for this.

Thankyou.

2COOL
13th October 2003, 13:52
@yamyam

Try this newer guide (http://forum.doom9.org/showthread.php?s=&threadid=60444) I wrote on non consecutive stripped streams.