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 > (HD) DVD, Blu-ray & (S)VCD > Advanced authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd March 2004, 11:29   #1  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
Button over video, button & subpicture question

Hi, I'm doing my first button over video in Scenarist and I'd like to be sure of a couple things
First off, I'm adding a subpicture and button to a cell
Now for the subpicture you can set 3 different colors and their opacity
Display color, selection color and action color

When watching the original movie, I can estimate the colors of the subpicture, but isn't there a way to look up the original colors and opacity in the IFO or something ? To have the exact same ones as the original.

Second...the subpictures for the buttons seem to be included with the subtitles that vobsub ripped. Since they have no place there, can I just remove them from the subtitles after importing? And then use them in the cells to make the buttons ?

Thx,
Seamus
Séamus is offline   Reply With Quote
Old 4th March 2004, 02:48   #2  |  Link
jel
Registered User
 
Join Date: Oct 2003
Location: city of churches
Posts: 1,414
the colour information is actually in the .vob not the ifo. you can use vobedit to find that information although it takes a bit of effort.
see my post here for some tips to finding that information and also read OxPs infinifilm guide http://www.doom9.org/index.html?/mpg/infinifilm.htm
the problem you will have though is extrapolating that information to set the colours in scenarist.
as for your second query.
for BOV to work you must have a forced subpicture of the exact same duration and start/end time as your BOV substream for you to create a button in the highlight layer, so no i would not think you should be deleting them from any stream
out of curiosity, which movie are you dealing with?
j
jel is offline   Reply With Quote
Old 4th March 2004, 07:01   #3  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
I'm working on Monty Python and The Holy Grail (disc1)

You see my thing is if these "buttonovervideo" subpictures are also present in the subtitles then they will be seen as part of the subtitle.

Since you can enable/disable the button over video from the menus, it sounds unlikely that they should be part of a normal subtitle stream

To clarify: Where I come from is DIF4U that leaves me with the bmp's of the subtitle streams, the bov subpictures are in there as well and will be imported as a subtitle stream.
(fyi, I do scenarist manually)

---
On another note, regarding forced subtitles, you tend to have a normal sst and a forced subs sst, what I do is, I only import the normal sst and then flag the subs that are part of "the forced subs sst" as Forced in the Data Editor, is this correct? Cause it always works.

Last edited by Séamus; 4th March 2004 at 07:06.
Séamus is offline   Reply With Quote
Old 4th March 2004, 07:19   #4  |  Link
jel
Registered User
 
Join Date: Oct 2003
Location: city of churches
Posts: 1,414
hmmm... well you should have subpics in your normal subtitle stream to correspond to those in the BOV stream, however they are usually blank - although i have seen dvds where the author was clever enough to insert a normal subtitle to correspond with the BOV.
so please check the subpics in your normal stream and confirm that they have the same pic as the BOV and are not blank - if they are and they are not supposed to be, you can simply 'paint' out the image with the background colour.
as for your 'other note' - yes that is right - well at the very least that is how i would do it
jel is offline   Reply With Quote
Old 4th March 2004, 21:47   #5  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Some general thoughts about Scenarist subtitle colors and BOV.

Colors:

The problem with .SST files generated by VobSub/VsRip/VsConv is that they don't specify the original color indexes. That's because Scenarist doesn't have a "Import Palette" option like Maestro. So when writing the "Color" statements into the .SST, VobSub tries to find a color in the default Scenarist palette that most closely matches the color in the original DVD palette and then writes that color index (that is, an index into the Scenarist default palette). This works quite well most of the time but sometimes it doesn't. That's also why you should always check "Copy Color Table" in IFOUpdate or the colors may get messed up.

Now the way around that I'm using is the Maestro format and converting that to SST . VsConv writes the original color indexes in this case (save with -f "maestro"). Then all it takes to convert this to an .SST is inserting the missing
Code:
PA	(0 0 255 - - - )
E1	(255 0 0 - - - )
E2	(0 0 0 - - - )
BG	(255 255 255 - - - )
in the header, swapping the first two numbers in each Color and Contrast statement (Maestro expects a color/contrast index order E1, E2, P, BG but Scenarist is E2, E1, P, BG) and adding 1 to each color index number (Maestro is 0-15 but Scenarist is 1-16) and finally rename the file to .SST. I've written a batch file that performs this conversion in case anyone is interested.

