Thread: BDSupEdit
View Single Post
Old 7th April 2009, 20:59   #18  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 581
Maybe some one here can help me out on this one. I got a PG header with the PTS value of 2522579 (Equal to timecode 00:00:28,029) Sec2Timecode(2522579 / 90) //90 khz clock.

in the next PG header I got a PTS value of 2522216 (Equal to timecode 00:00:28,025) Sec2Timecode(2522216 / 90) //90 khz clock.

this is from a original BD file, if want to create my own BD subtitle from stratch or just from an image and only have the start PTS and end PTS. How do I calculate the PTS values in between (Marked with red). Anyone know ?

Quote:
:Begin subtitle 1

PG FOUND
PTS StartTime: 00:00:28,029 - 2522579 (Begin time)
DTS StartTime: 00:00:00,000

Identifier: 22 (0x16)

PG FOUND
PTS StartTime: 00:00:28,025 - 2522216
DTS StartTime: 00:00:00,000

Identifier: 23 (0x17)

Identifier: 20 (0x14)

Identifier: 21 (0x15)

PG FOUND
PTS StartTime: 00:00:31,407 - 2826632
DTS StartTime: 00:00:00,000

Identifier: 22 (0x16)

PG FOUND
PTS StartTime: 00:00:31,403 - 2826270 - (End time)
DTS StartTime: 00:00:00,000

Identifier: 23 (0x17)

:End of subtitle1
GZZ is offline   Reply With Quote