Video

Revision as of 12:20, 22 March 2019 by Rueden (talk | contribs) (Add note about files larger than 4GB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Formats
Bio-Formats
Video formats
QuickTime
TIFF
PDF
DICOM
Zeiss LSM
Olympus VSI
Opera Flex
All I/O plugins

Out of the box, ImageJ has limited support for some video formats such as AVI and QuickTime.

Plugins

There are several ways to enable support for more video formats:

  • Bio-Formats includes support for reading additional codecs for some video formats. See the Bio-Formats AVI and QuickTime pages for the list of supported codecs. Bio-Formats is included with the Fiji distribution of ImageJ.
  • For exporting video, you could try the Save As Movie plugin. Unfortunately, there is no update site for it; you must perform a complex installation procedure manually.

Transcoding

Another strategy is to transcode your video to an uncompressed format using a tool such as QuickTime Pro, VirtualDub or FFmpeg on the command line. The uncompressed video stream can then easily be opened in ImageJ without the need for additional plugins. Similarly, for saving video, you can write to an uncompressed format, then compress it afterward using an external tool.

For files larger than 4GB, you may run into trouble with otherwise excellent transcoders like FFmpeg. For cases like that, check out media player and the k-lite codec pack.

Future directions

The SCIFIO-JavaCV project will offer out-of-the-box support for video formats supported by OpenCV including those supported by FFmpeg. At the moment, the SCIFIO-JavaCV project is inactive due to lack of development resources.