Page 1 of 1

Logos on Mosaic Streams

Posted: 22 Mar 2013 22:12
by freiborg
I have a 2x2 mosaic stream working and now I want to add a specific logo to each of the streams that make up the mosaic. The logo for each mosaic square is different.

I have been trying to add this snippet to various places in my vlm.conf file but have not had any success finding a place where it will work. Actually have not been able to get any logo to show up.

Code: Select all

vfilter=logo{file=C:\Image\camera_mask_red.png}
Looking for some suggestions on how to do this or to find out if it can even be done.
Once I can figure out how to do it in the conf file, it should be fairly simple to update my libVLC code.

Re: Logos on Mosaic Streams

Posted: 27 Mar 2013 12:21
by joseAndresGomezTovar
Could you try with a simlpe windows?
Maybe the problem is with the use of vilter...

Re: Logos on Mosaic Streams

Posted: 16 May 2013 20:37
by themoog
Hi, ive been trying to get mosaic working on windows with 2.0.6 for days.... could you perhaps provide some tips on what os your using and perhaps an example of your config file and runtime command... much appreciated

thanks in advance

neil

Re: Logos on Mosaic Streams

Posted: 06 Aug 2013 00:46
by sethia
^ I also have been furiously trying to make h264 2x2 mosaic to work.

I need to see a working config file / cmd code that works.
I feel like im so close to making this work too!

Please help!

Re: Logos on Mosaic Streams

Posted: 06 Aug 2013 22:51
by freiborg
Here's the config file I use to create a mosaic of videos. It's been a long time since I've played with this tho. I ended up not using it as we were using live video streams and there was too much of a time lag when processing the streams.

Code: Select all

#del all # Input Options new Camera1 broadcast enabled setup Camera1 input "c:\Code\video1.avi" setup Camera1 output #duplicate{dst=mosaic-bridge{id=1}} new Camera2 broadcast enabled setup Camera2 input "c:\Code\video2.avi" setup Camera2 output #mosaic-bridge{id=2,width=512,height=384} new Camera3 broadcast enabled setup Camera3 input "c:\Code\video3.avi" setup Camera3 output #mosaic-bridge{id=3,width=512,height=384} new Camera4 broadcast enabled setup Camera4 input "c:\Code\video4.avi" setup Camera4 output #mosaic-bridge{id=4,width=512,height=384} # Mosaic Options new mosaic broadcast enabled setup mosaic input Hydrangeas.jpg setup mosaic option image-fps=25/1 setup mosaic option image-duration=-1 setup mosaic output #transcode{sfilter=mosaic,vcodec=mp4v,vb=8500,fps=25,scale=1}:bridge-in{delay=400,id-offset=100}:duplicate{access=udp,url=239.255.12.42,dst=display} # Launch everything control Camera1 play control Camera2 play control Camera3 play control Camera4 play control mosaic play
Here's the batch file I used to call the above config file.

Code: Select all

vlc -vvv --color -I qt --vlm-conf mosaic2.vlm.conf --mosaic-height=1024 --mosaic-width=768 --mosaic-rows=2 --mosaic-cols=2 --mosaic-position=2 --mosaic-order=1,2,3,4 --mosaic-offsets=0,0,512,0,0,384,512,384 --mosaic-keep-picture --ttl 12 --udp-caching 800 --no-video-title