Page 1 of 1

WPF LibVLC and overlay png with transparency or any control

Posted: 26 Mar 2019 15:26
by manity
Hello,
I have been mucking around with LibVLCSharp.WPF and it works fine, i can load videos etc etc no problem.

I have created a user control with the videoview element.
I instantiate the user control in code behind and add it as a child to a a grid control.
This displays and works fine.
But i cant overlay anything over it.
any control i try or bitmap or png i try to have over the video image does not show because the video player is always in front.
the main window edges clip the video if i shrink it small enough.
It does not seem to work with a z-index adjustment.

Is this the same issue as the air gap issue with winforms controls hosted in wpf.
Or am i missing something.

I just want to overlay a png with transparency on top of the video but the video is always in front.

Can anyone please help.

Re: WPF LibVLC and overlay png with transparency or any control

Posted: 26 Mar 2019 16:50
by mfkl
But i cant overlay anything over it.
Have a look at those samples https://code.videolan.org/videolan/LibV ... WPF.Sample
Is this the same issue as the air gap issue with winforms controls hosted in wpf.
Yes. We implemented a workaround for the airgap issue, but there will be limitations.