| Previous | Next |
| MF_E_SINK_NO_STREAMS | MF_E_SINK_NO_SAMPLES_PROCESSED |
MF_E_METADATA_TOO_LONG
MF_E_METADATA_TOO_LONG is an output-container constraint, not a generic string-allocation failure. The sink has a metadata item, but the target format cannot represent that item at its supplied size.
Record the exact property and encoded length
- Log the metadata key, value type, character count, and final byte count after the encoding used by the sink.
- Identify whether the failing destination is ASF, MP4, or another archive sink because container metadata structures have different limits and representations.
- Reduce or omit only the offending metadata field; do not truncate binary or structured values blindly.
For example, file sinks write metadata into container-specific header structures, and the MPEG-4 sink maps selected shell properties into boxes or tags. A shorter filename or larger media sample buffer does not address metadata serialization. Preserve the failing key/value pair so the actual container limit can be investigated.
Microsoft: archive media sinks · Microsoft: MPEG-4 sink metadata and boxes · Wine: mferror.h
Looking for a different code? Search another status or error code.