Skip to content

Add PyAv explicitly to pyproject.toml and remove .close() function usage#35

Merged
KeplerC merged 1 commit intoBerkeleyAutomation:mainfrom
pratyaypandey:issue/pyav-version
Jun 19, 2025
Merged

Add PyAv explicitly to pyproject.toml and remove .close() function usage#35
KeplerC merged 1 commit intoBerkeleyAutomation:mainfrom
pratyaypandey:issue/pyav-version

Conversation

@pratyaypandey
Copy link
Contributor

@pratyaypandey pratyaypandey commented Jun 19, 2025

Summary 📝

As discussed in #32, PyAv no longer supports the CodecContext.close() function. This was deprecated as the new versions automatically handle codex context lifecycles when they go out of scope, in line with modifications to the FFmpeg API. Furthermore, the issue brings to our attention that we have not explicitly added PyAv into our project dependencies, which can raise issues.

Details

Describe more what you did on changes.

  1. Added PyAv (version 14.0.0 and above) to pyproject.toml
  2. Removed instance of CodecContext.close().

Checks

@KeplerC KeplerC merged commit 83cedc5 into BerkeleyAutomation:main Jun 19, 2025
3 of 5 checks passed
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 Version?

2 participants