Mosaic output audio streams are out of order
Posted: 22 Jun 2013 13:01
Hi all
I am trying to setup a mosaic generator system using VLC and I suceeded to receive network UDP MPEG-TS streams and convert them to a single mosaic stream. Now I have just a problem:
Audio streams of generated mosaic stream are out of order; and randomly change place in different runs of program; although video streams are in order in generated video.
My script is like this:
I run that script ising this command:
vlc --color -I telnet --telnet-port 8421 --telnet-password pass --vlm-conf mosaic.conf --ttl 2 --mosaic-width 1280 --mosaic-height 960 --mosaic-rows 2 --mosaic-cols 2 --mosaic-order 1,2,3,4
Can anybody help me fix that? Thank you.
I am trying to setup a mosaic generator system using VLC and I suceeded to receive network UDP MPEG-TS streams and convert them to a single mosaic stream. Now I have just a problem:
Audio streams of generated mosaic stream are out of order; and randomly change place in different runs of program; although video streams are in order in generated video.
My script is like this:
Code: Select all
new channel1 broadcast enabled
setup channel1 input udp://@224.220.4.0:2000
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=960,width=1280},select=video,dst=bridge-out{id=1},select=audio}
new channel2 broadcast enabled
setup channel2 input udp://@224.220.4.1:2000
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=960,width=1280},select=video,dst=bridge-out{id=2},select=audio}
new channel3 broadcast enabled
setup channel3 input udp://@224.220.4.2:2000
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=960,width=1280},select=video,dst=bridge-out{id=3},select=audio}
new channel4 broadcast enabled
setup channel4 input udp://@224.220.4.3:2000
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=960,width=1280},select=video,dst=bridge-out{id=4},select=audio}
new background broadcast enabled
setup background option image-duration=-1
setup background option image-fps=25/1
setup background input /home/samim/mosaic/tomcat-ready/apache-tomcat-7.0.22/webapps/mosaic_gen_management/sh/mosaic.png
setup background output #transcode{sfilter=mosaic,vcodec=mp4v,acodec=mp4a,ab=128,vb=12,scale=2.0}:bridge-in{delay=40,id-offset=0}:standard{access=udp,mux=ts,dst=224.11.11.11:2000}
control channel1 play
control channel2 play
control channel3 play
control channel4 play
control background play
vlc --color -I telnet --telnet-port 8421 --telnet-password pass --vlm-conf mosaic.conf --ttl 2 --mosaic-width 1280 --mosaic-height 960 --mosaic-rows 2 --mosaic-cols 2 --mosaic-order 1,2,3,4
Can anybody help me fix that? Thank you.