Page 1 of 1

video including two audio track

Posted: 05 Jul 2014 01:46
by hislitermos
Hello,
I have a video file which has two audio tracks. What I want to do is to stream it as it is. (Stream content will have two audio track)
When I analyze the video file, it shows relevant channel numbers as shown below

Code: Select all

Stream #0.0[0x190f]: Video: h264 (Main), yuv420p, 720x576 [PAR 16:11 DAR 20:11], 26.27 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1910](fra): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (clean effects) Stream #0.2[0x1911](en): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s (clean effects)
What I added is --audio-track=1,2 :

Code: Select all

sudo -u username cvlc -vvv movie.mp4 --sout '#transcode{fps=25,vcodec=mp4v,acodec=mp4a,vb=5000,ab=128,width=720,height=576,deinterlace}: standard{access=http,mux=ts,dst=localip:14001/movie1} --audio-track=0,1 ' :sout-mux-caching=3000
Result: Only the default language (FR) is playing when the video get started.

How can I stream both audio channels at the background?

Thanks in advance
Ermos

Re: video including two audio track

Posted: 05 Jul 2014 09:29
by RĂ©mi Denis-Courmont
Add --sout-all.

Re: video including two audio track

Posted: 05 Jul 2014 23:21
by hislitermos
Add --sout-all.
thanks a lot!
working...