Save as Movie (Quicktime MOV, AVI, Windows Media WMV, MPEG4 MP4, and Flash FLV )--- ImageJ plugin

Description

The plugin saves current image stack as a movie file with common video formats like AVI, MOV(Quicktime), WMV(Window Media), MP4, FLV (Flash video).
It also supports composite image, overlay, and virtual stack (especially useful when processing huge image stack). 
It is similar to the plugins: QuickTime Movie Writer, and AVI Writer , but works on ImageJ running 64-bit Java, without the 31 characters filename limit and provides further choices of video codec and container.
The core encoding functions are provided by ffmpeg and OpenCV, and bridged with ImageJ via javacv.

Currently only MPEG4 (MPEG-4 part 2), FLV (Flash Video (FLV) / Sorenson Spark / Sorenson H.263), and WMV (Windows Media Video 7) codecs as well as uncompressed rawvideo are implemented. With ffmpeg, it is possible to implement more codecs if required.


System Requirement

 ImageJ 1.46d or above

Installation

Download the corresponding SaveAsMovie_xxx.jar and put it into ImageJ's plugins folder.
Then restart ImageJ or run "Refresh Menus".

You will find new commands in "File>Save As>Movie..."  and "Plugins>Input-Output>Save as Movie".

Windows machine only:
You might need to install the Microsoft Visual C++ 2010 redistributable package if you don't have the visual c++ runtime library (namely: msvcr100.dll, and msvcp100.dll )
It can be downloaded here : 32-bit (x86) , or 64-bit (x64)
32bit only:
Or you can
directly put the msvcp100.dll and msvcr100.dll into your ImageJ folder (ex: C:\Program Files\ImageJ\)

Video format suggestion

In general, if you have 3rd-party video player like VLC or mPlayer, all the provided codecs/ formats should be readable. For default system media player (Windows Media Player / Quicktime), WMV will be the safest format for window system and MPEG4 in mov should work for Macintosh.
About the video quality option, it is basically determined by the bitrate. If the preset doesn't give satisfactory quality, you can try to select the custom option and put in desired bitrate for video encoding (the higher the better qual
ty).

Updates

  • #2012/06/17: Add experimental H264 codec support (however, user have to install FFmpeg with libx264 support. )
  • #2012/07/17: Add low memory usage option

Known bugs

  • Under 64-bit windows, rawvideo not working (resulting in distorted images) . However, we can always use the AVI Writre plugin to export uncompressed raw avi video.
  • Under 32-bit windows MPEG4 codecs is not compatible with avi container (resulting in still frame video). Try to use mov or mp4 container (file format).

Contact

Any question or comment, please contact Qingzong TSENG (qztseng at gmail dot com).


Back to the main plugin page