PDA

View Full Version : VTS_PGC playback time.


Coaster Master
5th June 2006, 23:15
"playback time, BCD, hh:mm:ss:ff with bits 7&6 of frame (last) byte indicating frame rate
11 = 30 fps, 10 = illegal, 01 = 25 fps, 00 = illegal"

Thanks to this info one can properly interpret playback time, but how to calculate it?

Coaster Master
5th June 2006, 23:49
I've been told the authoring program counts the displayed frames (not encoded pictures) as the multiplex progresses.

What fields in VOB are useful for such counting?

Thanks.

blutach
6th June 2006, 01:06
To input the correct number (at 0x0004 of the relevevant PGC in VTS_PGCITI), just convert the playback time from hex to decimal and add 0x40 for PAL and 0xC0 for NTSC (this is where the bits 6 and 7 of the frame field come into acocunt).

So a PAL movie lasting 1 hour, 48 minutes, 47 seconds and 5 frames = 0x01484745 = 2151403 (note the 45 at the end, not 05. If it were NTSC, it would be 0x014847C5).

Regards

Coaster Master
7th June 2006, 19:38
Thanks. I used the DVD2AVI fix by Donald Graft, which counted same displayed frames IfoEdit counted after stream stripping. I'm worried about this count not matching the stamped by DVD studio (there are 16 mismatches of one frame).

Can it be normal?

Coaster Master
8th June 2006, 21:31
Maybe I should try to explain better: after stream stripping, IfoEdit is calculating the playback time of every cell, but sometimes it's different from the playback time shown in original IFO.

Since only audio and subs are stripped, playback time should be the same in both IFOs, so authoring stage or IfoEdit's recalculation is wrong.

Should I leave as it is or correct playback time back to original?

blutach
9th June 2006, 02:15
IfoEdit (http://ifoedit.wh.fr0zen.com/)'s strip calculates all pointers and outputs IFOs consistent with the VOBs.

It would change cell time if, for example, you had a badly authored disk. I'd trust the mock strip's output. If you want to cross check, do the strip in VobBlanker (http://jsoto.posunplugged.com/vobblanker.htm), too and compare.

Regards