MLS
29th November 2003, 06:41
Ok, I'm working on a movie and it has 1 VTS, and 6 PGCs within the VTS, first PGC is the main movie, the rest are FBI logos and other junk. I replaced the junk with dummy video clips in scen and authored normally. After I merge the VOBs into my main project, I move to the IFOUpdate step. Now, in order for seeking to work correctly I check copy timemap and update. Then I open IFOEdit to 0 out audio I removed and after I try and save I get a stream of errors. Same problem happens if I don't 0 out the streams and go straight to getting VTS sectors.
Errors are as follows:
"The file position does not match the offset for table: ID_VTSM_C_ADT"
"The file position does not match the offset for table: ID_VTSM_VOBU_ADMAP"
"The file position does not match the offset for table: ID_VTS_C_ADT"
"The file position does not match the offset for table: ID_VTS_VOBU_ADMAP"
"The IFO Endsector does not match the file size."
So I go back and instead ifoupdate without copying timemap, everything is fine. So I compare the VTS_TMAPTIs of each and notice that when I copied the TMAPTI, it added timemap entries for the dummies.
[0000000c] Time map 2: start byte 7748 [00001e44]
[00001e44] Time unit (in seconds) 0 [00]
[00001e46] number of entries in time map 0 [0000]
[00000010] Time map 3: start byte 7752 [00001e48]
[00001e48] Time unit (in seconds) 0 [00]
[00001e4a] number of entries in time map 0 [0000]
[00000014] Time map 4: start byte 7756 [00001e4c]
[00001e4c] Time unit (in seconds) 0 [00]
[00001e4e] number of entries in time map 0 [0000]
[00000018] Time map 5: start byte 7760 [00001e50]
[00001e50] Time unit (in seconds) 0 [00]
[00001e52] number of entries in time map 0 [0000]
[0000001c] Time map 6: start byte 7764 [00001e54]
[00001e54] Time unit (in seconds) 0 [00]
[00001e56] number of entries in time map 0 [0000]
whereas the one without copied TMAPTI only has an entry for the first PGC with wrong values.
Now, normally copying the TMAPTI works perfectly but I think in this case you can't copy TMAPTI if you changed the duration of a PGC, and this causes all the IFOEdit errors. So I guess the final question is, what do I need to do to get this to work correctly, with seeking intact?
/MLS
Errors are as follows:
"The file position does not match the offset for table: ID_VTSM_C_ADT"
"The file position does not match the offset for table: ID_VTSM_VOBU_ADMAP"
"The file position does not match the offset for table: ID_VTS_C_ADT"
"The file position does not match the offset for table: ID_VTS_VOBU_ADMAP"
"The IFO Endsector does not match the file size."
So I go back and instead ifoupdate without copying timemap, everything is fine. So I compare the VTS_TMAPTIs of each and notice that when I copied the TMAPTI, it added timemap entries for the dummies.
[0000000c] Time map 2: start byte 7748 [00001e44]
[00001e44] Time unit (in seconds) 0 [00]
[00001e46] number of entries in time map 0 [0000]
[00000010] Time map 3: start byte 7752 [00001e48]
[00001e48] Time unit (in seconds) 0 [00]
[00001e4a] number of entries in time map 0 [0000]
[00000014] Time map 4: start byte 7756 [00001e4c]
[00001e4c] Time unit (in seconds) 0 [00]
[00001e4e] number of entries in time map 0 [0000]
[00000018] Time map 5: start byte 7760 [00001e50]
[00001e50] Time unit (in seconds) 0 [00]
[00001e52] number of entries in time map 0 [0000]
[0000001c] Time map 6: start byte 7764 [00001e54]
[00001e54] Time unit (in seconds) 0 [00]
[00001e56] number of entries in time map 0 [0000]
whereas the one without copied TMAPTI only has an entry for the first PGC with wrong values.
Now, normally copying the TMAPTI works perfectly but I think in this case you can't copy TMAPTI if you changed the duration of a PGC, and this causes all the IFOEdit errors. So I guess the final question is, what do I need to do to get this to work correctly, with seeking intact?
/MLS