Skip to main content

Supported file formats

The following table summarizes the supported media (asset) file formats. This information is based on what the Rust library supports; other libraries in the SDK support the same formats unless noted otherwise.

note

When reading an asset, the SDK first looks at the file name extension to determine the asset type. If the file has no extension, then the SDK uses the MIME type specified in the API call (if any). When the internal header/MIME disagrees with the extension, the SDK uses the extension, not the internal MIME/metadata. If there is no file extension nor MIME type, then the SDK "sniffs the bytes" of the asset using infer to determine the asset type.

ExtensionsMIME type
avivideo/msvideo, video/x-msvideo, video/avi, application/x-troff-msvideo
avifimage/avif
c2paapplication/x-c2pa-manifest-store
dngimage/x-adobe-dng
flacaudio/flac
gifimage/gif
heicimage/heic
heifimage/heif
jpg, jpegimage/jpeg
jxlimage/jxl
m4aaudio/mp4
mp3audio/mpeg
mp4video/mp4, application/mp4
Fragmented MP4 (DASH) supported only for file-based operations from the Rust library.
movvideo/quicktime
pdfapplication/pdf (read-only)
pngimage/png
svgimage/svg+xml
tif, tiffimage/tiff
wavaudio/wav
webpimage/webp