QuickTime
Formats | |
---|---|
Bio-Formats | |
Video formats | |
QuickTime | |
TIFF | |
DICOM | |
Zeiss LSM | |
Olympus VSI | |
Opera Flex | |
All I/O plugins |
The QuickTime movie format is a multimedia container format with extension .mov
.
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.
Contents
Bio-Formats
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, OS X, 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 OS X platforms, and only when running a 32-bit version of Java. On OS X, this means using Apple Java 6.
Enabling QuickTime for Java on OS X
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 QTJava.zip
and libQTJNative.jnilib
, available here, into ~/Library/Java/Extensions
, where ~
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 ~/Library/Java
and ~/Library/Java/Extensions
folders.
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/download/qt/$f -o $HOME/Library/Java/Extensions/$f; done
FFMPEG
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, OS X and Linux platforms, but not other platforms (AIX, Solaris, etc.).
See the FFMPEG supported codecs page for a list of supported codecs.
External conversion
You can use a video conversion tool such as HandBrake, VLC, libav, ffmpeg or VirtualDub to convert your MOV files into a different format which ImageJ is able to read more easily.