Skip to content

Fix OverflowError may be raised when init_video_stream with FPS in float - #1121

Merged
FirefoxMetzger merged 6 commits into
imageio:masterfrom
Pandede:fix-overflow-error-when-fps-is-float
Nov 4, 2025
Merged

FirefoxMetzger merged 6 commits into
imageio:masterfrom
Pandede:fix-overflow-error-when-fps-is-float

Conversation

@Pandede

@Pandede Pandede commented Feb 19, 2025 •

Copy link
Copy Markdown
Contributor

Resolves #1120.
This PR addresses a long-standing issue in pyav that has existed since version 0.4.0.

@FirefoxMetzger FirefoxMetzger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good :) Thanks for taking the time to fix this.

@ameraner

Copy link
Copy Markdown

Anything blocking this PR? It is currently causing unavoidable failures in our dowstream application, would be great to have the fix! Thanks.

@VLeonStieber

Copy link
Copy Markdown

Same here, it would be great to solve this overflow issue. Otherwise we can't reliably use float values for FPS.

@Pandede
Pandede force-pushed the fix-overflow-error-when-fps-is-float branch from f6e6d5d to 9437009 Compare August 27, 2025 16:52
@FirefoxMetzger
FirefoxMetzger merged commit e03963c into imageio:master Nov 4, 2025
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 Plugin] Setting Float fps Causes OverflowError

4 participants