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)
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
How can I stream both audio channels at the background?
Thanks in advance
Ermos