Hello everyone,
I just share with you some research on the WebM format so have compatible HTML5 video containing an alpha channel.
Having a project with a video of a person filmed on green screen, I needed a solution.
After a tour of the web, WebM VP8-encoded is capable of containing an alpha channel. The VP9 seems to be able also, but is not supported by the web browser.
I have not found a simple solution to WebM VP8 encoding preserving the alpha. The only program that gave results is FFmpeg.
My source is a .mov video containing an alpha channel and encoded in png & mp3.
You must then use FFmpeg with DOS command lines, like :
ffmpeg -i input.mov -c:v libvpx -pix_fmt yuva420p out.webm
The result is a WebM file with alpha.
However, the solution only works with Chrome.
Firefox (Nightly build), alpha does not work, but the video is played anyway.
With IE, the intergalactic void :D
A quick test: http://www.c360.fr/ftp/Projets/PS…Video/tour.html
If anyone has experienced with alpha video in HTML5, is there any other solutions?