BrightSign HD2000 Object Reference Manual User Manual

Page 18

Advertising
background image

video.SetAudioStream(0)
video.SetAudioOutput(3)
video.SetAudioStreamAux(1)
video.SetAudioOutputAux(0)
video.PlayFile("TwoStreams.mpg")

Example: This code shows how to play a video with multiple languages:
REM – select language from first audio track
video.SetAudioStream(0)
video.PlayFile("Language.mpg")

REM – select language from second audio track
video.SetAudioStream(1)
video.PlayFile("Language.mpg")

Because the streams to be played are specified prior to playing the file, there are some rules necessary as to
what happens if the streams selected are invalid:
 If the main stream is set to -1 then the first audio stream found within the multiplex will be played.

 If the main stream is not -1 but is invalid, then no stream will be played. The aux stream will also be

disabled in this case.

 If the aux stream is -1 or invalid, then no audio will be played out of the aux output.

18

Advertising
This manual is related to the following products: