Log in

View Full Version : Question about IfoParser


mikeathome
26th January 2003, 13:09
Hi,

does neone knows the program ?
Looking at the generated output (example):


VIDEO
---
compression : MPEG-1
TV system : NTSC 525/60 Hz
Aspect ratio: 4:3
Display Mode: pan-scan & letterboxed
Line21-1 :
Line21-2 :
Source Res : 720x480
Letterboxed : no
Mode : Camera

AUDIO
---
number of streams: 2
lang_code: Not Specified
mode: AC3 (0Ch)
sampling: 48kHz
appl_mode: Surround Sound

lang_code: Not Specified
mode: AC3 (0Ch)
sampling: 48kHz
appl_mode: Surround Sound


PART OF TITLE
---
number of titles: 1

Title: 0x1 number of chapters: 6
Chapter: 0x01 PGC: 0x01 PG: 0x01
Chapter: 0x02 PGC: 0x02 PG: 0x01
Chapter: 0x03 PGC: 0x02 PG: 0x02
Chapter: 0x04 PGC: 0x03 PG: 0x01
Chapter: 0x05 PGC: 0x01 PG: 0x02
Chapter: 0x06 PGC: 0x01 PG: 0x03

TITLE PROGAM CHAIN INFORMATION
---
number of units: 3

PC [0]
---

PROGRAM CHAIN
---
foo1: 0 0
num_programs: 3 num_cells: 4

chain time: 00:00:37:50
25 non-dropframes/s
foo2: 0 0
foo3: 0 0

AUDIO
0x00->0x00 unknown:0x00
0x01->0x01 unknown:0x00

SUBPICTURE

0x0000: 00 00 00 00 00 00 00 00
CLUT:
0xY:0x28 Cr:0x6d Cb:0xf0
0xY:0x51 Cr:0xf0 Cb:0x5a
0xY:0x10 Cr:0x80 Cb:0x80
0xY:0xea Cr:0x80 Cb:0x80
0xY:0x90 Cr:0x22 Cb:0x35
0xY:0x6a Cr:0xdd Cb:0xca
0xY:0xd2 Cr:0x92 Cb:0x10
0xY:0x5b Cr:0x49 Cb:0x92
0xY:0x7b Cr:0x80 Cb:0x80
0xY:0xd1 Cr:0x80 Cb:0x80
0xY:0x30 Cr:0xb6 Cb:0x6d
0xY:0x4f Cr:0x51 Cb:0x5b
0xY:0x1c Cr:0x77 Cb:0xb6
0xY:0x61 Cr:0xcf Cb:0xcf
0xY:0x88 Cr:0xb3 Cb:0x3a
0xY:0x3c Cr:0xae Cb:0xa4


cell links: (num: 3)
0x00 -> 0x01
0x01 -> 0x02
0x02 -> 0x03

CELL PLAY INFO (num: 4)
still_time: 00s cell_cmd: 0x0 len: 00:00:12:55 1st_vobu_start : 0x00000000 1st_ilvu_end : 0x00000000 last_vobu_start: 0x00000d3e last_vobu_end: 0x00000d74 (25 non-dropframes/s)
still_time: 00s cell_cmd: 0x0 len: 00:00:10:42 1st_vobu_start : 0x00000d75 1st_ilvu_end : 0x00000000 last_vobu_start: 0x00001467 last_vobu_end: 0x000014d5 (25 non-dropframes/s)
still_time: 00s cell_cmd: 0x0 len: 00:00:02:43 1st_vobu_start : 0x000014d6 1st_ilvu_end : 0x00000000 last_vobu_start: 0x00001620 last_vobu_end: 0x000016be (25 non-dropframes/s)
still_time: 00s cell_cmd: 0x0 len: 00:00:12:55 1st_vobu_start : 0x00000000 1st_ilvu_end : 0x00000000 last_vobu_start: 0x00000d3e last_vobu_end: 0x00000d74 (25 non-dropframes/s)

CELL POSITION (num: 4)
VOB ID: 01 Cell ID: 01
VOB ID: 02 Cell ID: 01
VOB ID: 02 Cell ID: 02
VOB ID: 01 Cell ID: 01

PC [1]
---