Now in the preview in Scenarist the subtitle colors may look totally wrong but that doesn't matter because we now simply don't copy color tables in IFOUpdate and when everything is put back together the colors will be OK because we kept the original color palette and also specified the original color indexes in Scenarist.

BOV:

I had problems such as Scenarist not creating any buttons when I simply imported the BOV subpictures from an .SST. Normally this should work because the subs will fall right into place in the "BOV cell scene", but for me anyway, it didn't always work. What I now always do is simply dragging the BOV subs into the data editor and specify "subpicture with forced start" when Scenarist asks. The big difference here is that subs imported this way don't have a "display stop" property compared to those imported from .SST. Now you drag them into the track over the scene (cell) that will have the button(s), drop them there and they will automatically "snap" to the end of the scene. Edit the "Start time to video" to start the sub exactly at the scene boundary. Create the buttons and bingo, works 100% of the time for me.

I know the latter is contrary to what many other people/guides say in that BOV may not work if the sub is too close to a scene boundary. I now believe this may be correct for subs from an .SST (with display stop), but for my "no stop" BOV subs seems to guarantee success. It even makes sense if you ever tried to author a simple still/motion menu in Scenarist using a button sub imported from a .SST. If you try this and compile, Scenarist will barf with a message like "Subpicture for highlight stream cannot have display stop" or something along these lines. Now one can conclude that a menu cell and a "BOV cell" (which is nothing more than a motion menu) should be quite the same thing and have equal requirements... Also in all the screenshots in the Scenarist manual where they describe how to create menus, the subs are always "(no stop)" (this is what originally put me on this track).

Just my two cents

EDIT:

About finding selection/action color and contrast indexes for BOV: simply use MenuEdit (unregistered version is enough), it will give you the original indexes for selection/action (select the button and click Edit). Much easier than finding this information in VobEdit.

Last edited by RB; 4th March 2004 at 21:53.
RB is offline   Reply With Quote
Old 5th March 2004, 03:15   #6  |  Link
jel
Registered User
 
Join Date: Oct 2003
Location: city of churches
Posts: 1,414
@RB
once again, thanks for the valuable tips. would you mind if i paraphrase your advice for the guide i am writing?
Quote:
I've written a batch file that performs this conversion in case anyone is interested.
...well you know how much i love batch files
one question though.
when you have multiple subtitle streams have you found that you need to do this step
Quote:
What I now always do is simply dragging the BOV subs into the data editor and specify "subpicture with forced start" when Scenarist asks. The big difference here is that subs imported this way don't have a "display stop" property compared to those imported from .SST. Now you drag them into the track over the scene (cell) that will have the button(s), drop them there and they will automatically "snap" to the end of the scene
for every subpicture, in every substream, that has the same cell times as your BOV subpics or can you simply adjust the start/end times to match?
so basically, does scenarist care if the other substreams have a "display stop" when the BOV stream does not?
cheers
j
jel is offline   Reply With Quote
Old 5th March 2004, 07:40   #7  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
ok thanks a lot RB

BOV:
What I understand now is to drag the bov subpicture in the Data Editor, choose Subpicture with Forced Start, and then drag it over to the Track Editor, to the right cell
Question is, do I leave the bov subpictures in the subtitle stream or do I delete them to be on the safe side ?

COLORS:
And about the maestro color format...I use DIF4U which runs vobsub automatically, it needs to stay enabled in order for the calculations to be correct.
Should I re-extract the subs later with this "VsConv" and leave the sst from dif4u for what they are ?

thx

