Page 1 of 1

Many streams in container..

Posted: 20 Jan 2007 18:13
by baklanoid
I have one file "test.avi" and there are two audio streams in it. Is there a method to stream desired one(For exampe #2)?

Also, when i set --sout-all command line option, the second stream doesn't play, but present in vlc player. Actually, when video starts, no sound present and i have to switch to the second stream. Any comments?

One more.. Can we add some external subtitles to it?

Posted: 22 Jan 2007 14:08
by dionoea
You can select a specific audio track with the --audio-track <integer> option. In VLM it should work if you use

Code: Select all

setup thestreamname option audio-track=0
(btw, default is to only stream 1 video and 1 audio track)