PROGRAM CHAIN
---
foo1: 0 0
num_programs: 2 num_cells: 2

chain time: 00:00:12:45
25 non-dropframes/s
foo2: 0 0
foo3: 0 0

AUDIO
0x00->0x00 unknown:0x00
0x01->0x01 unknown:0x00

SUBPICTURE

0x0000: 00 00 00 00 00 00 00 00
CLUT:
0xY:0x28 Cr:0x6d Cb:0xf0
0xY:0x51 Cr:0xf0 Cb:0x5a
0xY:0x10 Cr:0x80 Cb:0x80
0xY:0xea Cr:0x80 Cb:0x80
0xY:0x90 Cr:0x22 Cb:0x35
0xY:0x6a Cr:0xdd Cb:0xca
0xY:0xd2 Cr:0x92 Cb:0x10
0xY:0x5b Cr:0x49 Cb:0x92
0xY:0x7b Cr:0x80 Cb:0x80
0xY:0xd1 Cr:0x80 Cb:0x80
0xY:0x30 Cr:0xb6 Cb:0x6d
0xY:0x4f Cr:0x51 Cb:0x5b
0xY:0x1c Cr:0x77 Cb:0xb6
0xY:0x61 Cr:0xcf Cb:0xcf
0xY:0x88 Cr:0xb3 Cb:0x3a
0xY:0x3c Cr:0xae Cb:0xa4


cell links: (num: 2)
0x00 -> 0x01
0x01 -> 0x02

CELL PLAY INFO (num: 2)
still_time: 00s cell_cmd: 0x0 len: 00:00:10:42 1st_vobu_start : 0x00000d75 1st_ilvu_end : 0x00000000 last_vobu_start: 0x00001467 last_vobu_end: 0x000014d5 (25 non-dropframes/s)
still_time: 00s cell_cmd: 0x0 len: 00:00:02:43 1st_vobu_start : 0x000014d6 1st_ilvu_end : 0x00000000 last_vobu_start: 0x00001620 last_vobu_end: 0x000016be (25 non-dropframes/s)

CELL POSITION (num: 2)
VOB ID: 02 Cell ID: 01
VOB ID: 02 Cell ID: 02

PC [2]
---

PROGRAM CHAIN
---
foo1: 0 0
num_programs: 1 num_cells: 1

chain time: 00:00:00:53
25 non-dropframes/s
foo2: 0 0
foo3: 0 0

AUDIO
0x00->0x00 unknown:0x00
0x01->0x01 unknown:0x00

SUBPICTURE

0x0000: 00 00 00 00 00 00 00 00
CLUT:
0xY:0x28 Cr:0x6d Cb:0xf0
0xY:0x51 Cr:0xf0 Cb:0x5a
0xY:0x10 Cr:0x80 Cb:0x80
0xY:0xea Cr:0x80 Cb:0x80
0xY:0x90 Cr:0x22 Cb:0x35
0xY:0x6a Cr:0xdd Cb:0xca
0xY:0xd2 Cr:0x92 Cb:0x10
0xY:0x5b Cr:0x49 Cb:0x92
0xY:0x7b Cr:0x80 Cb:0x80
0xY:0xd1 Cr:0x80 Cb:0x80
0xY:0x30 Cr:0xb6 Cb:0x6d
0xY:0x4f Cr:0x51 Cb:0x5b
0xY:0x1c Cr:0x77 Cb:0xb6
0xY:0x61 Cr:0xcf Cb:0xcf
0xY:0x88 Cr:0xb3 Cb:0x3a
0xY:0x3c Cr:0xae Cb:0xa4


cell links: (num: 1)
0x00 -> 0x01

CELL PLAY INFO (num: 1)
still_time: 00s cell_cmd: 0x0 len: 00:00:00:53 1st_vobu_start : 0x000016bf 1st_ilvu_end : 0x00000000 last_vobu_start: 0x000016bf last_vobu_end: 0x000016f2 (25 non-dropframes/s)

CELL POSITION (num: 1)
VOB ID: 03 Cell ID: 01

