From 82ee98e44ef9e16d6fde67a3ade04c9ed748105e Mon Sep 17 00:00:00 2001 From: lemke_h Date: Mon, 18 Sep 2023 15:13:28 +0200 Subject: [PATCH] cam mosaic --- .mosaic01.vlm.swp | Bin 0 -> 12288 bytes bernina-cams-fix | 2 ++ mosaic01.vlm | 25 +++++++++++++------------ 3 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 .mosaic01.vlm.swp create mode 100755 bernina-cams-fix diff --git a/.mosaic01.vlm.swp b/.mosaic01.vlm.swp new file mode 100644 index 0000000000000000000000000000000000000000..28f6c956708f27b5b70e1f9227f9638d90f9a2b9 GIT binary patch literal 12288 zcmeI2zi-n(6vwYrKxru;%76re+fGRS5xcEgDy$B`fCOXtF_rV(B{|hTTfTEz6h({- z3=GVSEc^?w@fRSm@fVc8g6Afw+N5dHNF5^HN#C6O{O=+8X(f|fwjpr6+XnFGy&4(15? z0{RPa4nV&^-$7qNW$d#5agC5&&~wmzkeDHagPwx!g6LI3-h#G3bD-B(2zdqC0zCjN zfPP<|K**Rf5b*FL#%A1 zAcJ!_mTyGaZY_sRW4xUR(ZUp&bUI&ZAXyRy(?n~_?f=lWh{<<{DtV1$KvmVAJutww(jL9Xq z7%qV|kjvh1E`in0W!&`|H16a&`lE98$K>o^3}=5ZXLUN~K|Ffw$8S@=e>r-*M?EC} E0NJ~si~s-t literal 0 HcmV?d00001 diff --git a/bernina-cams-fix b/bernina-cams-fix new file mode 100755 index 0000000..0415163 --- /dev/null +++ b/bernina-cams-fix @@ -0,0 +1,2 @@ +#!/bin/bash +vlc --vlm=/sf/bernina/bin/mosaic01.vlm \ No newline at end of file diff --git a/mosaic01.vlm b/mosaic01.vlm index 1b453c3..d41e1f3 100644 --- a/mosaic01.vlm +++ b/mosaic01.vlm @@ -1,20 +1,21 @@ -new channel1 broadcast enabled -setup channel1 input udp://@239.255.2.60:1234 -setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio} - +new channel1 broadcast enabled +setup channel1 input "rtsp://bernina-cam-n/axis-media/media.amp" +setup channel1 output #duplicate{dst=mosaic-bridge{id=1,width=1280,height=720},select=video,dst=bridge-out{id=11},select=audio} + new channel2 broadcast enabled -setup channel2 input udp://@239.255.10.200:1234 -setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio} +setup channel2 input "rtsp://bernina-cam-w/axis-media/media.amp" +setup channel2 output #duplicate{dst=mosaic-bridge{id=2,width=1280,height=720},select=video,dst=bridge-out{id=12},select=audio} new channel3 broadcast enabled -setup channel3 input udp://@239.255.6.9:1234 -setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=audio} +setup channel3 input "rtsp://bernina-cam-s/axis-media/media.amp" +setup channel3 output #duplicate{dst=mosaic-bridge{id=3,width=1280,height=720},select=video,dst=bridge-out{id=13},select=audio} -new background broadcast enabled -setup background input /full/path/to/background.png -setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,url=239.255.12.42,sap,name="mosaic"} +new mosaic broadcast enabled +setup mosaic input "file:///photonics/home/gac-bernina/Documents/mosaicbg01.png" +setup mosaic option image-duration=-1 +setup mosaic output #transcode{sfilter=mosaic{width=2560,height=1440,cols=2,rows=2,order="1,2,3",keep-aspect-ratio=enabled,keep-picture=0,mosaic-align=4},vcodec=mp4v}:bridge-in:display -control background play +control mosaic play control channel1 play control channel2 play control channel3 play