View Full Version : Info on .IFO structure (PGC time) needed
Morlock60
24th September 2004, 23:27
Hello,
I´m working on programming a little utility that calculates the total running time of all titles of the DVDs I compiled myself.
I did not find a tool so far that easily shows me the total running time - most tools only show the running time of single PGCs.
Now I think I can program that fairly easy but would like to confirm some things with those of you who really know:
1.) Is it true that the running time of a PGC is always found at offset 4117 (DEC) of an .IFO? All me compilations fit that scheme.
2.) The format the running time is stored in at this offset seems to be:
HH MM SS XX with XX being fractions of a second in a format I do not understand. Can somebody shine some light on this for me?
Sorry if those are stupid questions - I don´t know too much about DVD structure - just I´m looking for such a tool and as I did not find one I thought I make one (available for all later).
Thanks and regards - Morlock
r0lZ
25th September 2004, 13:48
1.) Is it true that the running time of a PGC is always found at offset 4117 (DEC) of an .IFO? All me compilations fit that scheme.No. You may have many PGCs in one IFO. Finding out the beginning of all PGCs in all IFOs is not a simple task!
2.) The format the running time is stored in at this offset seems to be:
HH MM SS XX with XX being fractions of a second in a format I do not understand. Can somebody shine some light on this for me?The format is called BCD: HH MM SS FF
The last byte, bits 5 to 0, is the remaining number of frames. Bits 7 and 6 of the same byte are used to store the frame rate: 11 = NTSC 30 fps, 01 = PAL 25 fps.
The number of frames is therefore <FF> AND 0x3F
Morlock60
25th September 2004, 19:11
Hi,
thanks r0lZ for the good and detailed description of the time format.
Is there a place where I can find such detailed information on DVD file structures for free (beside the official site where they charge a lot for receiving the standards)?
On the other hand - does anybody know a program that sums up the running times of all PGCs in order to get the total running time of a DVD?
Thanks again - Morlock
jeanl
25th September 2004, 20:21
On the other hand - does anybody know a program that sums up the running times of all PGCs in order to get the total running time of a DVD?
sounds like a feature request for PgcEdit ;)
Jean
Morlock60
26th September 2004, 20:47
Hi,
that might be an option if it can be added to PGCedit.
If I knew where to find the specifics on the structure I´d program a small util myself and offer it for free of course.
Regards - Morlock
r0lZ
26th September 2004, 21:21
If I knew where to find the specifics on the structurehttp://www.mpucoder.com/DVD/
http://dvd.sourceforge.net/dvdinfo/
Morlock60
26th September 2004, 21:38
Hi r0lZ,
thanks for the links - I think those will help me a lot - could not find them on google (maybe I used the wrong words).
Thanks again - Morlock
jsoto
27th September 2004, 07:49
the total running time of all titl There are DVDs with playable material in menus. (Not only the menus, but trailers, etc), so you should take into account also the menu PGCs
And, some Cells can be shared between different PGCs, so the total running time of PGCs could be higher than the total running time of the Cells.
Ah, and the angles.... As you can see it's really complex.
jsoto
Morlock60
27th September 2004, 18:08
Hi,
yup - I understand it can be complex if DVDs use those features.
In my case the total running time of all PGCs would just do - as I think in many cases would at least as an estimate of the running time of the main parts (excluding menues, different angles, etc.).
It would be helpful for me - not sure about everyone else though.
Regards - Morlock
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.