| Previous | Next |
| MF_E_BANDWIDTH_OVERRUN | MF_E_FLUSH_NEEDED |
MF_E_LATE_SAMPLE
MF_E_LATE_SAMPLE is an ASF multiplexer timing error. IMFASFMultiplexer::ProcessSample returns it when the input sample's presentation time is earlier than the send time assigned by the multiplexer.
Check timestamp ordering before adjusting clocks
Log each sample's stream number, IMFSample time, duration, and the hnsTimestampAdjust value passed to ProcessSample. In multi-stream authoring, preserve ordering and use the same 100-nanosecond time base when deriving timestamps.
This code differs from MF_E_BANDWIDTH_OVERRUN. A late sample arrives behind the multiplexer send schedule; bandwidth overrun means the configured bitrate/buffer window cannot accommodate the data flow. First find the first timestamp regression or incorrect adjustment. Increasing the declared bitrate is not a general fix for samples submitted with stale presentation times.
Microsoft: ProcessSample timing contract · Microsoft: ASF send window and late samples · FFmpeg ASF muxer source
Looking for a different code? Search another status or error code.