Script problem in DVDA ?

A. Grandt wrote on 2/22/2010, 11:20 AM
I've run into a bit of a problem with DVDArchitect Pro 5.0.
I needed to set a Subtitle, and then call a script to set up the button selection on the main menu afterwards. However it seems that linking to a script as a button action completely ignores the subtitle, audio and I guess angle selection on that action.
In turn, if you go via a dummy menu which then calls the same script, you DO get the correct value in for instance SPRM2 (subtitle).

Test: [url=http://www.grandt.com/tempdata/SubtitleTest.dar]

Additionally:
If you have transitions such as a fade in/out video, the SPRMs for Audio and Subtitle are all reset, erroneously imho.
If you use the SetStreams command in a script, which links to another script or goes via a transition video clip, the information in the command is ignored.

Can anyone please confirm this, or let me know where I'm misunderstanding the mechanics.

Comments

johnmeyer wrote on 2/22/2010, 3:36 PM
I ran into something that sounds similar, and reported it as a bug. I don't think Sony every fixed it. I did manage to create a workaround. I wrote about it in these forums. See if this helps:

VDA Subtitle Navigation bug -- and its workaround
A. Grandt wrote on 2/22/2010, 8:33 PM
Our problems manifest differently, but something tells me they may be related. I need to do more tests. It would be unfortunate if it is the preview function that is broken in my case, as it is used to debug code.
But there's definitely something fishy going on with the way DVDA handles stream selection. For instance if you use SetStreams and run it step by step through the debugger (you have to add a breakpoint on the first line of the script, that too is not saved with the .dar project), you'll notice that the stream selection is not reflected on SPRM1-3 if the script is being called directly from the button, but is set correctly if you call the script from the "dummy menu".

I've uploaded a new test to the same address as mentioned before, all I added was two SetStream commands to the script. I need to get a bit more creative to test something like this in PowerDVD or a stand alone player obviously :)

Edit:
There is something to be said for brute force over finesse at times:
[url=http://www.grandt.com/tempdata/SubtitleTest2.dar]

This is a slightly more complex example that displays the values of SPRM's 1-3. Observations: The DVD Architect "Preview Disc" function seems to be broken. Preparing the disc and playing the disc in PowerDVD, the disc functions as it should, the subtitle is set on both buttons. That is not the case during preview.

Having said that it is still a problem, if we can't rely on the Preview function to correctly identify problems (or in my case show problems that aren't there), what use is it then, it may do more harm than good.