The QuickTime movie format is a multimedia container format with extension
QuickTime MOV files come in many flavors, which are known as codecs. Whether you can open an MOV file in ImageJ will depend on several factors, including the codec used to store the movie, which version of which operating system you have, and which ImageJ plugin is used.
There are several ways to import MOV files into ImageJ, each discussed below.
The Bio-Formats library supports several, but not all, QuickTime codecs. It is written in pure Java, so those codecs will be readable within ImageJ on all platforms (Windows, macOS, Linux, etc.).
The Bio-Formats plugins are bundled with the Fiji distribution of ImageJ.
See the Bio-Formats QuickTime supported codecs page for a list of supported codecs.
QuickTime for Java
ImageJ has built-in support for MOV files, but only via the QuickTime for Java (QTJ) library, which is Apple’s library for reading and writing QuickTime files from Java. QTJ is only available on Windows and macOS platforms, and only when running a 32-bit version of Java. On macOS, this means using Apple Java 6.
Enabling QuickTime for Java on macOS
OS X 10.10 (Yosemite) and 10.11 (El Capitan) do not include key files required for running commands like File › Import › Using QuickTime and File › Save As › QuickTime Movie that use QuickTime for Java. You can work around this problem by copying the files
libQTJNative.jnilib, available here, into
~ is your home directory. Yosemite hides the
Library folder by default, so you will need to open your home folder and check “Show Library Folder” in the View › Show View Options dialog. Before copying the files, you will need to create the
You can accomplish all of the above by pasting the following command into a running Terminal:
mkdir -p $HOME/Library/Java/Extensions && for f in QTJava.zip libQTJNative.jnilib; do curl -fsSL https://imagej.net/ij/download/qt/$f -o $HOME/Library/Java/Extensions/$f; done
There is an update site called FFMPEG which enables support for opening movie files via the FFMPEG library. This update site ships native libraries, which should work on Windows, macOS and Linux platforms, but not other platforms (AIX, Solaris, etc.).
See the FFMPEG supported codecs page for a list of supported codecs.