Page 1 of 1

Extract specific audio track via cmd line

Posted: 07 Aug 2015 19:16
by Nikse
Yo,

I've been extracting wave files from mkv files for some time... it worked excellent until 2.2.x via this command line:

Code: Select all

vlc.exe input-video.mkv -I dummy -vvv --no-sout-video --audio-track=1 --sout="#transcode{acodec=s16l,channels=1,ab=128}:std{access=file,mux=wav,dst=out.wav}"
Has this "--audio-track" parameter been removed on purpose in 2.2.x or is it a bug?
Is there any other parameter to choose a specific audio track via?

Re: Extract specific audio track via cmd line

Posted: 10 Aug 2015 09:13
by jr83498
I think that this is a job for ffmpeg which is made to process media files. VLC is made to be a player.