PDA

View Full Version : Setting language in different VTS does not work


moviefan
21st August 2006, 12:14
Hey guys,

yet another problem with creating my DVD ;). I have a little intro in VTS_02 where the pre-command includes a simple code to set the preferred audio language. When I test the DVD in PgcEdit in trace mode, the SPRM value is set correctly. Thus one should assume the correct language should be audible. When I play the DVD in a software DVD player, the language of the first language stream 0x80 is set, not the preferred one. So I started thinking about this problem and tested the idea to set audio language in VTS_01 (where the movie is stored) rather than in VTS_02 (where only 1 audio track is used). That way it works. Is the reason for the issue the single audio track in VTS_02 which is played by default, if another track is selected, but nonexistant, and the audio language thus is set to play audio-stream 1?

Regards

bigotti5
21st August 2006, 14:08
Set audio means set a value in SPRM1
SPRM1 = 0 -> first audio stream
SPRM1 = 1 -> second audio stream
SPRM1 = 2 -> third audio stream
and so on

e.g if you set SPRM1 in VTS2 to 1 and only one stream is available in this VTS then SPRM1 is resetted to 0
You have to set audio in the VTS1 (respectively in the VTS where more then one audio streams are present)

moviefan
21st August 2006, 14:15
OK, that was my mistake... setting an audio stream that does not exist and thus the SPRM1 value is resetted to the first and only audio stream. Thanks for your helping reply!