| Previous | Next |
| MF_E_CAPTURE_SOURCE_NO_INDEPENDENT_PHOTO_STREAM_PRESENT | MF_E_CAPTURE_SOURCE_NO_AUDIO_STREAM_PRESENT |
MF_E_CAPTURE_SOURCE_NO_VIDEO_STREAM_PRESENT
MF_E_CAPTURE_SOURCE_NO_VIDEO_STREAM_PRESENT means the active Capture Engine source does not have the required video stream. This can be a valid result of source selection: initialization supports audio-only mode, video-only mode, explicitly supplied source objects, or automatic device selection.
Verify what source the engine actually initialized
- Record whether
MF_CAPTURE_ENGINE_USE_AUDIO_DEVICE_ONLYwas set. - Record the video source passed to
Initialize, or note that automatic selection was requested withNULL. - Enumerate all source streams and their categories through
IMFCaptureSource.
Do not infer the presence of a video stream from the fact that some capture source exists. A valid audio-only engine can initialize without a video device, and custom media sources can expose stream layouts unlike a webcam. The fix belongs in source selection or feature gating: disable preview/photo/video recording operations when no video category is present, or initialize with the intended video capture device.
Microsoft: Capture Engine initialization and source selection · Microsoft: IMFCaptureSource · Microsoft: Capture Engine attributes
Looking for a different code? Search another status or error code.
