Log in

View Full Version : how to change default subtitles????


Pages : [1] 2

Rombaldi
13th October 2002, 03:42
this may be a simple/obvious question, but I've done a few searches and can't find the answer...

I've got 11 discs to modify.

Japanese discs of US English programs (Dark Angel S2 WS if
you must know). By default, the Japanese subtitles are ON when
you start playing... you can turn them off, but between the rip
and then burn, I would like the have subtitles default to
OFF.

I've scanned the messages, perused the guides and I assume
it's something relatively simple.. but I can't find it...

help???

Rombaldi
15th October 2002, 19:18
anyone??? Bueller???
someone throw me a bone please???

Drylook
15th October 2002, 23:26
I'm curious on this one, too.

I've tried before with pre-commands and post-commands but it didn't work.:(

Anyone knows how to change the default subtitle? Either to turn it off or to select the one you want.

My movie backups only have subtitles in Portuguese (no menus) and it would be nice to have them straight away by default instead of having to select it on the DVD remote control...

011
16th October 2002, 08:08
The only way I experienced so far is reauthoring. In DVDmaestro you have a bunch of options for that. You can choose the default audio and subtitles (on or off).

Rombaldi
16th October 2002, 09:18
There must be a simpler way than that... surely someone knows where inthe IFO/VOB file this info is stored and how to turn it off/change it...

come'on guys... help the newbies out....

gedo
16th October 2002, 15:48
I've asked this question recently and didn't get an answer so don't hold your breath !!

I have to remove all subtitles from my files to stop the subtitles appearing by default on the 2nd disk only. This sounds like overkill for something that you would *think* would be relatively easy.....

mpucoder
16th October 2002, 15:54
Well, I know of nothing in the ifo that declares the default. So, if someone finds it, I'd like to know as well. Maybe someone could compare ifo files authored with and without. Or, at least, send them to me and I'll compare them.

gedo
16th October 2002, 16:14
I've asked this question recently and didn't get an answer so don't hold your breath !!

I have to remove all subtitles from my files to stop the subtitles appearing by default on the 2nd disk only. This sounds like overkill for something that you would *think* would be relatively easy.....

klona
16th October 2002, 17:57
I had a similar case and just put a pre-command at the end of the existing pre-commands on the main movie :

SetSTN Subpictures steam to : 1 as I want the sub 2 by default.

To remove a default sub, I think you must look for a similar command in the pre-command of the PGC/VTS of the main movie, the video_ts.ifo and all title that can be played before the main movie (Ifoedit will tell you after DVD play)

If you cannot find one, you can do a very small project in Maestro with a pre-command : set sub 1 OFF, generate and see what is the command to put into the IFO (as the OFF is not implemented in available commands in Ifoedit)
You then just need a copy-past to a pre-command in the ifo of the main movie, as last command just before the movie. It must work I think.

Rombaldi
17th October 2002, 21:45
Unfortunately I don't HAVE Mastero or any of the other packages.. and I REALLY don't want to 're-author' these since they fit just fine on a 4.7gb disc...

Derrow - o! master of the IFO's.. can you help us?? or at least add OFF to IfoEdit??? Soon???

mpucoder
17th October 2002, 21:52
Until then here's what you can do. Enter a SETSTN subpicture stream, and use stream #31. Then, double click on the command and change the byte that reads "9F" to "BE". This is stream 62, or "off".

klona
18th October 2002, 00:00
Here is your answer, thx to mpucoder, who probably did the small project with a sub OFF command. Thx to you, man.

Rombaldi
18th October 2002, 05:55
BINGO! that was the clue I needed.. it had a
SETSTN subpicture stream of '64' in there already.. I just
changed it to '62' and Eureka! no more subtitles by default

thanks!!

Derrow
18th October 2002, 09:55
Oh great.
Big thanx MpuCoder. Now I can implement something in IfoEdit.

Mancubas
19th October 2002, 13:14
Hi

I have been looking for a way to disable sub titles on start up also, but cannot find the "SETSTN subpicture stream" in my IFO's, can someone please write a simple guide on how to disable sub titles on startup, before DERROW implements it into his new ver of IFOEdit.

Thx, in advance.

Drylook
19th October 2002, 13:29
Originally posted by mpucoder
Enter a SETSTN subpicture stream, and use stream #31. Then, double click on the command and change the byte that reads "9F" to "BE". This is stream 62, or "off".

Great... Now we know how to set default subtitles to OFF.

But, I'm still blocked in my problem: Not having default subtitles, and wanting to get Portuguese subs as default...:rolleyes:

I realized you created stream #31 so you don't mess with other subs already in there. But how do I find what is the byte to change to PT subs and make them appeared by default???:confused:

Any help would be apreciated, mpucoder.

Thx.

mpucoder
19th October 2002, 16:18
I'm still looking for what sets a subtitle on by default. It had been my belief that a SETSTN command existed in some PGC to do this, but I now have my doubts. I have an example DVD which demonstrates features of subpictures (wiping, fading, scrolling) and there is no need to turn on the subtitles. But, I can't find any command turning them on, so I'm looking at other things.
Until then, you can always insert a pre command to turn them on. If there is a command setting the wrong subtitles, edit the command by right clicking it, and change the stream number to the correct one.

About my use of 31, I used it only to make the byte to edit easy to find. Placing it in a SETSTN command doesn't create a substream, or interfere with any existing ones. You can use any value in the original command, just as long as you know to look for 80h + the number.

FilipeAmadeuO
20th October 2002, 11:31
I´ve found a way to the movies that has only one subtitle. Or that we riped all the other.
Try to add a pre-comand in the end of your VTS_PGC and put it like (SetSTN) Set Subpicture Stream Nr and select number 32 (you got to right it).
This way the only subtitle is always as default

FilipeAmadeuO
20th October 2002, 14:38
It works for me !!! But sometimes you got to try to put the (SetSTN) Set Subpicture Stream Nr and select number 32 in the first pre-comand.
I´ve done 2 movies (Moulin Rouge R2 and Top Gun R2) and in Moulin Rouge i´ve put it in the end and works but in Top Gun it only works in the begining of pre-comand.
And you can also uso the POP´s to force the subtitle and don´t allow to change it.

The IFOEDIT is excelent. Every time i learn someting some .
Derrow keep on the good work. You´re the man.

Drylook
21st October 2002, 20:52
Obrigado Filipe... Vou já experimentar...

Any other clues will be apreciated...
Thanx guys.

FilipeAmadeuO
21st October 2002, 23:26
But its strange. It works on the DVD play of Ifoedit and not on my Grundig player. Try it.

Drylook
22nd October 2002, 14:18
Yep... Same here!:(
It works on Ifoedit Play but not on the standalone (Sony)...

There's got to be another way...:sly:

Drylook
25th October 2002, 18:14
C'mon guys... No more ideas???

Did you find anything more mpucoder?

I'm just keeping the movies with English audio and Portuguese subtitles. Then creating new IFO's which doesn't leave any command for subtitles (obviously).

FilipeAmadeu sugestion works only on PC but not on the standalone...:(

I'm completely clueless...:confused:

mpucoder
25th October 2002, 19:45
Not so far, the example I have that selects a default also has 98 titles and 36 title sets - far too complex. If anyone has a relatively simple movie I can examine, that would help. Either tell me about an R1 release that shows subtitles by default, and I'll see about obtaining it. Or email me (mpucoder at attbi.com) if you have all the ifo's of a movie that does this. Don't send the ifo's at first, I don't want a deluge.

mpucoder
25th October 2002, 21:56
Actually, there are two issues here, and I think even I am confusing them. What I've been looking into is better described as forced subpictures, those that appear even though you have subpictures off. And, of course, SetSTN can force a stream to display.
Default subpictures, on the other hand, are those that appear when you simply turn subpictures on. Those are determined by the preference you or the manufacturer set into the player. You might want to check what preference you set into your players (earlier players may not have this, and neither does ps2)
On Sony players: with the drawer closed, but no disk in, press "display". You will see a menu, move down to the last item "setup", go right to see a submenu, go down once to select "custom", then press enter. The first menu that comes up is the language preferences for OSD (the onscreen display you are using), menu, audio, and subpictures. Set these to your preference, by default audio is "original" meaning the first audio track on the disk, and subpictures default to "follow audio".

Drylook
27th October 2002, 01:34
Well, I've got that right on my Sony player.
Everything is selected in Portuguese (default audio, subpicture, etc) but still no success when playing a backup (movie only). I still need to change manually to Pt subpicture on the player remote control...:(

LaRu
28th October 2002, 10:03
Hi guys,

I was looking for the same thing. English audio with Dutch subtitles on by default. I tried everything in this thread but the same as you guys, I didn't get any positive results.

OK, yesterday, my wife went for a rent of 'We Were Soldiers'. It was what I needed. Dutch switched on by default.

I ripped the file and started studying it. Using IfoEdit, I wrote a completly new VIDEO_TS and VTS_01_0. Then, the subtitles were not switched on anymore. So, the problem had to be there.

I added a program chain command table (by extending the program map and than manually changing the setting for number of commands, etc...) to VTSM_PGCI_UT (of VTS_01_0).

I added the SetSTN 64 and tried. As a result, the subtitles were on by default. I read in this thread that there would be problems now when playing on a regular DVD player. I didn't try this yet (not burned the image). But I looked at the place where the subtitles were set and noticed also a cell command like

(Link subset)LinkTopCell.

I don't know yet if this command has something to do with actually displaying the subtitles (because there were alsso some calls like Link PGC : 15).

I'll try to find out if the subtitles are played on a burned DVD. But I'll also try to find out within the company I'm working (at SONY) if someone knows what to do.

Please keep this thread up until the problem is solved,

Cheerio,

Rudi

Mancubas
28th October 2002, 14:26
Hi

We will all sit tight on your responce!!!

Good Luck, thx for sharing your experiments with us.

LaRu
30th October 2002, 09:37
Hi friends,

Yesterday evening, I burned ‘We Were Soldiers’ on a DVD-RW and tried in my SONY player. Without any interference from my side, the movie started with Dutch subtitles on by default.

I’ll explain again what happened, and what I did to let it work.

So, a few days ago, my wife rented this movie. Looking at it, I noticed that it had Dutch subtitles switched on by default. Immediately (after the show), I ripped it to my hard-disk and started studying it. I did find out some interesting things about the VM instructions. Especially the way to set the subtitles on.

This was already explained before in this thread, but playing on normal DVD-players, the subtitles were gone again. So, you can imagine I was really happy yesterday that I saw them on my burned DVD (on a regular player).

How ???

The first thing I did was, using IfoEdit, to create a new VIDEO_TS and VTS_01_0 and to rip all streams except English audio and Dutch subtitles. When I played the movie after that, the default subtitles were gone so I had to restart them again.

Start IfoEdit and open VTS_01_0.IFO (i.e. main movie in my case). Goto VTS_PGCTI and then select VTS_PGC_1.

Look until you find the entries :

(e4) PGC Command Table start byte (0)
(ee) PGC Program Map start byte (ec)

So, we notice that there is no Command Table, so we need to add one manually.

[DERROW: maybe you can, when creating new .IFO’s create also an Program Command Table with one pre-command, e.g. NOP]

Goto the PGC Program Map. Insert (NOT ADD) 16 programs. They will all have value 0. Make sure that the program which was first before inserting, is situated after the inserts on address (fc).

Edit now (by clicking on each command) the values as following

00 --- pre commands (1)
01 -/
00 --- post commands (0)
00 -/
00 --- cell commands (0)
00 -/
00 --- size of command table (15)
0f -/
00 ---
00 |
00 |
00 |-- 8 bytes 0 = NOP
00 |
00 |
00 |
00---

Go back to the line (e4) and change it to :

(e4) PGC Command Table start byte (ec)
(ee) PGC Program Map start byte (fc)

Save, Quit and startup IfoEdit again. Load VTS_01_0. and now you’ll see the command table.

OK. This is quite a way we did go.

Now, all we have to do is add commands so go to the first command and left click on it to bring up the hex-edit window.

Change the values to:

51 00 00 00 C0 00 00 00 = (SetSTN)Set Subpicture Stream nr 64

add also a cell-command, left click on it and change the values to :

20 01 00 00 00 00 00 01 = (Link Subset) LinkTopCell.

Now, go to CELL PLAYBACK (a little down in the PGC) and search for:

Cell_1: command Nr (0 = no command) (0)

Change this into:

Cell_1: command Nr (0 = no command) (1)

Save all and the job is done.

[DERROW: try it and test it. It can be added to IfoEdit but other cases have to tested also

- keep multi subtitles in the final image and select your favorite for default, or
- main movie is not in VTS_01 but in another VOB, … etc. ]

Good Luck all.
:D

mpucoder
30th October 2002, 15:35
I think I see what is happening here, according to my documentation on SPRM 2, the one that selects subpictures, bit 6 (value 64) needs to be set to turn on subpictures.
It looks like there is no magic value hidden somewhere on DVDs to determine the default stream, only SetSTN. The value 64 alone selects stream 0 ON. If you want to select another stream add 64 to the stream number (and 128 for the SetSTN command).
By not setting bit 6, you are selecting a stream, but it will be off. What good is this? It determines what stream displays when the user simply turns on subpictures.
Other values: 62 means no subpictures (trying to turn them on does nothing), 63 means forced subpictures (stream 0, user cannot turn them off)

Derrow
30th October 2002, 16:53
Originally posted by LaRu

[DERROW: maybe you can, when creating new .IFO’s create also an Program Command Table with one pre-command, e.g. NOP]


I thought, I already did an implementation to be able to add commands to an empty 'Command-table' in a PGC, didn't I ?

If you right click the mouse over 'There are no Commands', you should get a context-menu, where you can select 'Add Command'.

Rickard
30th October 2002, 19:47
Could someone please explain this to us mortals?

How do i do this?

Goto the PGC Program Map. Insert (NOT ADD) 16 programs. They will all have value 0. Make sure that the program which was first before inserting, is situated after the inserts on address (fc).

Do i do it in IfoEdit??

mpucoder
30th October 2002, 20:43
According to Derrow's post above, that is the hard way to insert a command table.

Rickard
30th October 2002, 20:58
Give me the easy way :D

Or someone maybe can be more detailed about this or even make a guide??

mpucoder
30th October 2002, 21:01
"If you right click the mouse over 'There are no Commands', you should get a context-menu, where you can select 'Add Command'."

Rickard
30th October 2002, 21:36
Thanks Mpucoder. I didnt use 0.94 :)

LaRu: Can you explain this in a more easy understanding way??

00 --- pre commands (1)
01 -/
00 --- post commands (0)
00 -/
00 --- cell commands (0)
00 -/
00 --- size of command table (15)
0f -/
00 ---
00 |
00 |
00 |-- 8 bytes 0 = NOP
00 |
00 |
00 |
00---

Go back to the line (e4) and change it to :

(e4) PGC Command Table start byte (ec)
(ee) PGC Program Map start byte (fc)

FilipeAmadeuO
31st October 2002, 01:21
MPUCODER is absolutely right.
The easy way to turn a subtitle on is to add a pre-comand in the end of the PGC that we want to turn the subtitle and put SetSTN 64 .
I can only do it by editing the hex and typing
51 00 00 00 C0 00 00 00
This way the first subtitle ( 0X20) is always set on by default.
For other subtitles is the way that MPUCODER described , just change the SEt STN 64 + n X 128 ( Where n = number of subtitle OX2n )

Please try it and post here the results.

Rickard
31st October 2002, 08:16
I think i get this. It worked on my PC with English subtitles going on by default but i havent burned yet. I have 2 subtitles (English and Swedish). Swedish is 0X23. What would be the hex number for that one? 51 00 00 00 C0 00 00 00 like?

LaRu
31st October 2002, 08:59
Hi all,

I tried yesterday in IfoEdit to right click on the 'No PGC Command Table' and I did get nothing. There is no context menu to add commands. Probably (I saw it somewhere) Derrow added it in 0.95. But that is still beta I believe.

This week-end is a long one for me. I'll try more things out about setting default subtitles (even when more subtitles are kept). I'll try to make a guide about that usign the easy way (Derrow added the context menu) and the hard way (no context menu). I'll also give hex output for other subtitles.

Rudi.

Rickard
31st October 2002, 09:20
I can right click and get that context menu in 0.94

LaRu
31st October 2002, 09:21
Rickard,

YES, all work is done in IfoEdit. This is for me the best application on the (freeware) market to change things (thanks to DERROW).

To explain (because in my version of IfoEdit 0.94), there is no menu available to add a program command if the program command table is not present. So, when using that one, there is no easy way (otherwise, I would have used it).

In VTS_01_0.IFO (the main movie IFO, NOT VIDEO_TS.IFO), locate the program map table. The correct place is described in my posting.

A program command table, with one NOP command, consists of 16 bytes.
- 2 bytes (Nr of Pre-commands)
- 2 bytes (Nr of Post-commands)
- 2 bytes (Nr of Cell-commands)
- 2 bytes (length of the command table)
- 8 bytes (for each command).

So, because there is in 0.94 no menu to add a program command ON AN EMPTY PROGRAM COMMAND TABLE (there is one if you already have commands), we have to add them manually.

So, we have (something like it, I don't know by heart)

(e4) PGC Command Table start byte (0)
(ee) PGC Program Map start byte (ec)
...

No Program Command Table

Program Map Table
Program 1 ...
Program 2 ...

Right click on 'Program 1 ...' and select : INSERT PROGRAM.
Repeat this step again 15 times (so you added 16 new programs).

CHECK : the original 'Program 1 ...' should be on address [fc].

We want the program command table to look like this

- nr of pre-commands : 1 [0001]
- nr of post-commands : 0 [0000]
- nr of cell-commands : 0 [0000]
- table size : 15 [000f]
- Pre-Command : NOP [00 00 00 00 00 00 00 00].

So you have to change the program maps you inserted to those values :

Program 1 : 0 [00]
Program 2 : 1 [01] ... those two make [0001] = pre-commands
Program 3 : 0 [00]
Program 4 : 0 [00] ... those two make [0000] = post-commands
Program 5 : 0 [00]
Program 6 : 0 [00] ... those two make [0000] = cell-commands
Program 7 : 0 [00]
Program 8 : 15 [0f] ... those two make [000f] = table size
Program 9 : 0 [00]
Program 10 : 0 [00]
Program 11 : 0 [00]
Program 12 : 0 [00]
Program 13 : 0 [00]
Program 14 : 0 [00]
Program 15 : 0 [00]
Program 16 : 0 [00] ... these eight = [00 ... 00] = NOP
Program 17 : 1 THIS WAS THE ORIGINAL ONE.

Now, if you change the addresses as described in previous posting, you will have a program command table, with one NOP pre-command and the program map is the same.

I hope this helps.If not, wait for IfoEdit 0.95 and you'll probably (I don't know yet) be able to add a command to an empty command table by just right clicking on it.

Cheers,

Rudi.

LaRu
31st October 2002, 09:25
Hi,

question !!!!

Has someone already tried to use the method but without the 'Link SubSet' Cell-command? I don't know if this needed, but it is possible that removing it prevents the display of subtitles on a regular DVD player. Some of you guys did set the subs, but didn't see them on a normal DVD player.

So maybe this command is necessary also.

An comments on this are welcome.

Rudi.

LaRu
31st October 2002, 09:29
Derrow,

when we load an .IFO in IfoEdit, it's displayed in the top list-box.

Is it possible to provide a menu item (or a context menu) to delete them from this one.

example: suppose I loaded VIDEO_TS and VTS_O1_0, and I recreated new one (using VOB extra's), I'll have 4 entries in the list box. I want to get rid of p.e. three of them. Now, I've to quit IfoEdit, Restart it and load the wanted one.

It would be much easier if we could delete them without quiting.

Hope this can be implemented.

Thanks,

Rudi

Rickard
31st October 2002, 19:17
I did it!! :D

Ripped Collateral Damage with IfoEdit 0.92 and only spared Swedish subtitles and English audio. Burned the DVD and started it in my Philips standalone DVD player. It started subtitles set to off.

Started upp IfoEdit 0.94 and clicked at VTS_PGC_1 and scrolled down to the text "There is no PGC Command Table". Right click on that text and choosed "Add precommand" and added the following hex value: 51 00 00 00 C0 00 00 00

Save it and then i burn it with Nero. Once again i put it in my standalone Philips DVD player and Swedish subtitles starts automaticly! So kewl! :D :D

OXV
4th November 2002, 01:12
Not sure if this info will help any but....I ripped Akira and split it into 2 discs, afterwards the movie starts up witout any subtitles just like on the DVD.

However, as soon as I edit the pre-command in the VIDEO_TS.IFO > VMGM_MAT > First Play PGC > PGC Command Table to jump to the the root or title menu, in order to bypass the FBI warnings and production logos, it defaults with the english subtitles on.

I checked for a setSTN command but could not find any in the main movie ifo. I looked within the VTS_PGCITI and the VTS_PGCI_UT as I believe,if I read this post right, one of them is where the command was supposed to be ??

LaRu
4th November 2002, 08:57
OXV,

when a movie jumps around within the 'file system' of the movie, it's possible that the 'set default subtitle' command is located somewhere else (e.g. menu commands). But I'm sure that it must be somewhere.

LaRu
4th November 2002, 09:11
Rickard,

you see ... it works. I hope my last sending help you out a little bit. And you answered my question about the 'Link SubSet'-command. It seems to me that you didn't use this at all so probably it is not needed.

STRANGE THING !!!! I've to check my release of IfoEdit because when I right-click on the No Program Command Table, I don't get a menu to add commands. Maybe I still have IfoEdit 0.93.

Will look into this.

Rudi

turner6
4th November 2002, 11:42
Laru and Rickard,

Good job ! It works very well.

But I have one question: why do we have to add this cell-command (link Subset) LinkTopCell and change the cell_1: command Nr (0 = no command) (0) to (1).

I only added the (SetSTN) Set Subpicture Stream nr 64 and it works without adding anything.

Thanks for your answer.

LaRu
4th November 2002, 15:16
I added it because it worked the first time with me, but I didn't try it without. Rickard did it and it seems not to be necessary so forget about it.

Good for you that it worked.

Rudi

Rickard
4th November 2002, 20:19
Splitted and ripped Blade 2 yesterday and buy adding that little pre command my preselected subtitles kicks in automaticly on both DVDs :)