Skip to content

Is it possible to encode with resize changing aspect ratio? #3869

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

Open
Djuffin opened this issue Mar 27, 2025 · 0 comments
Open

Is it possible to encode with resize changing aspect ratio? #3869

Djuffin opened this issue Mar 27, 2025 · 0 comments

Comments

@Djuffin
Copy link

Djuffin commented Mar 27, 2025

The input picture dimensions (SSourcePicture.iPicWidth x SSourcePicture.iPicWidth) can be different from the output dimensions (SEncParamExt.iPicWidth x SEncParamExt.iPicWidth) that were used while configuring the encoder.
This allows automatic resizing while encoding.

I've notice that when input and output dimensions have different aspect ratio, the encoder doesn't stretch the frame, but leaves black margins instead.

Is it intentional?
If it's intentional, can this behavior be changed?

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

No branches or pull requests

1 participant