Site icon EfmSoft

What does HRESULT 0xC00D1BD3 (NS_E_SOURCE_CANNOT_LOOP) mean?

 
Previous Next
NS_E_SAME_AS_INPUT_COMBINATION NS_E_INVALID_FOLDDOWN_COEFFICIENTS

NS_E_SOURCE_CANNOT_LOOP

The failing stage in the Encoder object model

NS_E_SOURCE_CANNOT_LOOP (0xC00D1BD3) means Repeat is enabled for a source type that cannot be replayed in source timeline and clipping.

Windows Media Encoder builds a timeline for every selected source before samples enter the codec. Mark-in, mark-out, repeat and time-compression settings are therefore validated against the source duration and against each other before encoding begins.

Evidence to preserve

A file that opens and reports a duration can still fail here because timeline validation happens after source discovery but before the first encoded sample. For example, a live capture device is configured to loop like a file.

FieldWhat to preserve
Values to recordsource scheme/type, Repeat flag and whether the input is seekable and finite
Producing objectsource-group name, source URL or device moniker, MarkIn and MarkOut in milliseconds, detected duration, Repeat flag, preprocessing mode and encoder state

Reproduce the condition with one controlled change

  1. Record 0xC00D1BD3, the Encoder version and the exact API call or property access that returned it.
  2. Export the current .wme or .prx configuration, then capture source scheme/type, Repeat flag and whether the input is seekable and finite.
  3. Verify the source timeline and clipping precondition without changing the source, profile and output sink at the same time.
  4. Run one controlled comparison that changes only the identified precondition: disable Repeat or use a seekable file source.

Interpret neighboring results carefully

ResultWhy it differs
NS_E_BAD_MARKOUTvalidation of IWMEncSource.MarkOut against MarkIn and the end of the source
NS_E_MARKIN_UNSUPPORTEDMarkIn or MarkOut clipping is requested for a source type that does not support seeking to marks
NS_E_BAD_MARKINvalidation of IWMEncSource.MarkIn before the source timeline is committed

Resolution and verification

To fix this occurrence, disable Repeat or use a seekable file source. Recreate the affected source group, profile or output object, repeat the same operation, and confirm that the same operation no longer returns NS_E_SOURCE_CANNOT_LOOP.

Do not re-encode or trim the only copy of the input while diagnosing the timeline; preserve the original duration and timestamps so the invalid interval can be reproduced.

Technical references


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

Exit mobile version