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

Transparent videos don't appear transparent #7

Open
n3tman opened this issue May 15, 2019 · 0 comments
Open

Transparent videos don't appear transparent #7

n3tman opened this issue May 15, 2019 · 0 comments

Comments

@n3tman
Copy link

n3tman commented May 15, 2019

Things I did:

  • Read Unity's Video transparency support doc, confirmed it's supported for Video Player using 2 formats: WebM/VP8 and Apple ProRes 4444

  • Took this footage, confirmed that it indeed has an Alpha (in After Effects)

  • saved it to .mov with "Apple ProRes 4444" codec and to .webm with WebM for Premiere codec

  • also tried converting the source .mov to .webm with ffmpeg:
    ffmpeg -i colour_hearts_720p.mov -c:v libvpx -b:v 3M -auto-alt-ref 0 -pix_fmt yuva420p -metadata:s:v:0 alpha_mode="1" hearts.webm

  • confirmed the resulting videos indeed have the alpha channel (imported again to AE, tried opening .webm in Chrome)

Link to converted WebM video: https://drive.google.com/file/d/1oNj2LkCbAhjnkVcP94FSSClUYUPMCPtl/view

The results:

Positon settings I used:

[Placement]
CustomPosition = (0.0, 2.0, 2.5)
CustomRotation = (0.0, 0.0, 0.0)
CustomScale = 4

Is it possible that this can be fixed by checking Keep Alpha in Unity?

Or maybe it's caused by Glow and Lighting effects, in which case, is is possible to somehow disable them?

@n3tman n3tman closed this as completed Aug 4, 2019
@n3tman n3tman reopened this Sep 9, 2019
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

1 participant