I am hoping you can point me in the right direction with this Q.
In the .conf below I have set my inputs to mosaic-order s1,s2,s3 as normal.
I would like to dynamically change the 4ht slot between the 3 sources (s1,s2,s3) - This would mean duplicating the sources so at least one souce was displayed twice.
Is this possible? it seems I can only display an input once only, so mosaic-order s1,s2,s3,s1 will only show the s1 in slot one not in both slot one and slot four
I am using @mosaic mosaic-order s1,s2,s3,s1 to update the display and it does work but only moving the existing sources and not a duplicated source.
Thx for your advice
Art!
vlm.conf
Code: Select all
##################################
## HTTP interface mosaic wizard ##
##################################
# Background options
new bg broadcast enabled
setup bg input "fake://" option "fake-file=http://mywebserver/vlc/1408x1152.jpg" option "fake-width=1280" option "fake-height=720"
setup bg option sub-filter=mosaic
setup bg output "#transcode{venc=x264{keyint=5,subme=5, ref=5, bframes=16, b-adapt=1, bpyramid=none, me=hex, deblock=0:0, weightp=0, lookahead=5},scale=.75,vcodec=libx264, width=1280, width=720,fps=30, vb=1500, acodec=aac, ab=96, ar=48, ac=2, threads=8, sfilter=mosaic}: bridge-in{offset=0} :duplicate{dst=display,dst=rtp{sdp=rtsp://0.0.0.0:5544/channel.sdp,sap,group="",name="test",ttl=127}"
# Mosaic options
setup bg option mosaic-alpha=255
setup bg option mosaic-width=1280
setup bg option mosaic-height=720
setup bg option mosaic-align=5
setup bg option mosaic-xoffset=0
setup bg option mosaic-yoffset=0
setup bg option mosaic-vborder=5
setup bg option mosaic-hborder=4
setup bg option mosaic-position=1
setup bg option mosaic-rows=2
setup bg option mosaic-cols=2
setup bg option mosaic-order=s1,s2,s3,s1
setup bg option mosaic-delay=0
setup bg option mosaic-keep-picture
# Input options
new s1 broadcast enabled
setup s1 input "rtsp://192.168.20.45/channel1"
setup s1 output #duplicate{dst=mosaic-bridge{id=s1,width=640,height=352},select=video,dst=bridge-out{id=0},select=audio}
new s2 broadcast enabled
setup s2 input "rtsp://192.168.20.40/channel1"
setup s2 output #duplicate{dst=mosaic-bridge{id=s2,width=640,height=352},select=video,dst=bridge-out{id=1},select=audio}
new s3 broadcast enabled
setup s3 input "rtsp://192.168.20.50/channel1"
setup s3 output #duplicate{dst=mosaic-bridge{id=s3,width=640,height=352},select=video,dst=bridge-out{id=2},select=audio}
# Launch everything
control bg play
control s1 play
control s2 play
control s3 play
# end of mosaic batch