Page 1 of 1

Add alpha channel to a video using a PNG mask

Posted: 12 Mar 2018 14:46
by gianni200
How can I set a .png mask as a vlc player property?

There are two instances of vlc one superimposed on the other.
How do I apply a transparent mask (.png) to the second vlc player?

I tried to do:

Code: Select all

player2.LoadMediaWithOptions(@"C:\foreground_video.mp4", new String[] { "--alphamask-mask=mask.png" });
Not Working.


An example with more details, is here: https://github.com/higankanshi/Meta.Vlc/issues/264


Visual studio 2013 - WPF Application

Any ideas?
Thanks in advance.

Re: Add alpha channel to a video using a PNG mask

Posted: 19 Mar 2018 17:50
by gianni200
There is no one who knows how to apply a PNG mask to a vlc player?
It can be done?

Thanks in advance.