Cinepak videos in ImageJ: FFmpeg conversion

ImageJ/FIJI cannot read Cinepak codec video files.

There are two plugins that attempt to address this for ImageJ: http://rsb.info.nih.gov/ij/plugins/jmf-player.html http://rsb.info.nih.gov/ij/plugins/jmf.html

But I found neither of them to work for me on the particular AVI Cinepak video I was given.

FFmpeg convert Cinepak

Instead, I used FFmpeg to convert to a more modern widely-compatible Motion JPEG format by typing:

ffmpeg -i video1990s.avi -vcodec mjpeg -qscale 1 test.avi

Uncompressed AVI output file size could be a factor of 10 larger than the Cinepak version:

ffmpeg -i video1990s.avi -vcodec rawvideo out.avi

Compress LOSSLESS FFV1:

ffmpeg -i video1990s.avi -vcodec ffv1 out.avi

You can also convert the AVI to a series of PNG images.

Leave a Comment