Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Decrypting

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th August 2004, 22:15   #21  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
@mpucoder

Thanks for your input!

Quote:
Originally posted by mpucoder
I just tried 84, and it shows the JLC (Jump/Link/Call) as invalid, but that must be a bug in IfoEdit (along with calling the table vmg_ptt_srpt - it is vmg_tt_srpt). It translates to "only in pre/post"
So, if you say it's a bug, then 84 is really "valid"?

Out of curiousity, Jump/Link/Call commands only in pre/post holds a zero dec value. I'm assuming that this is a flag that can be set. If so, how to you set that? Or does that line suppose to hold a "yes/no" value?

Also, can you enlighten/clarify us on the use of values 60 to 63?
__________________
2COOL
2COOL is offline   Reply With Quote
Old 27th August 2004, 23:18   #22  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Quote:
Originally posted by 2COOL
So, if you say it's a bug, then 84 is really "valid"?
AFAIK, there's no reason why JLCs would be restricted to one-sequential. Just the opposite, in fact. If it's not going to play sequentially then there's probably a lot of branching.

Quote:
Jump/Link/Call commands only in pre/post holds a zero dec value.
I never noticed that before. Actually, it is the interpretaion of bits 5-2 of the byte. It really is the value interpretted. Maybe a better way to display it would have been
Jump/Link/Call commands : only in pre and post

Quote:
Also, can you enlighten/clarify us on the use of values 60 to 63?
Before I do, here's the breakdown of the bits
7 - reserved
6 - 1 = not one-sequential
5 - 1 = JLC in cell commands
4 - 1 = JLC in pre/post commands
3 - 1 = JLC in button commands
2 - 1 = JLC present (must be set if 5, 4, or 3 is set)
1 - 1 = PTT play or search prohibited (for entire title, overrides PGC)
0 - 1 = time play or search prohibited (for entire title, overrides PGC)

So 60 decimal is 0011 1100 binary, meaning (bit 6) one-sequential, (bits 5-2) JLCs can be found in cell, pre/post, and button commands, (bit 1) PTT play/search allowed (subject to PGC PUOp), (bit 0) time play/search allowed (subject to PGC PUOp)

63 decimal is 0011 1111 binary, so the same as 60 except the both PTT and time play/search are prohibited.

Note that I did not mention the VOBU PUOps for PTT/time play/search. These are not allowed to be set (but someone might break the rules, so check anyway).
The PUOps not allowed in a VOBU are 0, 1, 2 (title play), and 17 (button select or activate)
The only PUOp not allowed in a PGC is 4, GoUp

Last edited by mpucoder; 27th August 2004 at 23:24.
mpucoder is offline   Reply With Quote
Old 27th August 2004, 23:27   #23  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Thank you mpucoder for another session of enlightenment. We all know you live for this stuff! You probably have the official DVD specs right there on your nightstand to read up every night! Sooner or later, this subject matter would have to come up. Thanks Grave for your findings.
__________________
2COOL

Last edited by 2COOL; 27th August 2004 at 23:32.
2COOL is offline   Reply With Quote
Old 27th August 2004, 23:54   #24  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Quote:
Originally posted by 2COOL
You probably have the official DVD specs right there on your nightstand
You know that would be a violation of the NDA No, it really is all reverse engineered.
That reminds me (a little OT) right now I'm working on video_rm. This is made by DVD recorders and NeroVision. Similar in function to DVD-VR, but compliant to DVD-Video.
mpucoder is offline   Reply With Quote
Old 27th August 2004, 23:57   #25  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
@mpucoder

So, with the info that you gave, this is my assumption that IfoEdit supposed to display instead of current view for better understanding.

60 = 0011 1100
Code:
Title_#: Title playback type                    60
type details:		
    one_sequential_pgc                                        
    Jump/Link/Call commands:
        In cell commands                        yes
        In Pre/Post commands                    yes
        In button commands                      yes
        In any commands                         yes	
    Prohibited user op. PTT play or search	no	
    Prohibited user op. Time play or search	no
Though 36 shows invalid in IfoEdit, it supposed to be valid too. Again, below is my interpretation of 36 should be.

36 = 0010 0100

Code:
Title_#: Title playback type                    36
type details:		
    one_sequential_pgc                                  
    Jump/Link/Call commands:
        In cell commands                        yes
        In Pre/Post commands                    no
        In button commands                      no
        In any commands                         yes	
    Prohibited user op. PTT play or search	no	
    Prohibited user op. Time play or search	no


BTW, what's NDA?
__________________
2COOL

Last edited by 2COOL; 28th August 2004 at 20:31.
2COOL is offline   Reply With Quote
Old 28th August 2004, 03:19   #26  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Yeah, that would make more sense - just leave out the word "only".
I checked version 0.96 - no problem with 36
Non-Disclosure Agreement, signing it is the only way to legally obtain the specs.
mpucoder is offline   Reply With Quote
Old 28th August 2004, 04:20   #27  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by mpucoder
Yeah, that would make more sense - just leave out the word "only".
OK.

