Difference between revisions of "Video"

(Add note about files larger than 4GB)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
There are several ways to enable support for more video formats:
 
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 [https://www.openmicroscopy.org/site/support/bio-formats5.4/formats/avi.html AVI] and [https://www.openmicroscopy.org/site/support/bio-formats/formats/quicktime-movie.html QuickTime] pages for the list of supported codecs.
+
* [[Bio-Formats]] includes support for reading additional codecs for some video formats. See the Bio-Formats [https://www.openmicroscopy.org/site/support/bio-formats5.4/formats/avi.html AVI] and [https://www.openmicroscopy.org/site/support/bio-formats/formats/quicktime-movie.html QuickTime] pages for the list of supported codecs. Bio-Formats is included with the [[Fiji]] distribution of ImageJ.
  
 
* Enable the ''beta-quality'' FFMPEG [[update site]], which uses native bindings to the [[wikipedia:FFmpeg|FFmpeg]] library to read many video formats. The source code for this update site is [https://github.com/scifio/scifio-javacv/tree/ffmpeg embedded in the scifio-javacv history].
 
* Enable the ''beta-quality'' FFMPEG [[update site]], which uses native bindings to the [[wikipedia:FFmpeg|FFmpeg]] library to read many video formats. The source code for this update site is [https://github.com/scifio/scifio-javacv/tree/ffmpeg embedded in the scifio-javacv history].
Line 13: Line 13:
 
== Transcoding ==
 
== 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.
+
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 [https://www.videolan.org/vlc/VLC media player] and the [https://www.codecguide.com/download_kl.htm k-lite codec pack].
  
 
== Future directions ==
 
== Future directions ==

Latest revision as of 12:20, 22 March 2019

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.