| Previous | Next |
| MF_E_MEDIA_SOURCE_NO_STREAMS_SELECTED | MF_E_UNSUPPORTED_CHARACTERISTICS |
MF_E_CANNOT_FIND_KEYFRAME_SAMPLE
The practical meaning of this HRESULT
MF_E_CANNOT_FIND_KEYFRAME_SAMPLE means the requested seek, trim, index, or sample search could not locate a clean-point video sample.
The result comes from the source, parser, or index-assisted search that scans for a key frame. A representative case is a damaged or unusually long-GOP stream has no clean point in the requested interval.
Evidence to preserve
target time, search direction and range, MFSampleExtension_CleanPoint values, stream selection, index availability, and first/last sample times.
A narrow diagnostic run
- Record and verify: target time, search direction and range, MFSampleExtension_CleanPoint values, stream selection, index availability, and first/last sample times.
- Run the controlled comparison: expand the search range or inspect samples around the target while logging clean-point attributes.
Distinguish the neighboring failures
| HRESULT | Meaning in the standard description |
|---|---|
MF_E_UNSUPPORTED_CHARACTERISTICS | The characteristics of the media source are not supported. |
MF_E_NOT_PROTECTED | The file is not protected. |
MF_E_NETWORK_RESOURCE_FAILURE | An attempt to acquire a network resource failed. |
Here, MF_E_NO_INDEX reports missing index data; this code can occur even when scanning or an index exists but yields no key frame.
Finish with a repeatable fix
For this occurrence, build or repair the index, seek to an earlier clean point, or use a stream with valid key-frame signaling.
Authoritative references
Looking for a different code? Search another status or error code.