Wrong audio track from cmd line extract/convert
VLC version 3.0.4
I have a video file "a.mkv" with three audio tracks (VLC plays them fine) which I try to extract via the "--audio-track" parameter. Value "0" gives me first track (nice) but both "1" and "2" gives me the third track... seems like a bug?
Commands:
vlc "a.mkv" -I dummy -vvv --no-random --no-repeat --no-loop --no-sout-video --audio-track=0 --sout="#transcode{acodec=s16l,channels=1,ab=128}:std{access=file,mux=wav,dst=new0.wav}" vlc://quit
vlc "a.mkv" -I dummy -vvv --no-random --no-repeat --no-loop --no-sout-video --audio-track=1 --sout="#transcode{acodec=s16l,channels=1,ab=128}:std{access=file,mux=wav,dst=new1.wav}" vlc://quit
vlc "a.mkv" -I dummy -vvv --no-random --no-repeat --no-loop --no-sout-video --audio-track=2 --sout="#transcode{acodec=s16l,channels=1,ab=128}:std{access=file,mux=wav,dst=new2.wav}" vlc://quit