Log in

View Full Version : How to fix post-IfoEdit "Strip Streams"?


FredThompson
11th January 2006, 05:37
I just used IfoEdit to strip Angle 2 from a 2-angle PGC. The result is only stream 1 but the angle option is still available during playback.

I've tried to remove all of the French and Spanish portions. Angle 1 video is used for English and Spanish audio. Angle 2 was for French audio and it also had French titles. French and Spanish audio is long gone, so is the angle 2 video. The goal is to get rid of this junk so DVD-RB won't puke.

The pre commands are:
[00 A1 00 0E 00 63 00 07] 1 if ( gprm(14) == 99 ) then { Goto line 7 }
[30 38 00 00 01 83 0E 00] 2 if ( gprm(14) != gprm(0) ) then { (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1 }
[71 00 00 0F 00 01 00 00] 3 Set gprm(15) =(mov) 1
[56 00 00 00 04 00 00 00] 4 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
[71 00 00 0E 00 01 00 00] 5 Set gprm(14) =(mov) 1
[00 02 00 00 00 00 00 00] 6 Break
[51 00 00 80 80 81 00 00] 7 (SetSTN) Set Audio stream = 0 ; Set Sub-picture stream = 0, off ; Set Angle = 1
[71 00 00 01 66 72 00 00] 8 Set gprm(1) =(mov) 26226 ("fr")
[51 20 00 81 80 82 01 90] 9 if ( gprm(1) == sprm(16:Preferred audio language) ) then { (SetSTN) Set Audio stream = 1 ; Set Sub-picture stream = 0, off ; Set Angle = 2 }
[71 00 00 01 65 73 00 00] 10 Set gprm(1) =(mov) 25971 ("es")
[51 20 00 82 80 81 01 90] 11 if ( gprm(1) == sprm(16:Preferred audio language) ) then { (SetSTN) Set Audio stream = 2 ; Set Sub-picture stream = 0, off ; Set Angle = 1 }
[71 00 00 0E 00 01 00 00] 12 Set gprm(14) =(mov) 1
[56 00 00 00 14 00 00 00] 13 (SetHL_BTN) Set Highlighted Button =(mov) 5120 (button 5)
[30 08 00 00 01 83 00 00] 14 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1

post commands are:
[56 00 00 00 04 00 00 00] 1 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
[71 00 00 0E 00 01 00 00] 2 Set gprm(14) =(mov) 1
[30 08 00 00 01 83 00 00] 3 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1

How should lines 8-11 in the pre commands be modified so they don't reference the French or Spanish audio? The default audio track is English and the menu buttons to chose French or Spanish have already been deleted. There IS a second audio stream of director's comments in English. There's no way a viewer should be able to specify another language.

On a related note, how can the IFOs be scanned to find any other remnants of angle 2 which should have been removed?

Trahald
11th January 2006, 05:55
? dvd-rb should be able to handle such a title without pre-processing.

those lines shouldnt do anything as long as youve really stopped access to audio switching. so removing them is fine.. leaving them just as fine.

i would also set PUO of no audio or angle switching .

FredThompson
11th January 2006, 06:12
DVD-RB Pro doesn't properly work with multiple angles yet. It croaks on the 4-angle Metallica S&M set and a few other titles. I'm not the only person who's seen problems during playback after switching streams. I'd rather properly strip the junk than take the chance DVD-RB Pro will get confused and muck it up.

PUO isn't really what I'm looking for but it is a clever suggestion. I want to get rid of whatever is telling the player there are 2 angles.

r0lZ
11th January 2006, 15:40
You can also force the SetSTN commands to use the streams that are still present. For example, changeif ( gprm(1) == sprm(16:Preferred audio language) ) then { (SetSTN) Set Audio stream = 2 ; Set Sub-picture stream = 0, off ; Set Angle = 1 }toif ( gprm(1) == sprm(16:Preferred audio language) ) then { (SetSTN) Set Audio stream = 1 ; Set Sub-picture stream = 0, off }

On a related note, how can the IFOs be scanned to find any other remnants of angle 2 which should have been removed?You could use the search box in the lower right corner of the main PgcEdit window. Type in "angle" and click the All button.
However, you will not find the angle definitions in the cells list and the VMG_TT_SRPT table. Anyway, these flags should have been removed by IfoEdit.

FredThompson
12th January 2006, 01:17
Well, IfoEdit doesn't catch all the angle stuff on this title, R1 Oliver & Company Special Edition, even from a fresh rip. I changed the VMG_PTT_SRPT setting to 1 stream and nulled, so to speak, the 2 language stream commands as you suggested. That seems to have worked.

PgcEdit shows "-" in the A column for each cell. Didn't see a way to edit that with IfoEdit, either. We'll see what happens after rebuilding. Thanks for the help and advice.

r0lZ
12th January 2006, 11:48
PgcEdit shows "-" in the A column for each cell. Didn't see a way to edit that with IfoEdit, either.This means that the Angle flags of the cells are not set. It's normal after an IfoEdit's Strip Angle.

BTW, in PgcEdit, you can edit the Angle flags by clicking on the Cell Type Flags buttons.

Trahald
12th January 2006, 20:06
@rolz
im a diehard ifoedit fan and what ive found out is that pgcedit can do all it does.. and more.. and sometimes better. my first instinct is to load ifoedit but then i goto pgcedit and its just a matter of getting used to the different interface. (i got some 'somethings wrong' messages while doing some editing with ifoedit so i went over to pgcedit and was able to do what i wanted without issues).. i appreciate the great work youve done with the program. i was wondering if you were contemplating a strip angle/ilvu option at all.

r0lZ
12th January 2006, 20:32
Thanks for your enthousiasm, Trahald.

No, I will not implement any strip function. PgcEdit is an IFO editor (though there are some functions related to the VOB files.) Furthermore, Tcl/Tk is a relatively slow language, and is therefore not suitable to parse a large amount of data, such as VOB files.

IMO, a strip angle function is something for VobBlanker, as it is focussed on VOB editing. I think Jsoto has it in his todo list.

jsoto
12th January 2006, 21:02
Yes it is in my todo....but currently I've having a vacation... :)

I'm going to do some minor things in pgcDemux, and probably then I'll start to work with ILV and angles in VobBlanker...

jsoto