| Previous | Next |
| MF_E_UNSUPPORTED_TIME_FORMAT | MF_E_NO_SAMPLE_DURATION |
MF_E_NO_SAMPLE_TIMESTAMP
MF_E_NO_SAMPLE_TIMESTAMP means that an IMFSample lacks a presentation time. Some components can operate without timestamps, but codecs and sinks that schedule or encode timed content can require one.
Set the timestamp at the producer boundary
- Call
IMFSample::SetSampleTimebefore submitting the sample where the pipeline requires a timestamp. - Use one time base consistently and preserve ordering across samples.
- Log the timestamp at capture, decode, and encode boundaries to locate where it was lost.
For example, Microsoft documents that the AAC encoder returns this status when an input sample has no time.
Microsoft: IMFSample::GetSampleTime · Microsoft: AAC encoder
Looking for a different code? Search another status or error code.