| Previous | Next |
| NS_E_ARCHIVE_SAME_AS_INPUT | NS_E_NO_REALTIME_TIMECOMPRESSION |
NS_E_SOURCE_NOTSPECIFIED
Where the Encoder produces this result
0xC00D1B85 (NS_E_SOURCE_NOTSPECIFIED) identifies final source-group validation finds an incompletely configured source. The important diagnostic boundary is the Encoder object that validates this state; a later “cannot start encoding” dialog can hide that more precise origin.
The Encoder object model groups audio, video and script inputs in an IWMEncSourceGroup, associates one profile with that group, and asks a source plug-in to expose a media format that can feed the selected output streams in a session that returns this result.
What has already succeeded
Successful creation of the COM objects does not prove that the source group is complete; profile assignment, source discovery and format negotiation are later checkpoints in a session that returns this result. In a representative source notspecified case, an audio source object is added as a placeholder but never assigned an input. The result observation should be tested at the producing object instead of being treated as a general codec or operating-system failure.
State snapshot to capture
| Field | What to preserve |
|---|---|
| Decisive values | each source object's SetInput/GetInput values, scheme, stream name and media format |
| Producing object | source-group collection index and name, active/prepared state, stream type, input scheme and stream name, source plug-in CLSID, negotiated media type and assigned profile |
| Session correlation | the same source-group generation, audience index, object identity and callback sequence that produced this result |
| Lower-level evidence | the first COM, driver, file-system or codec HRESULT observed before the Encoder mapped the condition to this result |
| Controlled comparison | a known-good session that changes only the setting named in the source notspecified boundary |
How to read the next observation
| Observation | How to interpret it |
|---|---|
| Observation that supports it | The decisive evidence is each source object's SetInput/GetInput values, scheme, stream name and media format. It confirms final source-group validation finds an incompletely configured source in the same object generation. |
| Observation that points to an earlier failure | The recorded values satisfy the source notspecified rule, but a source, driver, COM activation or file operation returns a different HRESULT first. |
| Observation that points to a later failure | The Encoder passes this boundary (final source-group validation finds an incompletely configured source), but a codec, archive or broadcast sink then fails in a subsequent stage. |
| Verification after correction | Apply this isolated change: complete or remove the unfinished source before preparing the group. The original source notspecified call should then advance past the same checkpoint. |
The operational impact of it is limited to the source groups, streams and plug-ins transition that owns final source-group validation finds an incompletely configured source. In the representative case where an audio source object is added as a placeholder but never assigned an input, keep the first failing call and its object identity so a later wrapper cannot replace the source notspecified evidence.
A controlled diagnostic sequence
- Record
0xC00D1B85, it, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture each source object's SetInput/GetInput values, scheme, stream name and media format. - verify the source groups, streams and plug-ins precondition without changing the source, profile and output sink at the same time.
- Run one controlled comparison in which only this condition changes: complete or remove the unfinished source before preparing the group.
- After the change, recreate the affected Encoder object rather than assuming the existing graph discarded its earlier source notspecified state.
Nearby HRESULTs that mean something else
| Result | Why it is a different boundary |
|---|---|
NS_E_NOSOURCEGROUPS | starting an Encoder session with an empty source-group collection |
NS_E_INPUTSOURCE_PROBLEM | aggregate source-group health check reports one or more inputs unable to supply data |
NS_E_NO_SCRIPT_STREAM | submission of script data when the current source group has no script source |
Corrective action at the right layer
The focused correction is to complete or remove the unfinished source before preparing the group. A retry is useful only after the recorded source notspecified precondition changes.
Do not delete and recreate every source group before exporting the.wme configuration and recording the active group; otherwise the failing object relation is lost in a session that returns it.
Technical references
- Preparing a source group for encoding.
- Retrieving the profile assigned to a source group.
- Retrieving the configured encoder input.
- Saving a Windows Media Encoder configuration.
Looking for a different code? Search another status or error code.