Page 1 of 1

3x3 Video Mosaic Stream

Posted: 26 Jul 2013 02:11
by kennyhorn
Hi,

I wonder if you could look over my mosaic config file and command line. I'm almost there but can't quite figure out a few bits...

Code: Select all

del all new ch1 broadcast enabled setup ch1 input http://ip:port setup ch1 output #duplicate{dst=mosaic-bridge{id=1,width=328,height=184},select=video,dst=bridge-out{id=1}} new ch2 broadcast enabled setup ch2 input http://ip:port setup ch2 output #duplicate{dst=mosaic-bridge{id=2,width=328,height=184},select=video,dst=bridge-out{id=2}} new ch3 broadcast enabled setup ch3 input http://ip:port setup ch3 output #duplicate{dst=mosaic-bridge{id=3,width=328,height=184,},select=video,dst=bridge-out{id=3}} new ch4 broadcast enabled setup ch4 input http://ip:port setup ch4 output #duplicate{dst=mosaic-bridge{id=4,width=328,height=184},select=video,dst=bridge-out{id=4}} new ch5 broadcast enabled setup ch5 input http://ip:port setup ch5 output #duplicate{dst=mosaic-bridge{id=5,width=328,height=184},select=video,dst=bridge-out{id=5}} new ch6 broadcast enabled setup ch6 input http://ip:port setup ch6 output #duplicate{dst=mosaic-bridge{id=6,width=328,height=184},select=video,dst=bridge-out{id=6}} new ch7 broadcast enabled setup ch7 input http://ip:port setup ch7 output #duplicate{dst=mosaic-bridge{id=7,width=328,height=184},select=video,dst=bridge-out{id=7}} new ch8 broadcast enabled setup ch8 input http://ip:port setup ch8 output #duplicate{dst=mosaic-bridge{id=8,width=328,height=184},select=video,dst=bridge-out{id=8}} new ch9 broadcast enabled setup ch9 input http://ip:port setup ch9 output #duplicate{dst=mosaic-bridge{id=9,width=328,height=184},select=video,dst=bridge-out{id=9}} new bg broadcast enabled setup bg input file:///C:\bg.jpg setup bg option image-width=1024 setup bg option image-height=768 setup bg option image-fps=25 setup bg option image-duration=-1 setup bg output #transcode{sfilter=mosaic,vcodec=mp4v,vb=4000,acodec=none}:bridge-in{id-offset=100}:display control bg play control ch1 play control ch2 play control ch3 play control ch4 play control ch5 play control ch6 play control ch7 play control ch8 play control ch9 play
and launching with:

Code: Select all

vlc --vlm-conf="C:\cfg.conf" --mosaic-width="1024" --mosaic-height="768" --mosaic-cols="3" --mosaic-rows="3" --mosaic-keep-picture --mosaic-xoffset="0" --mosaic-yoffset="0" --mosaic-position="2" --mosaic-order="1,2,3,4,5,6,7,8,9" --mosaic-offsets="10,10,348,10,686,10,10,204,348,204,686,204,10,398,348,398,686,398"
I'd like to overlay a 1024*768 png with alpha channel that has a logo positioned for each of the 9 channels I'm streaming. I've tried a few things but can't find a resource online that gives me enough info. Can you point me in the right direction? Should it be file input broadcast stream or logo filter?

When I run the config above at home on win7 64bit VLC 2.0.7 (32bit version) I get multiple VLC windows. One blank, one with the mosaic set up as expected then often another six or so will open with the http input streams in them. Yet when I run on a winXP 32bit VLC 2.0.7 at work it only get the blank VLC window and one with the mosaic in it, is there something in my config mayking these extra windows open?

At the moment I'm using ":display" to test the results locally, is this correct? I've had some success with ":standard{access=http...}" to stream within my home network, though it stopped after 5mins or so - but I can work on that bit once I've solved the mosaic.

Thanks for your time,
Kenny.

Re: 3x3 Video Mosaic Stream

Posted: 26 Jul 2013 11:39
by Jean-Baptiste Kempf
Try 1.1.11 for Mosaic.