| 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.
| Field | What to preserve |
|---|---|
| Values to record | source scheme/type, Repeat flag and whether the input is seekable and finite |
| Producing object | source-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
- Record
0xC00D1BD3, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture source scheme/type, Repeat flag and whether the input is seekable and finite. - Verify the source timeline and clipping precondition without changing the source, profile and output sink at the same time.
- Run one controlled comparison that changes only the identified precondition: disable Repeat or use a seekable file source.
Interpret neighboring results carefully
| Result | Why it differs |
|---|---|
NS_E_BAD_MARKOUT | validation of IWMEncSource.MarkOut against MarkIn and the end of the source |
NS_E_MARKIN_UNSUPPORTED | MarkIn or MarkOut clipping is requested for a source type that does not support seeking to marks |
NS_E_BAD_MARKIN | validation 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.