Page 1 of 1

programmatically set audio track?

Posted: 21 Jul 2006 06:33
by tckitty
does anyone know how to set the audio track (not audio device and not audio channel) programmatically? my mpg is mux w/ 2 audio tracks and i would like to control switching these 2 tracks via code. thx!

Posted: 21 Jul 2006 10:05
by DJ
Right click on the player while playing the media file and under audio select the track. This may be set permanently in preferences or called via the command line.

Posted: 23 Jul 2006 18:30
by tckitty
I'm coding in VB though.

Posted: 23 Jul 2006 20:47
by Guest
--audio-track <integer> Audio track

i found the solution in another post...

Posted: 28 Jul 2006 21:26
by tckitty
i can use getVariable and setVariable to do it programmatically. thx!