What does HRESULT 0xC00D1BCD (NS_E_INVALID_VIDEO_HEIGHT_ALIGN) mean?

 
Previous Next
NS_E_INVALID_VIDEO_WIDTH_ALIGN NS_E_MULTIPLE_SCRIPT_BITRATES

NS_E_INVALID_VIDEO_HEIGHT_ALIGN

The vertical dimension violates an alignment rule

NS_E_INVALID_VIDEO_HEIGHT_ALIGN (0xC00D1BCD) is not a generic size-range failure. The requested height is incompatible with the block or scan-line alignment required by the chosen codec/format.

Find the exact final dimension

Log the height after cropping and scaling, the codec/pixel format, and any interlace setting. Small edits such as removing one scan line can turn an otherwise valid dimension into an unaligned one.

Controlled fix

Round or choose the output height to a supported alignment without changing unrelated rate-control fields. Validate the profile immediately. If the aligned height still lies outside the codec's absolute range, diagnose NS_E_INVALID_VIDEO_HEIGHT separately.

Technical references


Looking for a different code? Search another status or error code.