Logos on Mosaic Streams

This forum is about all development around libVLC.
freiborg
New Cone
New Cone
Posts: 3
Joined: 20 Mar 2013 16:02

Logos on Mosaic Streams

Postby freiborg » 22 Mar 2013 22:12

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.

joseAndresGomezTovar
Blank Cone
Blank Cone
Posts: 30
Joined: 07 Nov 2012 11:21
VLC version: 2.1.2
Operating System: Windows 7
Location: Madrid - Spain

Re: Logos on Mosaic Streams

Postby joseAndresGomezTovar » 27 Mar 2013 12:21

Could you try with a simlpe windows?
Maybe the problem is with the use of vilter...

themoog
New Cone
New Cone
Posts: 2
Joined: 15 Dec 2006 18:19

Re: Logos on Mosaic Streams

Postby themoog » 16 May 2013 20:37

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

sethia
New Cone
New Cone
Posts: 2
Joined: 05 Aug 2013 20:56

Re: Logos on Mosaic Streams

Postby sethia » 06 Aug 2013 00:46

^ 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!

freiborg
New Cone
New Cone
Posts: 3
Joined: 20 Mar 2013 16:02

Re: Logos on Mosaic Streams

Postby freiborg » 06 Aug 2013 22:51

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 1 guest