Skip to content
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

[Question] Is it possible to play transparent web videos? #676

Open
jebenko91 opened this issue Sep 27, 2024 · 3 comments
Open

[Question] Is it possible to play transparent web videos? #676

jebenko91 opened this issue Sep 27, 2024 · 3 comments

Comments

@jebenko91
Copy link

I am trying to play webm VP9 video that has transparent parts, but it appears that those transparent parts are drawn black.
Is there a setting to draw transparent parts transparent instead of black?

Steps to Reproduce

  1. Open sample project
  2. Choose transparent webm video
  3. Play video
  4. Transparent parts are painted black instead of transparent

Expected Results

  • Video transparent parts should be transparent
fire-edge.webm

image

@LazyCuteLion
Copy link

based on my actual tests,webm only transparent on webbrowser,on wpf/ffme,you should be use mov or mp4(with png codec)

@LazyCuteLion
Copy link

LazyCuteLion commented Oct 18, 2024

hi,i got it!
on "MediaOpening", set the codec:
e.Options.DecoderCodec[0] = "libvpx-vp9";
i tested your video,it is be ok!
celebrate !!! because of mov/mp4 has too larger filesize,and it doesn't support web

@LazyCuteLion
Copy link

i convert your video,there is the file size:
mov:800MB (what!!!200% of source)
mp4:618MB (it is same as 420 files of png-sequence)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants