webm videos with alpha transparency flickering
See original GitHub issueWhen playing back .webm files with alpha transparency, the video flickers, rapidly appearing and disappearing constantly. You can reproduce with the code below in the Video Context code playground and the following webm files from Google Chrome’:
These files appear to play back normally with alpha transparency in a video element.
webm files with no alpha transparency, such as this one, appear to play back normally.
var canvas = document.getElementById("canvas");
window.vc = new VideoContext(canvas);
var videoNode1 = vc.video("https://simpl.info/videoalpha/video/soccer1.webm", 0);
videoNode1.connect(vc.destination);
videoNode1.start(0);
videoNode1.stop(50);
vc.play();
Browsers: Can reproduce in Chrome(only tested v66.0.3359.139) Cannot reproduce in Firefox(only tested v59.0.2) - The video plays back normally. VideoContext does not seem to work at all in Safari Have not tested Edge
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
No BG Transparency for WebM or Mov Outputs even ... - Reddit
When exported as a .gif, the background appears transparent, but when exporting as a video file that supports alpha channels (such as .mov...
Read more >Transparent WebM (with alpha channel) - Discord Support
I think the reason for it not working natively is because discord sets a black background behind the image by default.
Read more >Alpha transparency in Chrome video
More videos on YouTube Chrome 31 now supports video alpha transparency in WebM. In other words, Chrome takes the alpha channel into account ......
Read more >690968 - Consider supporting Alpha channel recording
MediaRecorder does not support alpha channel in the incoming ... I then edited the mimeType to 'video/webm;codecs=vp9' and voilà: the bottom ...
Read more >Free Transparent Footage Stock Video Footage - Videezy
3063 Best Transparent Footage Free Video Clip Downloads from the Videezy community. Free Transparent Footage Stock Video Footage licensed under creative ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@PTaylour I’m no longer seeing this issue on Chrome 72 or 73. There were some Chromium changes which caused issues with WebGL on MBPs with specific GPU versions recently, so it may be that case that we saw different results due to differences in the GPUs between our machines and the bug only affected a limited set of OpenGL GPU renderers.
I’m marking this as closed.
I’m still unable to reproduce. Just tried version 69.0.3497.81
👇chrome performance profiler with network and CPU throttling.
webm-profile-soccer.json.zip
We’re both testing on Mac, using the playground and same code snippet 🤔
Have you reproduced on multiple machines / with a clean chrome profile?