Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 3 times, last edit by "Riphur" (Dec 23rd 2018, 12:16am)
Hi !Hi,
that example is using a special video with double-height where the upper parts contains the normal video and the lower one the alpha channel:
https://jakearchibald.com/scratch/alphavid/compressed.mp4
Yes, might be a possibility to support such videos and images (WebGL only)... but are there tools to create such videos?
Best regards,
Klaus
This post has been edited 1 times, last edit by "Riphur" (Sep 16th 2020, 2:17pm)
Hi !
After a few years, it seems that there is still no html5 video solution supporting alpha.
There are some alternatives like .apng but it is very uncompressed.
You said in your previous post that the demo with the "double height" video including alpha can be supported by KrPano. Could you tell us more about how to integrate it into the videoplayer?
Because the creation of this kind of file is not really a problem.
Thanks in advance!
This post has been edited 2 times, last edit by "Crazy Homeless Guy" (Sep 16th 2020, 10:25pm)
This is fantastic news! I know we have to wait for the next release, but hearing that this will soon (or at least soon-ish) be possible is really encouraging.There will be an option in the next release to tell the krpano viewer that the video has an alpha-channel (but keep in mind that such videos wouldn't work in iOS) and also other new options for transparent videos that will work everywhere.
This codepen (using a "transparent" mp4) seems to work on my iPhone (click [Play] to launch video), would it mean such videos can also work on iOS ? (I have an old iPhone, nothing like I can test all iOS versions see if it works)Hi,
it's not about the videoplayer, it's about the rendering - currently always RGB instead of RGBA textures are used for videos to save GPU memory.
There will be an option in the next release to tell the krpano viewer that the video has an alpha-channel (but keep in mind that such videos wouldn't work in iOS) and also other new options for transparent videos that will work everywhere.
Best regards,
Klaus