-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ImageDecoder
-independent animated AVIF test
#36044
Add ImageDecoder
-independent animated AVIF test
#36044
Conversation
Using `step_timeout` instead, as recommended by the linter, makes the test time out.
``` ffmpeg -loglevel error -hide_banner -f lavfi -i color=green:2x2 -frames:v 1 -y /tmp/green.avif ```
49d5c12
to
6f2cab7
Compare
The `animated-avif.avif` and `green.avif` files are generated as follows: ```sh ffmpeg -loglevel error -hide_banner -f lavfi -i color=red:2x2 -frames:v 1 -y /tmp/red.png; ffmpeg -loglevel error -hide_banner -f lavfi -i color=green:2x2 -frames:v 1 -y /tmp/green.png; avifenc --duration 1 /tmp/red.png --duration 1800 /tmp/green.png /tmp/animated-avif.avif; avifenc --duration 1 /tmp/green.png /tmp/green.avif; ```
6f2cab7
to
d1fcc1a
Compare
This reverts commit d1fcc1a.
https://wpt.fyi/results/animated-avif/animated-avif-timeout.html?label=pr_head&max-count=1&pr=36044 shows a failure for Firefox. With only 4 pixels being different, it can't be that the red frame is still showing. Can you check what's going on? |
Why not? The image is 2×2 px, Firefox doesn’t support animated AVIF yet, so I would expect the red frame to show. |
Aha, didn't know it was a 2x2 image. I assumed a 100x100 or something. |
Ref. web-platform-tests/interop#136