(and yes I'm interested in the batch )
Séamus is offline   Reply With Quote
Old 5th March 2004, 07:53   #8  |  Link
jel
Registered User
 
Join Date: Oct 2003
Location: city of churches
Posts: 1,414
Quote:
do I leave the bov subpictures in the subtitle stream or do I delete them to be on the safe side ?
you will have to delete them prior to adding the new subpics. scenarist will complain if you overlap subtitles - well to be more accurate, it wont let you, period.

DIF4U already rips the subtitles with vsrip and uses vsconv to convert to .sst format. but yes, by the sounds of RBs method you would have to re-rip the subs manually. but i will leave that explanation to RB although i assume that by checking "Copy Color Table" in IFOUpdate you wouldnt have to re-rip anything as the resultant colours should be fine - you do however have to check the opacity settings in scenarist.
jel is offline   Reply With Quote
Old 5th March 2004, 11:20   #9  |  Link
influenza
Dutch strain
 
influenza's Avatar
 
Join Date: Sep 2002
Location: Netherlands
Posts: 2,039
I think RB is quite right here:


Quote:
I know the latter is contrary to what many other people/guides say in that BOV may not work if the sub is too close to a scene boundary. I now believe this may be correct for subs from an .SST (with display stop), but for my "no stop" BOV subs seems to guarantee success.
I also remove the stops from the subs and it works fine, no overlay problems etc. I just import the subs from the sst and then delete the stops. which is also possible of course. Quite some work tho if you have multiple sub streams.

Since I still have a BOV title sitting on my HD I might give RB's method a try next time

and Jel:

Quote:
for every subpicture, in every substream, that has the same cell times as your BOV subpics or can you simply adjust the start/end times to match?
not every scenarist version supports this But 3.0 does

oh and a bit off topic maybe but: I think removing the stop from the subs also solves the sub across scene thing: so a sub will be visible even if you jumped to the chapter. Didn't test that, but I believe it does. So maybe there's a way to delete those stops when importing a script or so, which would be nice and solve some problems.
__________________
What can I do to protect myself against the flu?

By far, the single best way to prevent the flu is for individuals, especially persons at high risk for serious complications from the flu, to get a flu shot each fall.

Last edited by influenza; 5th March 2004 at 12:05.
influenza is offline   Reply With Quote
Old 5th March 2004, 21:10   #10  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
OK, I'm attaching the batch file, some mod please validate it. Just create a shortcut to it on your desktop and then drag and drop the .SON file to be converted onto the shortcut. It will create the .SST file in the same directory as the .SON file.

Now as for how to get the .SON file... I'm not using DIF4U but I suppose it creates .SUB and .IDX files somewhere using VsRip. You need to use VsConv.exe (in your DIF4U directory) to extract subs from the .idx file in Maestro format. It's command line, just run it to get available options. For example
Code:
vsconv -f "maestro" -i "d:\somedir\somesubs.idx" -o "d:\someotherdir\subs.son" -id 0 -forcedonly
Attached Files
File Type: zip son2sst.zip (605 Bytes, 73 views)
RB is offline   Reply With Quote
Old 5th March 2004, 22:27   #11  |  Link
influenza
Dutch strain
 
influenza's Avatar
 
Join Date: Sep 2002
Location: Netherlands
Posts: 2,039
Dif4u creates the idx files, so you can use em. But it also outputs bmps and sst files directly. If you want to use this script be sure to name the output correctly so RA can pick it up.

Well, since I qualify as some mod (just as you RB ) I'll validate the attachment . That is if you attach it

I better make a folder for all those usefull scripts RB produces, thanks for that.
__________________
What can I do to protect myself against the flu?

By far, the single best way to prevent the flu is for individuals, especially persons at high risk for serious complications from the flu, to get a flu shot each fall.
influenza is offline   Reply With Quote
Old 6th March 2004, 00:09   #12  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Hmm, thought I did attach it Another try... hmm, says it's already attached. OK, download here: http://home.t-online.de/home/340044300675/son2sst.zip
RB is offline   Reply With Quote
Old 6th March 2004, 09:41   #13  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
OK, another quick question
As I'm still new to BOV I think I have to add one subpicture stream that will become my BOV stream? All normal subtitle streams must have a blank subpicture that correspends with the BOV stream?

Is the BOV stream also in the original title listed as a normal subtitle ?


Then if all this is correct how is the author possible to make a menu option to turn off the BOV ?

Last edited by Séamus; 6th March 2004 at 09:57.
Séamus is offline   Reply With Quote
Old 9th March 2004, 09:59   #14  |  Link
RB
Retired
 
Join Date: Nov 2002
Posts: 1,349
Quote:
Originally posted by Séamus
OK, another quick question
As I'm still new to BOV I think I have to add one subpicture stream that will become my BOV stream?
The BOV subpictures can be in any stream, along with other subtitles. But it's usually a separate stream that contains at most a few other real text forced subs like when people speak in a foreign language.

Quote:

All normal subtitle streams must have a blank subpicture that correspends with the BOV stream?
Yes, and it needs to be forced like the BOV subpicture.

Quote:

Is the BOV stream also in the original title listed as a normal subtitle ?
Yes. It's really a normal subtitle, it's just there so that Scenarist can create the highlight layer and make the button visible.

Quote:

Then if all this is correct how is the author possible to make a menu option to turn off the BOV?
Actually, you can't really turn it off. The button and highlight layer is present no matter what subtitle stream is selected, it's just that the button is not visible when a non-BOV subtitle stream is selected. Take any BOV DVD and with BOV turned on, write down a timecode where a button is displayed. Now play the movie with BOV turned off and press the Enter key at that timecode. Surprise
RB is offline   Reply With Quote
Old 9th March 2004, 11:59   #15  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
OK, thx, that helped a lot

What I learned from doing this, is that the BOV stream can be active while any other subtitle stream is active.
They just can't overlap, a blank subpicture has to be in place

But it looks like the author did try to overlap, I'll explain
In one of the bov scenes both subtitle and bov is active
a subtitle is playing at the same time of the bov, only the bov can not be seen now
At least this is how I see it in PowerDVD
Séamus is offline   Reply With Quote
Old 9th March 2004, 12:14   #16  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
To show you what I'm up against
you can find a screenshot at www.kleir.be/bov01.jpg

a scene at timecode 20:22;20 and a scene at 22:24;04
(originally this was 22:24;10 but Scenarist changes scene times for a reason I've yet to find out )

Anyway in this cell there should be a bov in Subpicture 1
But subpictures 2 -10 have a normal subtitle there, I shouldn't just replace them with a blank here.
So I'm supposed to align the start/end and duration of all the subpictures, but don't exactly know how

(At timecode 22:24;11 there's a 2frame subtitle, the same as the previous one. )

If you could still find the time to give me some tips here

Last edited by Séamus; 9th March 2004 at 12:24.
Séamus is offline   Reply With Quote
Old 10th March 2004, 04:52   #17  |  Link
jel
Registered User
 
Join Date: Oct 2003
Location: city of churches
Posts: 1,414
Quote:
But it looks like the author did try to overlap, I'll explain
In one of the bov scenes both subtitle and bov is active
a subtitle is playing at the same time of the bov, only the bov can not be seen now
At least this is how I see it in PowerDVD
well to paraphrase myself
Quote:
although i have seen dvds where the author was clever enough to insert a normal subtitle to correspond with the BOV.
it happens on 'spiderman' where instead of there being blank subpics corresponding with the BOV there are 'normal' subpics at the same point.
Quote:
a scene at timecode 20:22;20 and a scene at 22:24;04
(originally this was 22:24;10 but Scenarist changes scene times for a reason I've yet to find out )
someone please correct me if i am wrong but i believe that has to do with setting chapters on the nearest 'I' frame when re-encoding.
by the screen shot i am assuming that substream 1, will contain the BOV subpics?
add them using RBs method, then highlight the corresponding subpic in the next stream, and you will see some info in the bottom middle window (sorry cant remember its name right now) and it will show you start time and duration. set both to match your BOV subpic.
repeat as necessary for each stream.

@RB
as i asked earlier, would you have to remove the (with Stop) attributes from the corresponding substream BOV subpics using your method, or does it not matter?
jel is offline   Reply With Quote
Old 10th March 2004, 07:15   #18  |  Link
influenza
Dutch strain
 
influenza's Avatar
 
Join Date: Sep 2002
Location: Netherlands
Posts: 2,039
I asked d3s7 to remove the stop attribute for subs when using scenaid. Hopefully this is gonna help too.
__________________
What can I do to protect myself against the flu?

By far, the single best way to prevent the flu is for individuals, especially persons at high risk for serious complications from the flu, to get a flu shot each fall.
influenza is offline   Reply With Quote
Old 10th March 2004, 08:20   #19  |  Link
Séamus
Registered User
 
Join Date: Jul 2003
Location: Belgium
Posts: 90
Yes substream 1 is the BOV stream

I already figured out how to change the start/end and duration

I now imported the rest of the subtitles which I initially left out (it has 25 subtitles +the bov stream )

I'll see what comes out of it and I'll keep you guys posted

thx

Last edited by Séamus; 10th March 2004 at 08:41.
Séamus is offline   Reply With Quote
Old 10th March 2004, 09:16   #20  |  Link
influenza
Dutch strain
 
influenza's Avatar
 
Join Date: Sep 2002
Location: Netherlands
Posts: 2,039
25! wow that's gonna be a lot of work
__________________
What can I do to protect myself against the flu?

By far, the single best way to prevent the flu is for individuals, especially persons at high risk for serious complications from the flu, to get a flu shot each fall.
influenza 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 14:52.


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