how to save your mosaic
Posted: 17 Apr 2018 15:34
hello i did a script to read 4 videos in mosaic and i want to save it, i tried one command, my folder is created and i can see the size of him but when i read it, i just see my background and not my mosaic
Can you tell me what is wrong with me script pls ?
i am using this script:
new channel1 broadcast enabled
setup channel1 input rec_2_1_20171122_162929_1280x720.avi
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=360,width=640},select=video,dst=bridge-out{id=1},select=audio}
new channel2 broadcast enabled
setup channel2 input rec_3_1_20171122_163412_1280x720.avi
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=360,width=640},select=video,dst=bridge-out{id=2},select=audio}
new channel3 broadcast enabled
setup channel3 input rec_4_1_20171122_163423_1280x720.avi
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=360,width=640},select=video,dst=bridge-out{id=3},select=audio}
new channel4 broadcast enabled
setup channel4 input rec_7_1_20171122_162919_1280x720.avi
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=360,width=640},select=video,dst=bridge-out{id=4},select=audio}
new mosaic broadcast enabled
setup mosaic input BackGround_1280x720.jpg
setup mosaic option image-duration=-1
setup mosaic option image-fps=25
setup mosaic output #transcode{sfilter=mosaic,vcodec=h264,vb=10000,acodec=none,fps=25,scale=1}:bridge-in{delay=400,id_offset=100}:display
setup mosaic output #duplicate{dst=std{access=file,mux=wmv,dst=d:\recording\5.mp4}}:display
control channel1 play
control channel2 play
control channel3 play
control mosaic play
Can you tell me what is wrong with me script pls ?
i am using this script:
new channel1 broadcast enabled
setup channel1 input rec_2_1_20171122_162929_1280x720.avi
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=360,width=640},select=video,dst=bridge-out{id=1},select=audio}
new channel2 broadcast enabled
setup channel2 input rec_3_1_20171122_163412_1280x720.avi
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=360,width=640},select=video,dst=bridge-out{id=2},select=audio}
new channel3 broadcast enabled
setup channel3 input rec_4_1_20171122_163423_1280x720.avi
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=360,width=640},select=video,dst=bridge-out{id=3},select=audio}
new channel4 broadcast enabled
setup channel4 input rec_7_1_20171122_162919_1280x720.avi
setup channel4 output #duplicate{dst=mosaic-bridge{id=4,height=360,width=640},select=video,dst=bridge-out{id=4},select=audio}
new mosaic broadcast enabled
setup mosaic input BackGround_1280x720.jpg
setup mosaic option image-duration=-1
setup mosaic option image-fps=25
setup mosaic output #transcode{sfilter=mosaic,vcodec=h264,vb=10000,acodec=none,fps=25,scale=1}:bridge-in{delay=400,id_offset=100}:display
setup mosaic output #duplicate{dst=std{access=file,mux=wmv,dst=d:\recording\5.mp4}}:display
control channel1 play
control channel2 play
control channel3 play
control mosaic play