Site icon EfmSoft

What does HRESULT 0xC00D1B6A (NS_E_VIDSOURCECOMPRESSION) mean?

 
Previous Next
NS_E_VIDCAPSTARTFAILED NS_E_VIDSOURCESIZE

NS_E_VIDSOURCECOMPRESSION

Where the Encoder produces this result

0xC00D1B6A (NS_E_VIDSOURCECOMPRESSION) identifies agreement on output compression or color depth from the video 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.

A live video source passes through device opening, capture-format negotiation, optional clipping and preview-window setup before an encoder codec accepts the frames in a session that returns this result. Width, height, pixel format and driver state belong to this boundary at the vidsourcecompression checkpoint.

What has already succeeded

Seeing a device in enumeration or obtaining a preview frame does not establish that the requested capture format can be delivered continuously to the encoder in a session that returns this result. In a representative vidsourcecompression case, a camera offers YUY2 but the session requests an unsupported RGB depth directly. 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

FieldWhat to preserve
Decisive valuesrequested subtype/FOURCC, bit depth, native device formats and the compressor input requirements
Producing objectdevice moniker, driver version, requested and native width/height, frame rate, BITMAPINFOHEADER compression and bit depth, preview state, source-plug-in result and first driver error
Session correlationthe same source-group generation, audience index, object identity and callback sequence that produced this result
Lower-level evidencethe first COM, driver, file-system or codec HRESULT observed before the Encoder mapped the condition to this result
Controlled comparisona known-good session that changes only the setting named in the vidsourcecompression boundary

How to read the next observation

ObservationHow to interpret it
Observation that supports itThe decisive evidence is requested subtype/FOURCC, bit depth, native device formats and the compressor input requirements. It confirms agreement on output compression or color depth from the video source in the same object generation.
Observation that points to an earlier failureThe recorded values satisfy the vidsourcecompression rule, but a source, driver, COM activation or file operation returns a different HRESULT first.
Observation that points to a later failureThe Encoder passes this boundary (agreement on output compression or color depth from the video source), but a codec, archive or broadcast sink then fails in a subsequent stage.
Verification after correctionApply this isolated change: select a source pixel format and color depth accepted by the capture device and downstream codec. The original vidsourcecompression call should then advance past the same checkpoint.

The operational impact of it is limited to the video capture and compressor negotiation transition that owns agreement on output compression or color depth from the video source. In the representative case where a camera offers YUY2 but the session requests an unsupported RGB depth directly, keep the first failing call and its object identity so a later wrapper cannot replace the vidsourcecompression evidence.

A controlled diagnostic sequence

  1. Record 0xC00D1B6A, it, the Encoder version and the exact API call or property access that returned it.
  2. Export the current .wme or .prx configuration, then capture requested subtype/FOURCC, bit depth, native device formats and the compressor input requirements.
  3. verify the video capture and compressor negotiation precondition without changing the source, profile and output sink at the same time.
  4. Run one controlled comparison in which only this condition changes: select a source pixel format and color depth accepted by the capture device and downstream codec.
  5. After the change, recreate the affected Encoder object rather than assuming the existing graph discarded its earlier vidsourcecompression state.

Nearby HRESULTs that mean something else

ResultWhy it is a different boundary
NS_E_VIDCAPSTARTFAILEDtransition of the configured video capture graph into streaming state
NS_E_VIDSOURCESIZEnegotiation of live capture width and height with the source device
NS_E_VIDEODRIVER_UNSTABLEdriver state after an unrecoverable capture failure makes further graph use unsafe

Corrective action at the right layer

The focused correction is to select a source pixel format and color depth accepted by the capture device and downstream codec. A retry is useful only after the recorded vidsourcecompression precondition changes.

Do not keep retrying an unstable capture driver in the same process after preserving the first error; close the graph and test one known-native format in a fresh process in a session that returns it.

Technical references


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

Exit mobile version