| Previous | Next |
| NS_E_DEVICECONTROL_UNSTABLE | NS_E_AUDIENCE__LANGUAGE_CONTENTTYPE_MISMATCH |
NS_E_INVALID_PIXEL_ASPECT_RATIO
The failing stage in the Encoder object model
NS_E_INVALID_PIXEL_ASPECT_RATIO (0xC00D1BE2) means pixel-aspect-ratio numerator or denominator falls outside the Encoder's accepted range in video stream and audience settings.
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. The codec validates both values and combinations.
Evidence to preserve
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. For example, a large reduced-unfriendly ratio is written without normalization.
| Field | What to preserve |
|---|---|
| Values to record | PixelAspectRatioX/Y values, source dimensions and non-square-pixel mode |
| 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 |
Reproduce the condition with one controlled change
- Record
0xC00D1BE2, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture PixelAspectRatioX/Y values, source dimensions and non-square-pixel mode. - Verify the video 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: set each ratio component within 1 through 255 and preserve the intended display aspect.
Interpret neighboring results carefully
| Result | Why it differs |
|---|---|
NS_E_INVALID_INTERLACEMODE | selected codec does not support the requested interlace-preservation mode |
NS_E_INVALID_VIDEO_WIDTH_FOR_INTERLACED_ENCODING | interlace-preserving output width is not a multiple of four |
NS_E_SAME_AS_INPUT_COMBINATION | audiences mix same-as-input sizing with explicit width and height in one profile |
Resolution and verification
To fix this occurrence, set each ratio component within 1 through 255 and preserve the intended display aspect. Recreate the affected source group, profile or output object, repeat the same operation, and confirm that the same operation no longer returns NS_E_INVALID_PIXEL_ASPECT_RATIO.
Do not rely on the UI label alone; record the numeric profile fields and codec identity before changing presets.
Discriminating evidence: Record the pixel-aspect numerator and denominator passed for the video stream and validate their supported range before any scaling conversion. This code concerns the ratio values themselves rather than the audience's square-pixel mode or encoder quality setting.
Technical references
Looking for a different code? Search another status or error code.