programmatically set audio track?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
tckitty
Blank Cone
Blank Cone
Posts: 12
Joined: 20 Jul 2006 21:42

programmatically set audio track?

Postby tckitty » 21 Jul 2006 06:33

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!

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 21 Jul 2006 10:05

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.

tckitty
Blank Cone
Blank Cone
Posts: 12
Joined: 20 Jul 2006 21:42

Postby tckitty » 23 Jul 2006 18:30

I'm coding in VB though.

Guest

Postby Guest » 23 Jul 2006 20:47

--audio-track <integer> Audio track

tckitty
Blank Cone
Blank Cone
Posts: 12
Joined: 20 Jul 2006 21:42

i found the solution in another post...

Postby tckitty » 28 Jul 2006 21:26

i can use getVariable and setVariable to do it programmatically. thx!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 55 guests