Mosaic in Second Monitor

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Andrew_Croad
New Cone
New Cone
Posts: 2
Joined: 03 Jan 2021 05:22

Mosaic in Second Monitor

Postby Andrew_Croad » 03 Jan 2021 05:36

Hi I am new to VLC and have found a script online to view my camera's but what I am wanting to do is run the actual window on my second monitor. I can't seem to do it in the VLC settings so I was wondering if their is a target script. I will put in the code I have so far which works great. I have removed the user and password from the script.

new ch1 broadcast enabled
setup ch1 input "rtsp://192.168.2.45:554/ch01/0"
setup ch1 option rtsp-user=
setup ch1 option rtsp-pwd=
setup ch1 output #mosaic-bridge{id=1,height=360,width=640}

new ch2 broadcast enabled
setup ch2 input "rtsp://192.168.2.45:554/ch02/0"
setup ch2 option rtsp-user=
setup ch2 option rtsp-pwd=
setup ch2 output #mosaic-bridge{id=2,height=360,width=640}

new ch3 broadcast enabled
setup ch3 input "rtsp://192.168.2.45:554/ch03/0"
setup ch3 option rtsp-user=
setup ch3 option rtsp-pwd=
setup ch3 output #mosaic-bridge{id=3,height=360,width=640}

new ch4 broadcast enabled
setup ch4 input "rtsp://192.168.2.45:554/ch04/0"
setup ch4 option rtsp-user=
setup ch4 option rtsp-pwd=
setup ch4 output #mosaic-bridge{id=4,height=360,width=640}

new bg broadcast enabled
setup bg input "bg_1280x1024.jpg"
setup bg option image-duration=-1
setup bg output #transcode{vcodec=mp4v,vb=0,fps=0,acodec=none,channels=4,sfilter=mosaic{alpha=255,width=1280,height=720,cols=2,rows=2,position=1,order="1,2,3,4",mosaic-align=0,keep-picture=1}}:bridge-in{offset=100}:display

control bg play
control ch1 play
control ch2 play
control ch3 play
control ch4 play



Any help will be great.

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests