VideoContext icon indicating copy to clipboard operation
VideoContext copied to clipboard

Image Node not rendering on Firefox

Open germain-gg opened this issue 5 years ago • 5 comments

Hi,

Using the latest version of VideoContext and this snippet of code, it looks to me that image rendering is broken on VC.

        const canvas = document.getElementById("canvas");
        const button = document.getElementById("button");
        const vc = new VideoContext(canvas);
        const in1 = vc.image("image.png", 0);
        in1.start(0);
        in1.end(10);
        in1.connect(vc.destination);

This works on Chrome 72 on MacOS and other vendors. However this does fail on Firefox 65 and Firefox Nightly.

Reported warning in the console is

Error: WebGL warning: texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.

It can be traced back to this Bugzilla issue https://bugzilla.mozilla.org/show_bug.cgi?id=1400077

I will probably look into that in the next couple of days

germain-gg avatar Mar 06 '19 17:03 germain-gg

I looked a bit more into this issue. It is definitely an issue around createImageBitmap. I suspect a regression on the Firefox JS VM.

I created an issue on Bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1533680

germain-gg avatar Mar 08 '19 10:03 germain-gg

Image nodes still isn't working for me on v67

Looking at your bug report, no one has picked it up yet

PTaylour avatar Jun 25 '19 10:06 PTaylour

is blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1533680

PTaylour avatar Jun 25 '19 10:06 PTaylour

Looks like there are some movement on that front https://bugzilla.mozilla.org/show_bug.cgi?id=1367251

Will test as soon as it land on Firefox Nightly

germain-gg avatar Nov 02 '19 13:11 germain-gg

Still awaiting fix from Firefox upstream

yakca avatar Mar 10 '20 15:03 yakca