Convert: How to select 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.
andrew_h
New Cone
New Cone
Posts: 1
Joined: 30 Dec 2011 19:17

Convert: How to select audio track?

Postby andrew_h » 30 Dec 2011 19:21

I am using VLC to convert .wtv files into .ts retaining the original video and audio streams. By default, the converter uses the first audio track but for some files I need to select track 2. There does not appear to be an option for this in the GUI and I cannot find a suitable setting in the command line help.

Does anyone know how to achieve this?

Thanks

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Convert: How to select audio track?

Postby VLC_help » 01 Jan 2012 13:08

Options are

Code: Select all

--audio-track=<integer> Audio track Stream number of the audio track to use (from 0 to n).

Code: Select all

--audio-language=<string> Audio language Language of the audio track you want to use (comma separated, two or three letter country code, you may use 'none' to avoid a fallback to another language).

Code: Select all

--audio-track-id=<integer> Audio track ID Stream ID of the audio track to use.

ThereIsNoUserName
New Cone
New Cone
Posts: 1
Joined: 29 Jun 2014 19:35

Re: Convert: How to select audio track?

Postby ThereIsNoUserName » 29 Jun 2014 19:37

Ok, this sounds great, but how do I do this when I select convert on the Media menu?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Convert: How to select audio track?

Postby mederi » 29 Jun 2014 20:22


hereafternow
New Cone
New Cone
Posts: 2
Joined: 23 Oct 2014 17:42

Re: Convert: How to select audio track?

Postby hereafternow » 24 Oct 2014 22:33

I keep trying this code and it always comes out with the English track instead of the Spanish one that I want to extract.

-audio-track=<integer> Audio track
Stream number of the audio track to use (from 0 to n).

I tried different numbers for the integers but it's always the same audio track. Why isn't it working?

I wouldn't even know where to begin with the second code. Where do I find the country code for the language?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests