Add alpha channel to a video using a PNG mask

This forum is about all development around libVLC.
gianni200
New Cone
New Cone
Posts: 2
Joined: 12 Mar 2018 14:31

Add alpha channel to a video using a PNG mask

Postby gianni200 » 12 Mar 2018 14:46

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.

gianni200
New Cone
New Cone
Posts: 2
Joined: 12 Mar 2018 14:31

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

Postby gianni200 » 19 Mar 2018 17:50

There is no one who knows how to apply a PNG mask to a vlc player?
It can be done?

Thanks in advance.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests