| Previous | Next |
| NS_E_MULTIPLE_VIDEO_SIZES | NS_E_VIDEO_BITRATE_STEPDOWN |
NS_E_INVALID_VIDEO_BITRATE
Where the Encoder produces this result
0xC00D1BBF (NS_E_INVALID_VIDEO_BITRATE) identifies video average bitrate is rejected by the selected codec or audience configuration. The important diagnostic boundary is the Encoder object that validates this state; a later “cannot start encoding” dialog can hide that more precise origin.
The video profile selects a codec and rate-control mode, then supplies bitrate, peak rate, frame rate, frame size, key-frame spacing, quality, buffer and optional interlace or pixel-aspect settings in a session that returns this result. The codec validates both values and combinations.
What has already succeeded
A source preview does not prove that the output profile is accepted; output dimensions and rate-control settings are validated by the selected encoder codec in a session that returns this result. In a representative invalid video bitrate case, a zero or overflowed bitrate is loaded from a damaged.prx. The result observation should be tested at the producing object instead of being treated as a general codec or operating-system failure.
State snapshot to capture
| Field | What to preserve |
|---|---|
| Decisive values | codec, frame size/rate, VBR mode and requested video bitrate |
| Producing object | audience index, codec FOURCC/index, VBR mode, width and height, frame rate, average and peak bitrate, buffer values, key-frame interval, quality values, interlace mode and pixel aspect ratio |
| Session correlation | the same source-group generation, audience index, object identity and callback sequence that produced this result |
| Lower-level evidence | the first COM, driver, file-system or codec HRESULT observed before the Encoder mapped the condition to this result |
| Controlled comparison | a known-good session that changes only the setting named in the invalid video bitrate boundary |
How to read the next observation
| Observation | How to interpret it |
|---|---|
| Observation that supports it | The decisive evidence is codec, frame size/rate, VBR mode and requested video bitrate. It confirms video average bitrate is rejected by the selected codec or audience configuration in the same object generation. |
| Observation that points to an earlier failure | The recorded values satisfy the invalid video bitrate rule, but a source, driver, COM activation or file operation returns a different HRESULT first. |
| Observation that points to a later failure | The Encoder passes this boundary (video average bitrate is rejected by the selected codec or audience configuration), but a codec, archive or broadcast sink then fails in a subsequent stage. |
| Verification after correction | Apply this isolated change: choose a bitrate supported for the selected codec mode and profile topology. The original invalid video bitrate call should then advance past the same checkpoint. |
The operational impact of it is limited to the video stream and audience settings transition that owns video average bitrate is rejected by the selected codec or audience configuration. In the representative case where a zero or overflowed bitrate is loaded from a damaged.prx, keep the first failing call and its object identity so a later wrapper cannot replace the invalid video bitrate evidence.
A controlled diagnostic sequence
- Record
0xC00D1BBF, it, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture codec, frame size/rate, VBR mode and requested video bitrate. - verify the video stream and audience settings precondition without changing the source, profile and output sink at the same time.
- Run one controlled comparison in which only this condition changes: choose a bitrate supported for the selected codec mode and profile topology.
- After the change, recreate the affected Encoder object rather than assuming the existing graph discarded its earlier invalid video bitrate state.
Nearby HRESULTs that mean something else
| Result | Why it is a different boundary |
|---|---|
NS_E_INTERLACE_REQUIRE_SAMESIZE | interlace-preserving output is configured with dimensions different from the input |
NS_E_VIDEO_BITRATE_STEPDOWN | video bitrate decreases when total audience bitrate increases |
NS_E_INVALID_VIDEO_PEAKRATE | video peak bitrate lies outside the codec or VBR mode's accepted range |
Corrective action at the right layer
The focused correction is to choose a bitrate supported for the selected codec mode and profile topology. A retry is useful only after the recorded invalid video bitrate precondition changes.
Do not rely on the UI label alone; record the numeric profile fields and codec identity before changing presets in a session that returns it.
Technical references
- Selecting a video codec for an audience.
- IWMEncProfile2.VBRMode.
- IWMEncVideoSource2.Width and live capture sizing.
- Non-square pixel mode in an encoder profile.
Looking for a different code? Search another status or error code.