View Full Version : PgcEdit 0.6.0
blutach
17th September 2005, 14:20
@Taelon
The importing is of VTST not VTSM.
@r0lZ - this function will rewrite the guide on adding menus back to DVD Shrink re-authored DVDs :)
Regards
r0lZ
17th September 2005, 14:22
It is already possible to import/export the color table of any PGC.
What I want is to be able to keep the original tables when overwriting a VTST with an imported one. It's generally necessary.
Taelon
17th September 2005, 14:23
blutach, I know that. I'm just hoping if he allows CLUT importing as a seperate function it could be for VTSMs as well?
r0lZ
17th September 2005, 14:30
That's already possible, but you have to import/export it for every PGCs in the domain.
Taelon
17th September 2005, 15:13
Sorry I'm still confused, for the VTSTs it's important in regards to the subtitles, correct? But if you're importing a newly created menu isn't it important to retain the CLUT from the existing menu? I realize the function to import/export color schemes is in the menu editor but what happens, if the subs colors aren't in the CLUT? Or is that impossible?
CoNS
17th September 2005, 17:15
this function will rewrite the guide on adding menus back to DVD Shrink re-authored DVDs :)You mean, by turning it upside down so that the movie (from the DVD Shrink re-authored DVD) will be added back to the old DVD structure with the original menus?
r0lZ
17th September 2005, 17:48
@Taelon: You're right, the ability to retain the menu color table is important. But there is currently no function to replace a menu by an imported one. In fact, if you import a menu, the current one, if any, is removed first. So, I will not add this function, at least for now. As I said before, it's easy to export the CLUT before importing the new menu.
On the other hand, if was previously impossible to replace a VTST at all. Now, it's possible, but currently still w/o the choice of keeping the original CLUT.
r0lZ
17th September 2005, 17:54
You mean, by turning it upside down so that the movie (from the DVD Shrink re-authored DVD) will be added back to the old DVD structure with the original menus?I suppose so. But I wonder if a guide is still needed. If there is only one Title in the domain, all you have to do is to import the reauthored title with the new function. Sounds not too complicated. :D
mpucoder
17th September 2005, 18:30
I don't understand why the CLUT would not be imported along with the PGCs for the domain. A VTST is very much a complete package (vobs and ifo) that just needs to be linked into from VMG.
r0lZ
17th September 2005, 23:25
Except if you recode the video. When you remux the video and subpics, the original CLUT is lost. With Muxman, it is possible to edit the project file, but that's not really easy. So importing the original CLUT in PgcEdit is, IMO, a good solution.
Of course, if you simply shrink the domain with, say, DVD Shrink, the CLUT has not changed, and you don't need to import it.
Note that the CLUT choice is only a problem if you reimport an original title back at his original place, in an existent VTS. Of course, if you import a new VTS, the CLUT of that VTS is always automatically imported.
r0lZ
18th September 2005, 11:53
PgcEdit_winexe_0.6.1beta12.zip (http://www.videohelp.com/~r0lZ/pgcedit/beta/PgcEdit_winexe_0.6.1beta12.zip)
In the "Replace VTST Titles" function, I have added the option to keep the CLUT, and also everything not directly related to the VOBs, from the original PGCs. Now, you can use this function to import a reencoded title.
Basically, the function with this option do the job of IfoUpdate, but in the reverse order: the VOBs are replaced, and the relevent tables are updated, but nothing else.
Note that the cell table (except the VOBU pointers and the cell type flags), the program map and the chapters numbers are kept only for the PGCs that are made of exactly the same number of cells than in the original.
Do you think it is useful to keep also some cell type flags (for example the angle flags)?
HKT3020_1
18th September 2005, 15:35
This is probably asking alot but a feature be added to remove multiple versions of a film on DVD. e.g. The Matrix, Alien & Aliens from the Quadrilogy set. I apprecaite all the time and investment put into this program so thanks either way. :)
r0lZ
18th September 2005, 17:39
A one-click function to remove a version of a movie is not easy to do.
In Matrix, there are several versions interleaved in the same VOB file, and refered by several PGCs. Although you can Kill Playback on these PGCs, PgcEdit cannot edit the VOBs, to remove the interleaved cells.
On the other hand, in most cases, when there are 2 versions of the same movie with different aspect ratios (Wide screen/Full screen), you should be able to use the Blank Out Domain function to remove one version. If there is some material you want to keep in the same domain, you need VobBlanker.
As you can see, it's noe easy to automate this task.
CoNS
18th September 2005, 20:56
In the "Replace VTST Titles" function, I have added the option to keep the CLUT, and also everything not directly related to the VOBs, from the original PGCs. Now, you can use this function to import a reencoded title.
Basically, the function with this option do the job of IfoUpdate, but in the reverse order: the VOBs are replaced, and the relevent tables are updated, but nothing else.So, this is equivalent to VobBlanker's Replace PGC function when used in input folder in VobBlanker?
Does the options to copy subtitle and audio tables, and to copy the subtitle colours, apply to this new function in PgcEdit, too? (I often need to replace a PGC with a newly muxed one, the reason not being reencoding the video, but adding extra custom made subtitles in my native language)
r0lZ
18th September 2005, 21:55
So, this is equivalent to VobBlanker's Replace PGC function when used in input folder in VobBlanker?Not exactly. Here, you can only replace the whole titleset. As his name implies, the function replaces all titles in the current titleset.
Does the options to copy subtitle and audio tables, and to copy the subtitle colours, apply to this new function in PgcEdit, too? (I often need to replace a PGC with a newly muxed one, the reason not being reencoding the video, but adding extra custom made subtitles in my native language)You may use this function for that purpose, if there is only one main title in the PGC: You should demux the VOBs, and export the celltimes.txt file. Remux with your new subpic and the celltimes. Reimport the title in PgcEdit, keeping the original parameters. Then, edit the subpic streams assignments in the PGC to add the new subpic. Finally, fix and edit the domain streams attributes.
CoNS
18th September 2005, 22:39
Not exactly. Here, you can only replace the whole titleset. As his name implies, the function replaces all titles in the current titleset.Ah, ok, I read your first qouted post as if you had now allowed the replacement of a single title within a VTST.
Anyway, in all the (very common) cases where the main movie is placed as the single title inside a VTST, the two reimport/replace functions in PgcEdit and VobBlanker respectively will give the same result then, right?
You may use this function for that purpose, if there is only one main title in the PGC: You should demux the VOBs, and export the celltimes.txt file. Remux with your new subpic and the celltimes. Reimport the title in PgcEdit, keeping the original parameters. Then, edit the subpic streams assignments in the PGC to add the new subpic. Finally, fix and edit the domain streams attributes.I'm with you all the way to the remuxing part. But when reimporting in PgcEdit, I thought you had now added an option to copy those stream assignments and attributes from the newly muxed VTST into the old VTST in question? Or is this stream information not part of the tables that are copied?
r0lZ
18th September 2005, 22:57
No, by default the import copies everything (except the menus) from the reauthored title. The option allow you to keep the informations of the original titleset. So, you don't have to copy the color table, and to worry about the commands and PGC parameters. You may now reencode, keeping exactly the same number of cells. You don't need to set the audio and subpic languages. When you import, select the new option, and you will recover the PGC exactly as it was, but with a new VOB, and new VOBU pointers and tables. At this point, you need only to add the new streram in the PGC and in the domain streams attributes.
In fact, I've made this functions for the guys using IfoUpdate a lot. It's simpler to use my function.
You can also replace a title with VobBlanker, right.
lazer007
19th September 2005, 09:30
[QUOTE=r0lZ]I may add this feature later, but for now, you may already do it easily manually. Just export the buttons, and edit the exported file. Import it, and it's done.
<snip example>
You may have to modify as well the global parameters at the end of the file, but it's easier to do interactively, in the editor.
Also, don't forget to do the edit for all groups in the file. The example above has only one button group.
------------------------------------------------------------------
Hi r0lZ,
First, thanks for such a great program!!! However, changing button numbers is not quite that easuly done. You have also to change the adjacent button numbers as well. Also, as you mentioned in your reply, the number of changes multiply when there is more than one group. Also many times it is not only two buttons you want to change.
That and the likelyhood of human error suggested to me that an interface to make these changes might be useful. I wrote this little program. you input the mnu file created by your program from a save menu and make the button swaps. Then save the changes and import them back into the menu with your load menu function. I've attached the program to this note in case others might find it useful.
Thanks again for an outstanding program!
-Lazer.
CoNS
19th September 2005, 10:12
No, by default the import copies everything (except the menus) from the reauthored title. The option allow you to keep the informations of the original titleset. So, you don't have to copy the color table, and to worry about the commands and PGC parameters. You may now reencode, keeping exactly the same number of cells. You don't need to set the audio and subpic languages. When you import, select the new option, and you will recover the PGC exactly as it was, but with a new VOB, and new VOBU pointers and tables. At this point, you need only to add the new streram in the PGC and in the domain streams attributes.
In fact, I've made this functions for the guys using IfoUpdate a lot. It's simpler to use my function.Sorry for being such a dumbass nOOb, but just to be sure that I understand:
In my case, where I'm not reencoding the video, but adding an extra subtitle stream after the original streams (or replacing one of the existing subtitle streams with a new one in a different language), I can avoid doing the manual updating of the stream assignments and attributes after importing the newly muxed VTST, IF I uncheck the new option in PgcEdit AND have specified the correct stream info in MuxMan etc. when I muxed the new VTST? PgcEdit will then simply copy this information for me automatically into the original DVD structure for the replaced VTST, and I'm all set to go, right?
r0lZ
19th September 2005, 10:54
Right.
But remember that muxman will create one program and chapter per cell present in the celltimes.txt file. This is not necessarily the same structure than in the original. Also, the cell commands numbers and still times, PGC commands, color lookup table, etc... are lost. You will have to restore all that stuff manually.
In the other hand, if you accept the new option, everything will be maintained, like in the original, but you will loose the new streams definitions you've done in Muxman. I think it' easier to fix them in PgcEdit.
Anyway, you should be able to test both methods easily, and see what is best suitable for you.
r0lZ
19th September 2005, 10:57
@lazer007
Thanks for your app. It may be useful to some ppl. May I put it on my homepage?
I may add later a function to swap two buttons in PgcEdit, but I have other priorities for now.
@a moderator
Can you approve the attachment?
CoNS
19th September 2005, 14:59
Thanks for clarifying, r0lZ. I will test the two different ways when I get home from work, but from your explanation I guess that checking the new option and correcting the stream assignments and attributes afterwards would be the more "proper" way of doing it.
However, in IfoUpdate I have specific options to copy the colour lookup table and audio/subpic stream tables separately, so that no manual correction of the audio/subpic stream assignments and attributes is needed afterwards?
BTW, I wonder if VobBlanker's "Replace PGC" function will leave the program/chapter per cell data, cell commands numbers and still times, PGC commands etc. untouched in the original DVD structure?
lazer007
19th September 2005, 18:15
@lazer007
Thanks for your app. It may be useful to some ppl. May I put it on my homepage?
Absolutely. I'd be honored. ;)
I may add later a function to swap two buttons in PgcEdit, but I have other priorities for now.
I figured that from your previous posts. I'm glad I could help!
-Lazer.
Tobii
20th September 2005, 19:33
@ r0lZ
I haven't read all posts now. There is a possibility if one has imposed on the User Bank 1 to 4 in the trace mode (State -- > Snapshot State) having a marking for the positions in the PGC Selector?
Or perhaps directly in the User Bank? Approximately so ---> User Bank 1 ( VTS 1 , 1 TTN 1)
An additional possibility would be very helpful to delete the Banks (Clear all Snapshot State).
Logically only if it is possible and you are of the same opinion.
Sometimes I have an applications error at "State".
http://img303.imageshack.us/img303/8377/pgcediterrorstatefunktion6xc.png (http://imageshack.us)
At the moment, I am trying to put. What can you do with that?
---------------------
Hopeful, T.
r0lZ
21st September 2005, 11:38
There is a possibility if one has imposed on the User Bank 1 to 4 in the trace mode (State -- > Snapshot State) having a marking for the positions in the PGC Selector?
Or perhaps directly in the User Bank? Approximately so ---> User Bank 1 ( VTS 1 , 1 TTN 1)
An additional possibility would be very helpful to delete the Banks (Clear all Snapshot State).
Logically only if it is possible and you are of the same opinion.OK. Done.
I have added the PGC label and pre/post/cell command number in the State menu items, including in the banks that are set automatically (in the "Return to" submenu.)
There is also a new "Clear All Snapshots" menu item. The snapshots are also automatically cleared when you load another DVD (but not if you reload the same DVD with the Reopen DVD function).
Sometimes I have an applications error at "State".I have added a check to avoid this problem, but I can't understand why you got this error. Normally, this error can only occur if there are no lines at all selected in the commands listbox, but that's theorically impossible.
Can you be more specific? What have you done exactly to get this error?
Tobii
21st September 2005, 17:04
OK. Done.
Many many thanks...is really very helpful to me. :)
Can you be more specific? What have you done exactly to get this error?
I could reproduce the application error meanwhile.
I had imposed on my User Bank 1 to 4 and then executed the trace. Reload button pushed...trace log looks so
http://img290.imageshack.us/img290/2215/tracelog18ao.png (http://imageshack.us)
Restore State executed (any users bank)...no applications error.
------------------------------------------------------------------------------------------------------
Sometimes the following happens....
If I push the Reload button...trace log looks so
http://img270.imageshack.us/img270/9530/tracelog28in.png (http://imageshack.us)
Restore State executed (any users bank)...the applications error comes.
I hadn't always looked into the trace log (Sorry, my fault :( ). I think you need to make no more thoughts to you about this!
Regards, T.
r0lZ
21st September 2005, 19:17
Well, I know there is a little problem when you start the trace just after a reset trace (load button). You must wait one second or so, to let the reset terminate his job. That's ennoying but I cannot fix that.
Is it the problem you have experienced?
Tobii
21st September 2005, 21:11
Yes, it was the problem. But you don't have to fix it either.
I see no more error there...only an impatient user this one couldn't wait.
radius
22nd September 2005, 19:25
Hi,
thanks again for this soft r0lZ it's gets better each time i see a new version
^^
(if it has not been added on your last betas) will you permit deleting a vts (not only the last) and relinking to nexts vts ?
i actually make this manually exemple i've blanked the vts 2 and movie is in vts 3, i want vts 2 to go to hell ^^ so i delete it, rename vts 3 to 2 relink what points to vts 3 to 2, and finally i open this in ifoedit and i correct the vts # of the movie title to 2 (the only thing i dont change is correcting the removed title numbers, exemple : if there was 2 titles in the deleted vts 2 i should decrease the title numbers but i've not searched how to do this)
r0lZ
22nd September 2005, 21:49
It's the kind of shing I would like to include in next versions, but it's not trivial to program. I have many other things to do as well. Probably one day...
BTW, you should be able to remove the unused title entries easily. Begin with this method:
In PgcEdit, use the Remap Titles function to assign the highest title numbers at the titles of the VTS you want to remove. Save.
In IfoEdit, open VMG_TT_SRPT, and change the Number of Title Play Maps, and the Length of Table. (The value for Length of Table is the address of the entry of the first removed title less 1.) Save.
Reopen the DVD in PgcEdit. You should not see the titles numbers anymore in the domains to remove. At this point, continue with your normal method.
Don't forget to verify that it is not possible to call something in a removed titleset. (Use Find Jumps to Nowhere.)
r0lZ
23rd September 2005, 13:45
@radius: I am currently working on a function to remap the titlesets differently. In coujunction with the Delete Last VTS and the Remap Title Numbers function, you will be able to do what you want with PgcEdit alone.
Of course, the VTS numbers in the VMG_TT_SRPT table must be changed. But I will not change the title numbers. So, if the main title is, say, Title 3, then, after the remapping, it will still be Title 3, but in a new VTS.
Therefore, there is only one command that needs to be fixed: JumpSS_VTSM. Since this command can only be present in the FP-PGC and in the VMGM, it's easier to do this function than what I thought.
It's easier for me to save the DVD and reload it after the process. This way, the internal variables will be 'fixed' automatically. IMO, it's not a major drawback.
Note: After a title remapping, you should do an incremental backup, because the IFOs and VOBs in the original backup are now out of order.
radius
23rd September 2005, 17:27
thanks man :)
i just found the "create new blank cell" thing on the beta and the title replacing stuff i'll have to test this ^^
as you said before if a title is deleted the title remaping function is ok (while not necesary), there's a soft that is actually renumbering/remaping titles correctly when you use it ifos but i don't know wich one (it can be dvdshrink or vobblanker or ifoedit, i used the 3 + pgcedit on my dvd but i've not checked which one done the thing ^^)
r0lZ
23rd September 2005, 19:19
There is a Title Remapping function in PgcEdit, that changes the title numbers, and fixes the JumpTT commands.
Note that the Replace VTS Titles function has some limitations for what you want to do. For example, you cannot replace a VTS with several titles with another with less titles.
When the new function to remap titlesets will be available, it will be very simple to do what you want:
1) With the new function, rearrange the titlesets the way you want, pushing the unused ones at the end of the DVD.
2) Remap Title Numbers so that the highest title numbers are assigned at the titles of the last titleset(s).
3) Use Delete Last VTS in DVD to remove the crap.
That's all. No need for other tools anymore.
CoNS
25th September 2005, 16:30
Well, I know there is a little problem when you start the trace just after a reset trace (load button). You must wait one second or so, to let the reset terminate his job. That's ennoying but I cannot fix that.You could maybe mention this under "Known Bugs (and Workarounds)" on the PgcEdit homepage?
r0lZ
25th September 2005, 18:36
Good idea.
frank
26th September 2005, 15:58
Originally posted by r0lZ:
When the new function to remap titlesets will be available, it will be very simple to do what you want:
1) With the new function, rearrange the titlesets the way you want, pushing the unused ones at the end of the DVD.
2) Remap Title Numbers so that the highest title numbers are assigned at the titles of the last titleset(s).
3) Use Delete Last VTS in DVD to remove the crap.
That's all. No need for other tools anymore.Often the main title resides in one of the the last vts.
After remapping to title1 I delete the crappy vobs vts_xx before, rename the main vts with title1 to vts_01, and edit the VIDEO_TS.IFO.
Nice, if you could implement this feature. ;)
kumi
4th October 2005, 07:08
A small bug in beta 12:
With caps-lock enabled, pressing Ctrl-T activates "Toggle PGC pre/post breakpoint". I guess it's misinterpreting it as Shift :)
r0lZ
4th October 2005, 09:08
Well, it's true, but I cannot change that, because, under Tcl/Tk, it is not possible to test directly if the Shift key is pressed. In fact, Control-Shift-t is implemented internally as Control-T (upper case T). Sorry.
r0lZ
4th October 2005, 17:07
PgcEdit 0.6.1 released!
Since this thread is long enough, I have started a new thread for v0.6.1 (http://forum.doom9.org/showthread.php?t=100890). Please use it to post all questions and bug reports related to v0.6.1.
tomlomeo
21st April 2006, 15:10
ANYONE.....HELP!! I have version 0.6.2 of PgcEdit....how can I view the Macro Menu????....I've tried for 2 hours with no success....thankx
r0lZ
21st April 2006, 19:55
The Macro menu has been removed. The macros are now under differnt menus. Which function do you need?
Also, please use the latest version.
tomlomeo
21st April 2006, 23:56
Dear r01Z thank you for your reply...I've been following a guide on how to make a simple menu for, let's say 2 or 3 movies that were reauthored with Dvd Shrink http://www.dvdshrink.info/chetwood/PgcEdit_menuimport.php#import3 . my present version of PgcEdit is 0.6.2....is there anything later??? can you recommend and simpler guide to accomplish this only issue.....since i can movie to different chapters and subtitles with my remote control....thank you
r0lZ
22nd April 2006, 00:15
OK.
Yes, v 0.6.3 is available on my homepage. And I will release v7.0 tomorrow.
You don't need to create a menu to change the subtitles or move to a specific chapter. Your remote control should have a "subtitle" button to select the subtitle you want, and you can use the Prev/Next chapter buttons to select a specific chapter.
However, when playing a compilation of several titles made with DVD Shrink in reauthor mode, it is impossible to jump from one title to another one directly with the remote. To accomplish this, you need the DVD Shrink plugin, available on my homepage. It has a function to enable the Title Menu button of the remote to jump directly to the next title in the compilation.
You should also try TitleWriter, but since I don't use it, I can't help on this subject. Look in this thread (http://forum.doom9.org/showthread.php?t=107960) for more info.
Adub
22nd April 2006, 02:34
New version tommorrow? YYYEEEEAAAAAAAAAHHHHHHHH!!!!!!
Great Man! Can't Wait!
setarip_old
22nd April 2006, 04:51
However, when playing a compilation of several titles made with DVD Shrink in reauthor mode, it is impossible to jump from one title to another one directly with the remote.Actually, although you can't use the "Title" button to do this, most remotes also have a button named "Display", or "Time search", or similar, which when pressed will typically allow you to select a different title, as well as a different chapter, or a specific time...
r0lZ
22nd April 2006, 09:20
Right. It's why I specified "it is impossible to jump from one title to another one directly with the remote."
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.