mosaic+crop is it possible?
Posted: 19 Jul 2012 15:37
Hello!
I'm try to use VLM with mosaic and bluescreen filter.
I have four video source - channel1-channel3 from v4l2 and a background from videofile.
All works as expected but video from v4l2 have a black strip on left and right (from cameras).
I try to add a crop filter but it does not work.
VLM like this :
#first channel
new channel1 broadcast
setup channel1 input v4l2:///dev/video0:width=320:height=240
setup channel1 output #duplicate{dst=mosaic-bridge{height=240,width=320,chroma=YUVA,vfilter=bluescreen{u=157,v=124,ut=15,vt=15},select=video}}
setup channel1 enabled
#next channel
...
...
new background broadcast enabled
setup background input video.avi
How to add a crop filter to make it work?
I'm try to use VLM with mosaic and bluescreen filter.
I have four video source - channel1-channel3 from v4l2 and a background from videofile.
All works as expected but video from v4l2 have a black strip on left and right (from cameras).
I try to add a crop filter but it does not work.
VLM like this :
#first channel
new channel1 broadcast
setup channel1 input v4l2:///dev/video0:width=320:height=240
setup channel1 output #duplicate{dst=mosaic-bridge{height=240,width=320,chroma=YUVA,vfilter=bluescreen{u=157,v=124,ut=15,vt=15},select=video}}
setup channel1 enabled
#next channel
...
...
new background broadcast enabled
setup background input video.avi
How to add a crop filter to make it work?