Kagami / avif.js

:shipit: AVIF polyfill for the browser
https://kagami.github.io/avif.js/
Creative Commons Zero v1.0 Universal
681 stars 31 forks source link

Polyfill path silently fails with Netflix test data #3

Open cynthia opened 5 years ago

cynthia commented 5 years ago

Data used is here: http://download.opencontent.netflix.com/?prefix=AV1/Chimera/AVIF/

This decodes fine in Chrome 74 (which has native support) and Firefox 66 (with AV1 enabled), but fails on Safari (Safari 12.1, in this case). Console did not leave any useful backtraces.

Kagami commented 5 years ago

Thanks, I will look into it.

Kagami commented 5 years ago

Btw, are you sure you didn't try 10-bit files? That's currently not supported.

cynthia commented 5 years ago

I should have mentioned that detail - I tried both 8 and 10. Both don't decode.

arjun-kava commented 4 years ago

In safari, Sometimes rendering is scattered and It is displaying error of out of memory

[Error] FetchEvent.respondWith received an error: Error: 
Out of bounds memory access (evaluating 'this.FFI.djs_alloc_obu(e.byteLength)')

[Error] Failed to load resource: FetchEvent.respondWith received an error: 
Error: Out of bounds memory access (evaluating 'this.FFI.djs_alloc_obu(e.byteLength)') 
(A13502.1bf9b45c.avif, line 0)