59de44955ebd / Animated-WebP-Encoder

JS library that creates an Animated WebP from an array of WebP blobs.
MIT License
1 stars 1 forks source link

Doesn't work? #1

Open GeorgeHastings opened 2 years ago

GeorgeHastings commented 2 years ago

Hello,

I ran the demo in Chrome Version 96.0.4664.55 and the resulting file does not open on Mac and does not seem to work when opened in Chrome. Has there been a breaking update to Chrome perhaps?

59de44955ebd commented 2 years ago

Hi George, thanks for the hint, unfortunately I can confirm that the code is broken in current chrome versions. I don't know yet what's going on, maybe chrome now adds some extra (metadata?) chunk to recorded WebPs that is incombatible with animated WebP? I will investigate... Valentin

Am Mo., 6. Dez. 2021 um 19:42 Uhr schrieb George Hastings < @.***>:

Hello,

I ran the demo in Chrome Version 96.0.4664.55 and the resulting file does not open on Mac and does not seem to work when opened in Chrome. Has there been a breaking update to Chrome perhaps?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/59de44955ebd/Animated-WebP-Encoder/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5VSFQEEVXYJ5VW7XUZLNTUPT727ANCNFSM5JPK2NBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

59de44955ebd commented 2 years ago

ps: I suspect that those ICCP color profile chunks added to every frame could be the culprit..

But in case it helps, my APNG Recorder still works fine in Chrome: https://valentin.dasdeck.com/projects/apng_encoder/demo_cam_recorder.html https://github.com/59de44955ebd/APNG-Encoder

Am Mo., 6. Dez. 2021 um 19:42 Uhr schrieb George Hastings < @.***>:

Hello,

I ran the demo in Chrome Version 96.0.4664.55 and the resulting file does not open on Mac and does not seem to work when opened in Chrome. Has there been a breaking update to Chrome perhaps?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/59de44955ebd/Animated-WebP-Encoder/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5VSFQEEVXYJ5VW7XUZLNTUPT727ANCNFSM5JPK2NBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

59de44955ebd commented 2 years ago

FYI, in the meantime I fixed the problem, see demo at: https://valentin.dasdeck.com/projects/awebp_encoder/demo.html (tested in Chrome 96.0.4664.45 Win-x64)

The incompatibility of the previous code was caused by Chrome now creating "Extended File Format" instead of previous "Simple File Format" WebP images when canvas.toBlob(...) is called.