Skip to content

Fix the error when time_base is set to null - #1144

Merged
FirefoxMetzger merged 6 commits into
imageio:masterfrom
Pandede:fix-time-base-cannot-be-null-in-pyav-15
Sep 14, 2025
Merged

FirefoxMetzger merged 6 commits into
imageio:masterfrom
Pandede:fix-time-base-cannot-be-null-in-pyav-15

Conversation

@Pandede

@Pandede Pandede commented Aug 27, 2025

Copy link
Copy Markdown
Contributor

Resolve #1139.
Since PyAV 13.1.0, time_base can only be set to Fraction.

Wikipedia has a policy against "bulk downloads" and is thus blocking the user agent "python" from downloading anything. This includes preventing us from downloading our example image to show reading from HTTP. I've changed it to use our own copy of that image living on GH instead.
@FirefoxMetzger

Copy link
Copy Markdown
Contributor

Okay, this looks good now :)

The pypy tests are still failing, but this is a separate issue (pyav no longer ships binaries that work with pypy), so I will fix those in a dedicated PR.

Thanks once again for a contribution @Pandede ! LGTM

@FirefoxMetzger
FirefoxMetzger merged commit eadfc59 into imageio:master Sep 14, 2025
@Pandede
Pandede deleted the fix-time-base-cannot-be-null-in-pyav-15 branch September 14, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PyAV 15.0 update causes issue with the writer FPS / time_base

2 participants