| Previous | Next |
| NS_E_CODEC_UNAVAILABLE | NS_E_SOURCE_NOTSPECIFIED |
NS_E_ARCHIVE_SAME_AS_INPUT
The failing boundary in the Encoder object model
The useful reading of NS_E_ARCHIVE_SAME_AS_INPUT (0xC00D1B84) is not merely the standard message shown above. It locates canonical path comparison detects that archive output would overwrite an input inside archive and local-output configuration.
Archive output is configured separately from source capture and broadcast delivery in a session that returns NS_E_ARCHIVE_SAME_AS_INPUT. The encoder validates archive type, operation, destination path, collision with input files, available disk space and whether an archive session is actually active at the archive same as input checkpoint.
Evidence that separates this code from a wrapper error
A live broadcast may continue while local archival fails, because the broadcast sink and archive sink have different paths and state in a session that returns NS_E_ARCHIVE_SAME_AS_INPUT. For example, relative paths in different fields resolve to the same file. Preserve the NS_E_ARCHIVE_SAME_AS_INPUT distinction before a UI layer converts the result into a broad start, capture or profile failure.
| Field | What to preserve |
|---|---|
| Decisive values | fully resolved input and archive paths, case-normalized volume identity and link targets |
| Producing object | IWMEncFile.LocalFileName, auto-archive type and operation, canonical input/output paths, free and reserved disk space, temporary record queue, archive state and file-system HRESULT |
| Session correlation | the same source-group generation, audience index, object identity and callback sequence that produced NS_E_ARCHIVE_SAME_AS_INPUT |
| Lower-level evidence | the first COM, driver, file-system or codec HRESULT observed before the Encoder mapped the condition to NS_E_ARCHIVE_SAME_AS_INPUT |
| Controlled comparison | a known-good session that changes only the setting named in the archive same as input boundary |
Interpret the next measurement
| Observation | How to interpret it |
|---|---|
| Observation that supports this result | The decisive evidence is fully resolved input and archive paths, case-normalized volume identity and link targets. It confirms canonical path comparison detects that archive output would overwrite an input in the same object generation. |
| Observation that points to an earlier failure | The recorded values satisfy the archive same as input 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 (canonical path comparison detects that archive output would overwrite an input), but a codec, archive or broadcast sink then fails in a subsequent stage. |
| Verification after correction | Apply this isolated change: choose an archive file distinct from every source file. The original archive same as input call should then advance past the same checkpoint. |
The operational impact of NS_E_ARCHIVE_SAME_AS_INPUT is limited to the archive and local-output configuration transition that owns canonical path comparison detects that archive output would overwrite an input. For NS_E_ARCHIVE_SAME_AS_INPUT, it does not, by itself, prove that every input is corrupt, every codec is missing or the complete Windows Media installation is unusable. In the representative case where relative paths in different fields resolve to the same file, keep the first failing call and its object identity so a later wrapper cannot replace the archive same as input evidence.
Test the condition without rewriting the session
- Record
0xC00D1B84,NS_E_ARCHIVE_SAME_AS_INPUT, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture fully resolved input and archive paths, case-normalized volume identity and link targets. - For
NS_E_ARCHIVE_SAME_AS_INPUT, verify the archive and local-output configuration precondition without changing the source, profile and output sink at the same time. - Run one controlled comparison in which only this condition changes: choose an archive file distinct from every source file.
- After the change, recreate the affected Encoder object rather than assuming the existing graph discarded its earlier archive same as input state.
Interpret neighboring results carefully
| Result | Why it is a different boundary |
|---|---|
NS_E_NOTARCHIVING | an archive-only operation issued when no archive sink is active |
NS_E_RECORDQ_DISK_FULL | temporary record queue reaches its configured minimum-free-space threshold |
NS_E_ARCHIVE_FILENAME_NOTSET | starting local archival without a destination file name |
Resolution and verification
The direct repair for this occurrence is to choose an archive file distinct from every source file. Recreate the affected source group, profile or output object, repeat the same operation, and confirm that the first failing HRESULT no longer comes from the archive same as input checkpoint.
Do not overwrite or delete the partial archive before recording its path, size and timestamps; those details distinguish naming, disk-space and writer failures in a session that returns NS_E_ARCHIVE_SAME_AS_INPUT.
References for the NS_E_ARCHIVE_SAME_AS_INPUT boundary
- WMEncoder.File and archive output.
- IWMEncStatistics.IndexerStats.
- WMEncoder.Broadcast.
- WMEncoder.Flush.
Looking for a different code? Search another status or error code.