Video Formats

Below you can find an alphabetically sorted list of the video extensions/formats that ImageIO is aware of. If an extension is listed here, it is supported. If an extension is not listed here, it may still be supported if one of the backends supports the extension/format. If you encounter the latter, please create a new issue so that we can keep below list up to date and add support for any missing formats.

Each entry in the list below follows the following format:

<extension> (<format name>): <plugin> <plugin> ...

where <plugin> is the name of a plugin that can handle the format. If you wish to use a specific plugin to load a format, you would use the name as specified. For example, if you have a MOV file that you wish to open with FFMPEG and the <plugin> is called FFMPEG you would call:

iio.imread("image.mov", format="FFMPEG")

Format List

Note

To complete this list we are looking for each format’s full name and a link to the spec. If you come across this information, please consider sharing it by creating a new issue.

  • .avi (Audio Video Interleave): FFMPEG

  • .gif (Graphics Interchange Format): pillow GIF-PIL

  • .mkv (Matroska Multimedia Container): FFMPEG

  • .mov (QuickTime File Format): FFMPEG

  • .mp4 (MPEG-4 Part 14): FFMPEG

  • .mpeg (Moving Picture Experts Group): FFMPEG

  • .mpg (Moving Picture Experts Group): FFMPEG

  • .webm: FFMPEG

  • .wmv (Windows Media Video): FFMPEG