Skip to content

Conversation

daveisfera
Copy link
Contributor

When updating the content of a video, this is more efficient because the existing frame can be used

@WyattBlue WyattBlue merged commit 8e973ab into PyAV-Org:main Jul 22, 2025
5 checks passed
@daveisfera
Copy link
Contributor Author

This isn't useful like I had hoped and will require some additional work to be valuable.
The current to_image and from_image functions have an implied use of RGB format, so it's not a drop in replacement to use the existing frame, because calling set_image on it is trying to copy into a YUV image in the tests I've done and the current copy_bytes_to_plane appears to be assuming RGB so it doesn't work.

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.

2 participants