RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

Transparency with Webm #541

Open yMiecie opened 3 years ago

yMiecie commented 3 years ago

Is your feature request related to a problem? Please describe. AVPro does a great job playing webm videos but it seems to ignore the alpha channel. I would like to play webm video with transparency as is possible with Unity Video Player

Describe the solution you'd like Support the alpha channel in webm video like it does with HAP-A.

Describe alternatives you've considered I can use Unity video player but it's not as smooth as AVpro.

It would be great to hear from you, if this is possible. Thanks!

AndrewRH commented 3 years ago

Thanks for the suggestion. We would love to support transparency in webm, but unfortunately none of the OS decoders support it. We would have to write a custom decoder, and i'm not even sure it would be able to decode on the GPU. We have some alternative methods in the documentation (such as packing) which could by used with codecs like H.264 and HEVC. I'll keep this feature request open but I'm afraid it's very low down the priority list for us. Thanks,

cyliax commented 3 years ago

Hi, we started to use your great plugin as a replacement to Unity internal videoplayer. Now we are at the same point. We used webm videos with alpha channel to get better resolutions with less file size than using a side by side (packed) alpha channel. Unfortunately your plugin isn't supporting it, right? Or are there any news since 2.0? Is there a chance to integrate a fallback to software decoding when the mediasource is a webm transparency file? It would be a shame if this missing feature prevented us from using your otherwise extremely helpful plugin.

RuudvanReenen commented 2 years ago

Same request here: support for webm transparency would be very useful!

oxidizer05 commented 2 years ago

Yes it would be very useful

shealan commented 1 year ago

Really sad to discover this feature doesn't exist. Any update now there's been a few years of development since the last post?

krisrok commented 1 year ago

sad webm noises