Skip to content
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

Merged

Conversation

mathiasbynens
Copy link
Contributor

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
```
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;
```
@mathiasbynens mathiasbynens enabled auto-merge (squash) September 30, 2022 11:25
@foolip
Copy link
Member

foolip commented Sep 30, 2022

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?

animated-avif/META.yml Outdated Show resolved Hide resolved
@wpt-pr-bot wpt-pr-bot added the avif label Oct 4, 2022
@mathiasbynens
Copy link
Contributor Author

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.

@foolip
Copy link
Member

foolip commented Oct 5, 2022

Aha, didn't know it was a 2x2 image. I assumed a 100x100 or something.

@mathiasbynens mathiasbynens merged commit 2890795 into web-platform-tests:master Oct 5, 2022
@mathiasbynens mathiasbynens deleted the animated-avif branch October 5, 2022 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants