For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
MediaDecodeError
MediaDecodeError
class max.pipelines.context.MediaDecodeError
Bases: InputError
Raised when client-supplied media is malformed, unsupported, or unreadable.
The one type for every decoder-specific failure on untrusted media (PyAV, PIL, bad base64), so serving code can report it to the user without knowing which backend raised.