Log in

View Full Version : [Blu-Ray] Forced subtitles and preferred audio


radius
4th October 2009, 18:53
Hi guys,

When editing DVDs I used to add some command sequences to check the player preferred audio language and enable forced subtitles when needed,
For example, when burning a multi language English + French movie,
if I set my player to use French audio by default, it'll enable the forced subtitles (when they exist),

So I'm trying to do the same thing on Blu-Ray with no success,
here's what I did in BDEdit:

http://r4dius.free.fr/bdedit1.png

I'm supposing SPR16 is the same "preferred audio" register as for DVD,
I check if the value equals to what was the value for French language code "26226",
if yes I set the audio to track 2 (French) and enable subtitles track 4 (French forced subtitles).

But it's not working :/, can anyone help with this ?

Thanks

radius
5th October 2009, 01:06
Just tested something,
When replacing ther condition : "if PSR16 == 26226 setstream ...."
I put "if PSR16 > 1 setstream" and the forced sub was enabled, I guess the language values are just not the same as on DVD (?)
By the way I don't know how to debug a blu-ray playback as on PGCEdit so I can't check, any ideas ?

hamletiii
5th October 2009, 01:39
Language code for French is 6713953, it's different from DVD.
Also the if else condition (goto) works a bit different from DVD.
To see the register values, currently sonic scenarist QC and the developer's version of powerDVD, windvd are available.

radius
5th October 2009, 02:38
Thanks a lot
It's working now :)
I first didn't knew how to "code" the "if" so I created it on scenarist with a dummy project then copied it in my bluray files.
Do you have any documentation with all or some of those languages values ? or any other doc that may help with manual bluray authoring :) ?
I'll try to check those softwares, thanks again.