| Previous | Next |
| NS_E_EXPECT_MONO_WAV_INPUT | NS_E_RECORDQ_DISK_FULL |
NS_E_INPUT_WAVFORMAT_MISMATCH
Where the Encoder produces this result
0xC00D1BA2 (NS_E_INPUT_WAVFORMAT_MISMATCH) identifies multiple WAV inputs used together do not share one WAVEFORMATEX. 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 audio part of an encoder profile combines source format, codec, bitrate mode, average and peak rates, buffer limits and channel layout in a session that returns this result. Multiple audiences impose cross-audience consistency rules in addition to per-field ranges.
What has already succeeded
A codec can be installed and still reject the selected format or bitrate combination; codec presence and profile validity are different tests in a session that returns this result. In a representative input wavformat mismatch case, EDL segments reference WAV files with different sample rates. 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 | format tag, channels, sample rate, bits and block alignment for every WAV file |
| Producing object | source WAVEFORMATEX, audience index, audio codec and format indexes, VBR mode, average/peak bitrate, buffer size, channel count, language and compatibility target |
| 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 input wavformat mismatch boundary |
How to read the next observation
| Observation | How to interpret it |
|---|---|
| Observation that supports it | The decisive evidence is format tag, channels, sample rate, bits and block alignment for every WAV file. It confirms multiple WAV inputs used together do not share one WAVEFORMATEX in the same object generation. |
| Observation that points to an earlier failure | The recorded values satisfy the input wavformat mismatch 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 (multiple WAV inputs used together do not share one WAVEFORMATEX), but a codec, archive or broadcast sink then fails in a subsequent stage. |
| Verification after correction | Apply this isolated change: convert the inputs to one identical audio format before combining them. The original input wavformat mismatch call should then advance past the same checkpoint. |
The operational impact of it is limited to the audio stream and audience settings transition that owns multiple WAV inputs used together do not share one WAVEFORMATEX. In the representative case where EDL segments reference WAV files with different sample rates, keep the first failing call and its object identity so a later wrapper cannot replace the input wavformat mismatch evidence.
A controlled diagnostic sequence
- Record
0xC00D1BA2, it, the Encoder version and the exact API call or property access that returned it. - Export the current
.wmeor.prxconfiguration, then capture format tag, channels, sample rate, bits and block alignment for every WAV file. - verify the audio stream and audience settings precondition without changing the source, profile and output sink at the same time.
- Run one controlled comparison in which only this condition changes: convert the inputs to one identical audio format before combining them.
- After the change, recreate the affected Encoder object rather than assuming the existing graph discarded its earlier input wavformat mismatch state.
Nearby HRESULTs that mean something else
| Result | Why it is a different boundary |
|---|---|
NS_E_EXPECT_MONO_WAV_INPUT | voice-analysis or optimization input requires a single-channel WAV source |
NS_E_INVALID_VBR_WITH_UNCOMP | VBR mode is combined with an uncompressed audio or video stream |
NS_E_AUDIO_BITRATE_STEPDOWN | audio bitrate ordering is inconsistent with ascending total audience bitrate |
Corrective action at the right layer
The focused correction is to convert the inputs to one identical audio format before combining them. A retry is useful only after the recorded input wavformat mismatch precondition changes.
Do not substitute a different codec before saving the exact profile values rejected by validation; otherwise the incompatible combination cannot be identified in a session that returns it.
Technical references
- WAVEFORMATEX structure.
- IWMEncProfile2.VBRMode.
- Adding an audience to an encoder profile.
- Choosing an encoding method.
Looking for a different code? Search another status or error code.