Quote:
I checked version 0.96 - no problem with 36
I didn't check 0.96 but you're right. I'm still using 0.95 out of personal preference.

Quote:
Non-Disclosure Agreement, signing it is the only way to legally obtain the specs.
Well, I don't have $$$ for it either.
__________________
2COOL

Last edited by 2COOL; 28th August 2004 at 20:31.
2COOL is offline   Reply With Quote
Old 28th August 2004, 05:16   #28  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Here's what I got on valid codes in IfoEdit 0.96 for Title Playback Type setting in VMG. For people who just want to know.

About VMG_PTT_SRPT Title Playback Type Bit Settings

Bit breakdown
JLC(Jump/Link/Call) Command

7 - reserved (default 0)
6 - not one-sequential (0 = not present, 1 = present)
5 - JLC in cell commands (0 = not present, 1 = present)
4 - JLC in pre/post commands (0 = not present, 1 = present)
3 - JLC in button commands (0 = not present, 1 = present)
2 - JLC present (0 = if bits 5, 4, and 3 are not set, 1 = if bits 5, 4, or 3 are set)
1 - PTT play or search prohibited (for entire title, overrides PGC) (0 = Don't prohibit, 1 = prohibit)
0 - time play or search prohibited (for entire title, overrides PGC) (0 = Don't prohibit, 1 = prohibit)


one-sequential PGC

Code:
In no Commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
  0 = | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
  1 = | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 
  2 = | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
  3 = | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |

In button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 12 = | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
 13 = | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 
 14 = | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |
 15 = | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |

In Pre/Post commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 20 = | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 |
 21 = | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 
 22 = | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
 23 = | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 |

In Pre/Post and button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 28 = | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 |
 29 = | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 
 30 = | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 |
 31 = | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |

In cell commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 36 = | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 |
 37 = | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 
 38 = | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 |
 39 = | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 |

In cell and button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 44 = | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 |
 45 = | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 
 46 = | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 |
 47 = | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 |

In cell and Pre/Post commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 52 = | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 |
 53 = | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 
 54 = | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 |
 55 = | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 |

In cell, Pre/Post, and button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 60 = | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
 61 = | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 
 62 = | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 |
 63 = | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
Not a one-sequential PGC

Code:
In no Commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 64 = | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
 65 = | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 
 66 = | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 |
 67 = | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 |

In button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 76 = | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
 77 = | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 
 78 = | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 |
 79 = | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 |

In Pre/Post commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 84 = | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 |
 85 = | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 
 86 = | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 |
 87 = | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |

In Pre/Post and button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
 92 = | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 |
 93 = | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 
 94 = | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 |
 95 = | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |

In cell commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
100 = | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 |
101 = | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 
102 = | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 |
103 = | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 |

In cell and button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
108 = | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 |
109 = | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 
110 = | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 |
111 = | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |

In cell and Pre/Post commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
116 = | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 |
117 = | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 
118 = | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 |
119 = | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |

In cell, Pre/Post, and button commands
                    bit
      | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
dec   |---|---|---|---|---|---|---|---|
124 = | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
125 = | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 
126 = | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
127 = | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
__________________
2COOL

Last edited by 2COOL; 2nd August 2005 at 05:17.
2COOL is offline   Reply With Quote
Old 28th August 2004, 09:02   #29  |  Link
LIGHTNING UK!
Author of ImgBurn
 
Join Date: Oct 2001
Location: United Kingdom
Posts: 1,973
So basically as long as I take that byte and '&= 0xFC' it, I'm doing it right?

That'll turn the two least significant bits to zeros.
__________________
The Official ImgBurn Website
LIGHTNING UK! is offline   Reply With Quote
Old 28th August 2004, 11:57   #30  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
@2COOL: looks good

@LIGHTNING UK: that's correct for removing PUOps, which is what the thread is about, right? (I came in late)
btw, I just tried the latest Decrypter (haven't done a rip in awhile, just replaced the worn out drive last week), very nice.
mpucoder is offline   Reply With Quote
Old 28th August 2004, 15:40   #31  |  Link
LIGHTNING UK!
Author of ImgBurn
 
Join Date: Oct 2001
Location: United Kingdom
Posts: 1,973
Thanks for confirming that mpucoder. That's what I've been doing all along so it's not an error on my part which is all I'm concerned about.

BTW, the 'latest' version wont be the latest for much longer, I'm about to release another one today
__________________
The Official ImgBurn Website
LIGHTNING UK! is offline   Reply With Quote
Old 28th August 2004, 22:23   #32  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
@mpucoder

Just to fully understand and confirm. If the bits 0 & 1 are set to 1 (prohibit)...

bit 1 : PTT play or search prohibited // Set to 1
bit 0 : time play or search prohibited // Set to 1

...it doesn't matter if it's set in the PGC to prohibit, right? You mentioned that the PUOps takes priority over the PGC ones. But if I select to not prohibit PTT play or search and time play or search in VTS_PGC, I would also have to reset the bits in the TT_SRPT table to zeroes if I want true non-prohibition. IfoEdit doesn't automatically do this.

On the flip side, if the bits are set to 0's for non-prohibition...

bit 1 : PTT play or search prohibited // Set to 0
bit 0 : time play or search prohibited // Set to 0

...does it mean the PUOps are truly non prohibited even though they are set to prohibit in the PGC? Again, on the override issue.
__________________
2COOL

Last edited by 2COOL; 28th August 2004 at 23:11.
2COOL is offline   Reply With Quote
Old 28th August 2004, 23:06   #33  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
I guess I could have worded that better. The bits are or'ed together, so that a set bit in vmg_tt_srpt, pgc, or vobu_uop_ctl will prohibit the action. In order to do a particular action all the respective bits, even those not supposed to be set in a VOBU (bits 0, 1, 2, and 17), must be == 0.
mpucoder is offline   Reply With Quote
Old 28th August 2004, 23:17   #34  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by mpucoder
In order to do a particular action all the respective bits, even those not supposed to be set in a VOBU (bits 0, 1, 2, and 17), must be == 0.
What action is that when == 0? Clear PUOps, in question, entirely?
__________________
2COOL
2COOL is offline   Reply With Quote
Old 28th August 2004, 23:44   #35  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530
Say you want to do a time search, then bit 0, the bit which can prohibit that action, must be equal to 0 in all three places where PUOps are stored - the PGC, vmg_tt_srpt, and vobu_uop_ctl
mpucoder is offline   Reply With Quote
Old 29th August 2004, 01:18   #36  |  Link
2COOL
PGC Navigator in Training
 
2COOL's Avatar
 
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
Quote:
Originally posted by mpucoder
Say you want to do a time search, then bit 0, the bit which can prohibit that action, must be equal to 0 in all three places where PUOps are stored - the PGC, vmg_tt_srpt, and vobu_uop_ctl
I see. It's all 1's or all 0's! So IfoEdit's not doing the job correctly in clearing the bits, in question, in ALL three places when doing removal of POUps. Just like Grave confirmed.

Thanks for the clarification. You know...this thread sure provides good reading material.
__________________
2COOL

Last edited by 2COOL; 29th August 2004 at 01:58.
2COOL is offline   Reply With Quote
Old 27th December 2004, 10:35   #37  |  Link
Grave
Registered User
 
Join Date: Oct 2001
Location: Slovakia
Posts: 29
bringing back this very nice thread, coz i'm stuck or i missed something :)
i have been trying to fix prohibited time search on "legend of drunken master" dvd (interview, vts 3) with no apparent success
already tried everything i could think of (dvddecrypter, pgcedit, vobpuo, ifoedit)
no vob puos according to vobpuo and vobedit (0)
none in vts3 pgc (0)
vmg_ptt_srpt 124 (tried other values too using very useful table from this thread)
any ideas what should i try?
Grave is offline   Reply With Quote
Old 27th December 2004, 12:02   #38  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,084
Are you sure your title is a non sequential one? Value 124 in VMG_TT_SRPT means that it is a Title to be played in random or shuffle mode, or stills, or that the Title is spread over several PGCs. This may be the problem... Have you tried value 60 (same flags, but without the non sequential PGC flag)?
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Old 27th December 2004, 20:08   #39  |  Link
Grave
Registered User
 
Join Date: Oct 2001
Location: Slovakia
Posts: 29
yes, 60, 64 and many other values with no effect.
btw thanx for great pgcedit esp. its very helpful trace mode :)
Grave is offline   Reply With Quote
Old 31st March 2005, 14:29   #40  |  Link
stripy
Registered User
 
Join Date: Mar 2005
Posts: 2
A bit late, but I've just started DVD reauthorin business.

I had the same problem as grave. I also removed all PUOPs in all IFOs and there were none in VOBs, but still time search didn't work. After some examination I noticed that my VTS_TMAPTI (time map) was empty.
Q: Is there a tool that just creates a time map for VOB?

With reauthoring in IfoEdit I created a new movie with time map, but I tried to make non-sequential like the original. Unfortunately time search still didn't work. I could click on time line now, but the movie just jumped back. In the end I reauthored complete DVD using IfoEdit and PgcEdit and now it works great. Kudos to the makers of these programs.

Last edited by stripy; 1st April 2005 at 08:37.
stripy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.