Skip to content

Conversation

@z-khan
Copy link
Contributor

@z-khan z-khan commented May 1, 2025

add formats to VideoFrame:

  • gbrp9be, gbrp9le
  • gbrap10be, gbrap10le, gbrap12be, gbrap12le,gbrap14be, gbrap14le, gbrap16be, gbrap16le
  • gray9be, gray9le, gray10be, gray10le, gray12be, gray12le, gray14be, gray14le

extend VideoFrame.from_bytes to all non-planar formats and change default format from rgba to rgb24 for consistency.

z-khan added 20 commits April 24, 2025 12:14
extend `VideoFrame.from_bytes` to all non-planar formats. Support for planar formats may be implemented in future.
change default format to `rgb24` for consistency with other helper functions for frame creation.
adds support for 

gray formats:
`gray9be`, `gray9le`
`gray10be`, `gray10le`
`gray12be`, `gray12le`
`gray14be`, `gray14le`

 gbrp formats:
`gbrp9be`, `gbrp9le`
`gray9`, `gray10`, `gray12`, `gray14` and `gbrp9`
default to `rgb24` format consistent with other functions
@WyattBlue
Copy link
Member

Contribute to https://github.com/basswood-io/BasswoodAV instead

@WyattBlue WyattBlue closed this May 1, 2025
@z-khan
Copy link
Contributor Author

z-khan commented May 1, 2025

reason?

@WyattBlue
Copy link
Member

Basswood-av is more up to date, and I'm tired of manually porting commits.

@z-khan
Copy link
Contributor Author

z-khan commented May 2, 2025

okay, I'll resubmit soon.

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