What does HRESULT 0xC00D1BA0 (NS_E_INVALID_INPUT_STREAM) mean?

 
Previous Next
NS_E_INVALID_INPUT_LANGUAGE NS_E_EXPECT_MONO_WAV_INPUT

NS_E_INVALID_INPUT_STREAM

How to interpret the code in a real encoding session

0xC00D1BA0 is named NS_E_INVALID_INPUT_STREAM. Its practical scope is an input stream type or index does not identify a valid source stream, which belongs to profile, audience and stream topology rather than to every part of Windows Media playback or Windows itself.

Mechanism and point of failure

A Windows Media Encoder profile declares content types and one or more audiences. Each audience maps source indexes to audio, video, script or file streams and must remain structurally consistent with the other audiences in a multiple-bit-rate profile.

Individual fields may be syntactically valid while the complete profile is inconsistent across audiences or does not match the source group. A typical reproduction is: a file-stream index is used against a source group containing only audio and video. This makes the first result from the Encoder more valuable than a later generic message.

Minimal experiment

  1. Record 0xC00D1BA0, the Encoder version and the exact API call or property access that returned it.
  2. Export the current .wme or .prx configuration, then capture requested stream type/index and source-group counts by type.
  3. Verify the profile, audience and stream topology precondition without changing the source, profile and output sink at the same time.
  4. Run one controlled comparison that changes only the identified precondition: map the profile entry to an existing audio, video, script or file stream.

Do not collapse these results together

ResultWhy it differs
NS_E_INVALID_INPUT_LANGUAGEa language value or language index supplied for an input stream is not accepted
NS_E_INTERLACEMODE_MISMATCHthe same source index has different interlace modes across audiences
NS_E_INVALID_INPUT_AUDIENCE_INDEXan audience index supplied to profile or input mapping is outside the collection

What to change—and what to leave alone

Do not repair a profile by deleting arbitrary audiences; export the .prx profile first and compare the same source index across every audience.

Authoritative documentation


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