-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to work with alpha video(WPF) #492
Comments
on the last point, some progress has been made: |
WinUI3 has some progress: use WinUIEx,set the Window.SystemBackdrop to TransparentTintBackdrop, and change the line-157 of Renderer.SwapChain.cs(set alpha to true of GetSwapChainDesc).Then,it renderering as same of WPF,but,it can't be mouse through. |
Not really, maybe in 1-2 weeks... I'm trying to release v3.8 with updated vortice/custom generator-ffmpeg libraries and some other libs that will be the entry level for v4. |
Ok.But I really want it can support alpha. |
1、FlyleafHost line-880,change the border.background to #01000000
2、Renderer.PixelShader line-560 cancel this line,does not use BlendState(if you did not do it,then you will got repetitive frame of the video)
3、Renderer.Present line-126 and 247 cancel these two line, does not use ClearRenderTargetView,beacuse of it will ignore the A of the second parameters(even it is Color4) and give a solid color.
4、there have a apng to test,you also can converter to a mov
5、this has some flaws,there are burrs on the edges (same video,ffmediaelement rendering good). hope someone can fix it.
The text was updated successfully, but these errors were encountered: