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

About encoding, codec settings, muxers and filter usage
tokyotech
Blank Cone
Blank Cone
Posts: 12
Joined: 17 Dec 2009 08:45

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

Postby tokyotech » 06 Apr 2010 09:17

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 06 Apr 2010 12:07

Probably vlc --audio-track 2 ...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests