Page 1 of 1
Convert: How to select audio track?
Posted: 30 Dec 2011 19:21
by andrew_h
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
Re: Convert: How to select audio track?
Posted: 01 Jan 2012 13:08
by VLC_help
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.
Re: Convert: How to select audio track?
Posted: 29 Jun 2014 19:37
by ThereIsNoUserName
Ok, this sounds great, but how do I do this when I select convert on the Media menu?
Re: Convert: How to select audio track?
Posted: 29 Jun 2014 20:22
by mederi
Re: Convert: How to select audio track?
Posted: 24 Oct 2014 22:33
by hereafternow
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?