Page 1 of 1

How to stream audio track #2 of a .MKV?

Posted: 06 Apr 2010 09:17
by tokyotech
Currently, I use this for transcoding one of my MKV videos:

Code: Select all

:sout=#transcode{vcodec=h264,vb=800,scale=0.65,acodec=mp3,ab=96,channels=2,samplerate=44100}:std{access=http,mux=asf,dst=127.0.0.1:1234}
It's grabbing the default audio track. How do I change my parameters to grab the 2nd audio track instead?

Re: How to stream audio track #2 of a .MKV?

Posted: 06 Apr 2010 12:07
by RĂ©mi Denis-Courmont
Probably vlc --audio-track 2 ...