Recording with Mosaic confuses audio tracks

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
slimjim
New Cone
New Cone
Posts: 7
Joined: 23 Mar 2010 09:16

Recording with Mosaic confuses audio tracks

Postby slimjim » 10 Dec 2012 16:16

I am using a Mosaic script to merge four video and two audio sources into one stream / file. The audio input appears in two different tracks (which is good), but I the track allocation appears to be arbitrary. Without having anything altered in between, audio source A appears in audio track 1 in one session and in track 2 in anothersession, while source B appears in the other track respectively. I have no idea how I could manage to reliably allocate one audio source to one audio track. Can anybody help?

I am using Windows 7 64, but I'd expect that this issue should be independent of the OS.

This is my mosaic.conf:

Code: Select all

new channel1 broadcast enabled setup channel1 input "rtsp://192.168.8.170:5555" option "access-filter=timeshift" setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=576,width=720},select=video,dst=bridge-out{id=1},select=audio} new channel2 broadcast enabled setup channel2 input "rtsp://192.168.8.171:5566" option "access-filter=timeshift" setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=576,width=720},select=video,dst=bridge-out{id=2},select=audio} new channel3 broadcast enabled setup channel3 input "rtsp://192.168.8.172:5577/live1.sdp" option "access-filter=timeshift" setup channel3 output #transcode{acodec=mp3,ab=32,channels=1,samplerate=8000}:duplicate{dst=mosaic-bridge{id=3,height=576,width=720},select=video,dst=bridge-out{id=3},select=audio} new channel4 broadcast enabled setup channel4 input "rtsp://192.168.8.173:5588/live1.sdp" option "access-filter=timeshift" setup channel4 output #transcode{acodec=mp3,ab=32,channels=1,samplerate=8000}:duplicate{dst=mosaic-bridge{id=4,height=576,width=720},select=video,dst=bridge-out{id=4},select=audio} new background broadcast enabled setup background input file:///background1440x1152.png setup background option image-duration=-1 setup background option image-fps=15.0 setup background output #transcode{vcodec=h264,venc=x264{keyint=10},vb=1024,scale=1,sfilter=mosaic,channels=2,channel_layout=120}:bridge-in{id-offset=100}:duplicate{dst=file{dst="C:/Video/463.mp4"},dst=http{mux=ts,dst=192.168.8.180:80/http},dst=http{mux=ts,dst=127.0.0.1:8081/http}} control channel1 play control channel2 play control channel3 play control channel4 play control background play

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests