]> git.sesse.net Git - vlc/commit
Add new "mask" option to the mosaic_bridge module. This makes it possible to define...
authorAntoine Cellerier <dionoea@videolan.org>
Wed, 4 Apr 2007 20:29:17 +0000 (20:29 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Wed, 4 Apr 2007 20:29:17 +0000 (20:29 +0000)
commit89d87da54dafa0397de5dc4c89a4b3162f8a8959
treefff01dcc470eda90759869cbb1aafcf7cdd3cb8e
parenta02f6eb6cb92ae3733a47a22cb82a26f70dc1885
Add new "mask" option to the mosaic_bridge module. This makes it possible to define a transparency mask used during mosaic blending. Example usage follows:

./vlc -I telnet --color -vvv --vlm-conf mosaic.vlm --mosaic-width 360 --mosaic-height 270 --mosaic-rows 6 --mosaic-cols 6 --mosaic-keep-picture --fake-file ~/images/mire.jpg --fake-width 360 --fake-height 270 --no-audio --sub-filter mosaic

And the vlm config:

new channel0 broadcast enabled
setup channel0 input /home/dionoea/media/redefined-nintendo.mpg
setup channel0 output #duplicate{dst=mosaic-bridge{id=0,height=270,width=360,mask=/home/dionoea/images/cone_360x270.png},select=video,dst=bridge-out{id=0},select=audio}

new background broadcast enabled
setup background input fake:
#setup background output #bridge-in:display
control background play

control channel0 play

The files used are available on http://people.videolan.org/~dionoea/mosaic/ if you want to test. (This will blend the redefined nintendo video in a cone like region)
modules/stream_out/mosaic_bridge.c