| Previous | Next |
| NS_E_AUDIO_BITRATE_STEPDOWN | NS_E_INVALID_AUDIO_PEAKRATE_2 |
NS_E_INVALID_AUDIO_PEAKRATE
Where the Encoder produces this result
0xC00D1BBA (NS_E_INVALID_AUDIO_PEAKRATE) identifies audio peak bitrate is outside the codec or mode's valid range. This is an Encoder validation error; a later “cannot start encoding” dialog can hide the original HRESULT.
The audio part of an encoder profile combines source format, codec, bitrate mode, average and peak rates, buffer limits and channel layout. Multiple audiences impose cross-audience consistency rules in addition to per-field ranges.
What has already succeeded
A codec can be installed and still reject the selected format or bitrate combination; codec presence and profile validity are different tests. For example, configuration imports a peak value intended for a different audio codec. Reproduce the condition at the Encoder object that returned the HRESULT rather than treating it as a general codec or operating-system failure.
A controlled diagnostic sequence
- Record
0xC00D1BBA, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture codec, VBR mode, average bitrate and requested peak bitrate. - Verify the audio stream and audience settings precondition without changing the source, profile and output sink at the same time.
- Run one controlled comparison that changes only the identified precondition: choose a peak rate accepted by the selected codec and rate-control mode.
Nearby HRESULTs that mean something else
| Result | Why it differs |
|---|---|
NS_E_AUDIO_BITRATE_STEPDOWN | audio bitrate ordering is inconsistent with ascending total audience bitrate |
NS_E_INVALID_AUDIO_PEAKRATE_2 | audio peak bitrate does not exceed the configured average bitrate when constrained VBR requires it |
NS_E_INVALID_VBR_WITH_UNCOMP | VBR mode is combined with an uncompressed audio or video stream |
Corrective action at the right layer
Do not substitute a different codec before saving the exact profile values rejected by validation; otherwise the incompatible combination cannot be identified.
Technical references
Looking for a different code? Search another status or error code.