First off .. I'd like to thank you very much ..
I'm still tweaking around with stuff to get the sizes right .. and I have to make it look pretty....
Our plans are to throw this back into a cherry picker and output on a digital station .. (Which has been tested and works) ..
If you happen to have any more tricks to reduce load that would be great.. as sustained running time results in a seg Fault... and I think that would be reduced if I can manage a bit more fine tuning.
The HD streams are dynamic, so worst case, all streams turn HD, and things still start to go funny.
Below is the code I am using now ...
new channel1 broadcast enabled
setup channel1 input udp://@225.100.53.1:9053
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=90,width=160},select=video,dst=bridge-out{id=1},select=audio}
setup channel1 option programs=3
new channel2 broadcast enabled
setup channel2 input udp://@225.100.25.5:3003
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=90,width=160},select=video,dst=bridge-out{id=2},select=audio}
setup channel2 option programs=1
new channel3 broadcast enabled
setup channel3 input udp://@225.100.25.2:3002
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=90,width=160},select=video,dst=bridge-out{id=3},select=audio}
setup channel3 option programs=1
new channel4 broadcast enabled
setup channel4 input udp://@225.100.54.1:9054
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=90,width=160},select=video,dst=bridge-out{id=4},select=audio}
setup channel4 option programs=5
new channel5 broadcast enabled
setup channel5 input udp://@225.100.25.5:3003
setup channel5 output #duplicate{dst=mosaic-bridge{id=5,height=90,width=160},select=video,dst=bridge-out{id=5},select=audio}
setup channel5 option programs=2
new channel6 broadcast enabled
setup channel6 input udp://@225.100.25.2:3002
setup channel6 output #duplicate{dst=mosaic-bridge{id=6,height=90,width=160},select=video,dst=bridge-out{id=6},select=audio}
setup channel6 option programs=2
new channel7 broadcast enabled
setup channel7 input udp://@225.100.51.1:9051
setup channel7 output #duplicate{dst=mosaic-bridge{id=7,height=90,width=160},select=video,dst=bridge-out{id=7},select=audio}
setup channel7 option programs=3
new channel8 broadcast enabled
setup channel8 input udp://@225.100.25.4:3004
setup channel8 output #duplicate{dst=mosaic-bridge{id=8,height=90,width=160},select=video,dst=bridge-out{id=8},select=audio}
setup channel8 option programs=1
new channel9 broadcast enabled
setup channel9 input udp://@225.100.25.3:3001
setup channel9 output #duplicate{dst=mosaic-bridge{id=9,height=90,width=160},select=video,dst=bridge-out{id=9},select=audio}
setup channel9 option programs=1
new channel10 broadcast enabled
setup channel10 input udp://@225.100.55.1:9055
setup channel10 output #duplicate{dst=mosaic-bridge{id=10,height=90,width=160},select=video,dst=bridge-out{id=10},select=audio}
setup channel10 option programs=1
new channel11 broadcast enabled
setup channel11 input udp://@225.100.25.4:3004
setup channel11 output #duplicate{dst=mosaic-bridge{id=11,height=90,width=160},select=video,dst=bridge-out{id=11},select=audio}
setup channel11 option programs=2
new channel12 broadcast enabled
setup channel12 input udp://@225.100.55.1:9055
setup channel12 output #duplicate{dst=mosaic-bridge{id=12,height=90,width=160},select=video,dst=bridge-out{id=12},select=audio}
setup channel12 option programs=2
new background broadcast enabled
setup background input fake:
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=4096,scale=1}:bridge-in{delay=1000,id-offset=10,chroma=I420}:standard{access=udp,mux=ts,url=10.10.143.184,sap,name="mosaic"}
setup background option mosaic-alpha=255
setup background option mosaic-chroma=I420
setup background option mosaic-keep=picture
setup background option mosaic-height=480
setup background option mosaic-width=720
control background play
control channel1 play
control channel2 play
control channel3 play
control channel4 play
control channel5 play
control channel6 play
control channel7 play
control channel8 play
control channel9 play
control channel10 play
control channel11 play
control channel12 play
With command line:
/usr/bin/vlc --fake-file 720.jpg --mosaic-keep-picture --mosaic-width 720 --mosaic-height 480 -I http