Intro
I find there are some people who need to have a specific subpicture displaying when your movie starts. Now, if you didn't know, I came out with my first text guide using IfoEdit. But with PgcEdit, I found it was better for me for editing and also, the algorithm was different than my IfoEdit guide. Now for you newbies out there, subpictures is the technical synonym for subtitles. In PgcEdit, the author, rolZ, decided to shortened subpictures so SubPic was used.
If you want to see my other guide on turning subtitles off by default, click here.
With assumption that all your DVD files have been successfully ripped to your hard drive, let's begin. If you already know which Title(s) to edit, you can skip to Step 4.
1. It is important that we need to work on the right Title because we will be editing it's PGC (Program Chain). It's actually simple to find out. Just play your DVD in any software player that displays Title information. Here are some examples of software players I've used. Look at the highlighted area. Find what Title # you have and remember it.
IfoEdit
PowerDVD
2. Now, run PgcEdit. Open your folder and browse to your folder containing your DVD files.
>
3. If loading is successful, you'll get this prompt.
Click OK to continue.
4.
In your PGC
Selection List, double-click on PGC that has your
Title # that you got from Step 1.
e.g.
VTST 1 , 1 TTN 1 (1:31:19) Title 1
Note: Just like DVD Shrink ,the Titles shown in PgcEdit are also
referenced in VIDEO_TS.IFO.
5. You'll have your PGC Editor displaying now.
Let's inquire on your sub-pictures (SubPic), so click on
.
6. What's your SubPicture Stream #?
In your Stream attributes dialog, you'll be presented with your Title's Video, Audio, and SubPic attributes. We just need to be concerned about your SubPic section for this guide.
You can actually have up to 32 subpictures (SubPic 0 to SubPic 31). In our example above, we have only two. What I want to do is set my SubPic 1: fr (French) as my language of choice when my Title's subpictures is displaying by default.
So, at this point, I'll just remember that
is what I want.
Click on
to exit.
7.
Click on
to exit
out of PGC Editor.
8. Adding a New Pre Command
In your PGC Command Table, we are going to add a new pre command after the last one.
Left-click to select last pre-command and then right click for pop-up menu.
9.
Select and click on Add after. >
10. You now have a new last pre command with a NOP (No Operation) command.
11. Editing New Pre Command
We need to edit this new pre command to set your subpicture that you need to display so double-click on your new pre command line to bring up your Command Editor.
12. Select Alphabetically > SetSTN.
13. You can set your Audio and Angle here too but we'll just to work with the Subpicture section.
By default, GPRMs is selected but we need constant values. Select this option.
14. Here's where we get to set our wanted subpicture.
a. Select "set to" enable other options.
b.
Using the scrollbar, select the SubPic stream number that you need.
Remember Step 6? For my example, I wanted
. So here's what
I got now.
After performing the Steps a and b, you'll get this.
>
c.
Click on
to set and exit
Command Editor.
Your new pre command is now showing the command you configured.
15. Editing Break commands
Now back in your PGC Command Table, we need to look for any "Break" commands in our pre commands section. When you encounter a Break command in your navigation, all remaining pre commands will be skipped over and your Title's clip will play immediately. In the example below, we have pre command 6 with a Break or as I refer to it, a solid Break.
Other Break command examples to look for, if not a solid Break, will be conditional (if-then) commands like below. Take notice of all Break pre commands.
[00 A2 00 00 00 01 00 00] # if ( gprm(0) == 1 ".." ) then { Break }
[00 22 00 00 00 01 00 00] # if ( gprm(0) == gprm(1) ) then { Break }
[00 22 00 00 00 82 00 00] # if ( gprm(0) == sprm(2:sub-picture stream number) ) then { Break }
[00 A2 00 82 65 6E 00 00] # if ( sprm(2:sub-picture stream number) == 25966 "en" ) then { Break }
16. We need to edit ALL existing Break commands to jump to our new pre command. Double click on your Break pre command to bring up your Command Editor again.
17. Go to Alphabetically > GoTo.
18. Disregard what the Goto line command is if it's not the right one. We'll be correcting that now.
The only thing we will work with in
here is the
Remember your new last pre command, input that number. My example was pre
command 8 from Step 10.
Click on
to set exit
Command Editor.
19. Repeat Steps 16 to 18 if there are other Break commands to edit. Remember to use the same GoTo line number for all. Back to Step 16.
20.
Click on
or Ctrl+S to save.
21. Preview to test. If all goes well, that's it.
OPTIONAL:
If you want your subpicture permanently ON and your remote's subpictures
button disabled, just double-click on your PGC Title again and click on
Prohibited User Operations
.
Check
Subpicture stream change
(2097152) >
Click on
to set and exit.
Then, click on
or Ctrl+S to save.
Comments? Post here. Must be a registered Doom9 forum member.