Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow providing output pixel format for decoder #23

Closed
gBillal opened this issue Jan 3, 2025 · 1 comment · Fixed by #24
Closed

Allow providing output pixel format for decoder #23

gBillal opened this issue Jan 3, 2025 · 1 comment · Fixed by #24

Comments

@gBillal
Copy link
Collaborator

gBillal commented Jan 3, 2025

We want the ability to provide the output pixel format (or getting the original pixel format) and to not default to rgb. For example getting yuv420p from a video decoder will be useful in case we want to create jpegs or feed the stream to another encoder for transcoding.

This will introduce a breaking change, since by default we'll get the original pixel format. I have a working code and I can open a PR if this is something you want to include in the lib.

@mickel8
Copy link
Member

mickel8 commented Jan 3, 2025

Sure, please open the PR!

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 a pull request may close this issue.

2 participants