Log in

View Full Version : sub-pic attribute and pre-command


senderj
2nd October 2005, 12:27
I replaced the spanish (es) subtitle with chinese (zh). It works well when I play it with software ifo player.

(1) When I replace the FBI warning with PgcEdit, I found that there are some pre-commands in some pgc like this:

if (gprm(5)==25971("es")) then {set gprm(3)=(mov)2}

Where can I find the value of "zh" to replace the 25971?

(2) When I look at the IFO with ifoEdit, the sub-pic attribute is different from the original IFO. It's in

VIDEO_TS.IFO, VMG-VTS-ATRT,
VTS Title Sub-picture Stream 1 attribute (in fact all 3)
original is 0x01 00 65 6E 00 01
reauthored 0x01 00 65 6E 00 00

Should I patch the last byte to 01 then?

ukendt
2nd October 2005, 22:13
Just blank the cell commands will be untouched.
I use PGCedit to manage subs too, it's easier. Give it a try

senderj
3rd October 2005, 14:19
Can you elaborate on your answer?

For the first question, I need the value corresponding to zh to replace the 25971 of es.

For the second question, I need to decide whether I should remain as 00 or change it to 01.

Can you help me on these?

ukendt
3rd October 2005, 15:33
(1) When I replace the FBI warning with PgcEdit, I found that there are some pre-commands in some pgc like this:
Just replace the cell (with a warning) with a blank one, do not concern about the rest
(2) When I look at the IFO with ifoEdit, the sub-pic attribute is different from the original IFO. It's in
Open the main movie in PGCEdit . On the left hand U'll see:
Sub-picture
Color lookup table
Make your choice of color here.