MENU
MENU
TITLE SET CELL ADDRESS
---
number of VOBs: 3
???: 0x0
len: 0x37
VOB ID: 0x1 Cell ID: 0x1 Start: 0x0 End: 0xd74
VOB ID: 0x2 Cell ID: 0x1 Start: 0xd75 End: 0x14d5
VOB ID: 0x2 Cell ID: 0x2 Start: 0x14d6 End: 0x16be
VOB ID: 0x3 Cell ID: 0x1 Start: 0x16bf End: 0x16f2




TITLE SET VIDEO OBJECT ADDRESS MAP
---
number of units: 52

len of units: 211

0x0000000 0x0000015 0x0000036 0x0000055 0x0000074 0x0000106 0x00001e2 0x0000296 0x0000326 0x00003c3 0x0000463 0x0000513 0x00005cf 0x0000693 0x0000762 0x0000823 0x00008da 0x0000988 0x0000a37 0x0000aec 0x0000bf5 0x0000cc0 0x0000cdf 0x0000d00 0x0000d1f 0x0000d3e 0x0000d75 0x0000dce 0x0000e1b 0x0000e5f 0x0000ea9 0x0000ef9 0x0000f47 0x0000f95 0x0000fe0 0x0001039 0x000108b 0x00010db 0x0001120 0x000116f 0x00011d1 0x000123b 0x00012b5 0x0001323 0x000137d 0x00013f8 0x0001467 0x00014d6 0x0001544 0x00015b2 0x0001620 0x00016bf


Would it be possible to determine the length of the cells within the VobIDs from this printout ?

The real length is as follows:
V/C 1/1 315 frames
V/C 2/1 252 frames
V/C 2/2 53 frames
V/C 3/1 1 frame (still)

I still struggling with DVD2AVI (1.76) giving wrong frame count in the .d2v project file.
It always forgets 1-5 frames at the end. This is very disturbing while recreating MultiPGC
titles (I know, I could use IfoUpdate, BUT it really bothers me). I am looking for a reliable
easy way to compare and find out how many frames DVD2AVI had forgotten while creating
the project file. The manual way is via VirtualDUB (the special version which opens VOB
directly) it's the only decoder I found so far giving the right amount of frames back.
Even DVDSource (AviSynth plug-in) is wrong (I guess it's build using DVD2AVI decoder).

Pls. gimme a hint ...

mike

oddyseus
27th January 2003, 13:11
Well I can see a discrepency here. Original stream is NTSC but resulting one is PAL.

compression : MPEG-1
TV system : NTSC 525/60 Hz
Aspect ratio: 4:3
.....
chain time: 00:00:37:50
25 non-dropframes/s
foo2: 0 0
foo3: 0 0

Other than that given the frame rate and the reported length we have ...

chain time: 00:00:37:50
chain time: 00:00:12:45
chain time: 00:00:00:53
frames r 37:50 = 37.5sec = 0:00:37.12and ½ a frame = 937.5frames
No 2: 581.25 frames
No 3: 1 frame and 0,325 of a frame.

Actually as frames in Pal r 40ms in length there is a problem with the reported times cause noone is whole frame accurate.
1st has half a frame, 2nd a quarter and 3d half and something to it.

Very strange indeed.

mikeathome
27th January 2003, 13:56
Hi,

yes, IfoParser does it wrong. It calculates wrong times even if you import original IFOs. It never calculates same cell lengths compared to IfoEdit or IfoUpdate. Don't rely on it.

In the meantime I got what I need, thanks Jdobbs ! The new IfoUpdate can export chapterlists per VobID, where the chapterpoints represent the cell startpoints. This is ideal for re-creating a certain vobstructure e.g. with Scenarist. Re-build the VobIDs by Tracks and set the Scenes in the track using the chapterexport from IfoUdate.
Since it exports a CCESP chapter list as well (per VobID) you'll be able to re-encode the VobIDs individually.
Setting chapters in the VobID-encode-job forces CCESP to closed the GOPs at the chapter(cell)startpoints so that you'll be able to align the scene startpoints later on exactly.
The only drawback in the moment is, that DVD2AVI does not framecount correctly. It always forgets s few (1-5) frames at the end. This needs to be corrected (manual). Strange, the special VirtualDub version (with direct Vob import) counts right. I spoke to NIC he may fix that with a new version of MPEGSource.

Taken all that into account you can re-create VobIDs 100% correctly, at least for PAL ;-)

mike