Skip to content

Conversation

@NicolasHug
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 7, 2025
// best-effort, matching to the closest supported bit_rate. I.e. passing 1 is
// like passing 0, which results in choosing the minimum supported bit rate.
// Passing 44_100 could result in output being 44000 if only 44000 is
// supported.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I don't think there is a way to list the supported bit rates of the encoder. It's possible for sample rates, but not for bit rates.

# TODO-ENCODING: tol should be stricter. We need to increase the encoded
# bitrate, and / or encode into a lossless format.
# TODO-ENCODING: tol should be stricter. We probably need to encode
# into a lossless format.
Copy link
Contributor Author

@NicolasHug NicolasHug Apr 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to pass bit_rate=40_000 and was able to decrease tolerance from 0.07 to 0.05, but that's clearly not strict enough still.

@NicolasHug NicolasHug marked this pull request as ready for review April 7, 2025 14:12
@NicolasHug NicolasHug merged commit b6dd961 into meta-pytorch:main Apr 8, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants