You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Opus encoder was using the AAC encoder's properties function which
allows bitrates up to 1024 kbps. However, FFmpeg's libopus enforces a
maximum of 256 kbps per channel. Users selecting bitrates above 256
kbps would encounter confusing "Failed to open AAC codec" errors.
This commit adds a dedicated opus_properties() function that sets the
correct bitrate range (64-256 kbps). The 256 kbps limit is more than
sufficient for Opus, as typical WebRTC usage is only 30-90 kbps.
Additionally, fixes hardcoded "AAC codec" error messages in
initialize_codec() to display the actual codec name, improving error
reporting for all FFmpeg audio encoders.
Fixes#12753
0 commit comments