Unexpected warnings about bit_rate when converting audio #1089
Unanswered
daveisfera
asked this question in
1. Help
Replies: 1 comment
-
Is there a way to close this? Because it appears to be a bigger bug than just this warning (see #1088 ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Thanks for the great work on
pyav
! I'm using it to convert PCM audio to AAC in memory to convert a stream. It's working but I'm seeing unexpected warnings aboutbit_rate
Expected behavior
Default
bit_rate
would work or setting thebit_rate
to an expected value would not give a warningActual behavior
The default gives this error:
Then setting
bit_rate
to 128 gives this error (and setting it to 128 * 1024 gives the same error as above):Build report:
Using
av==10.0.0
in arequirements.txt
fileInvestigation
These warnings are printed in
ffmpeg
codeReproduction
Here's a piece of sample code that's reading the data from files instead of a stream but it shows the issue:
Versions
pip
Beta Was this translation helpful? Give feedback.
All reactions