Re: Importing Avi file
Posted by
Michael Schmid on
Aug 18, 2014; 2:34pm
URL: http://imagej.273.s1.nabble.com/Importing-Avi-file-tp5009247p5009255.html
Hi Anselim,
ImageJ cannot decode most compressed video formats. CRAM is Microsoft Video 1, which is an early lossy compression, not very popular in scientific image processing. I would suggest to convert it to something that can be read by ImageJ.
A nice tool for conversion (though command-line only) is ffmpeg. You can use it to convert most types of video to, e.g., NV12, which can be read by ImageJ and is still smaller than e.g. BMP files:
ffmpeg -i infile.avi -pix_fmt nv12 -f avi -vcodec rawvideo outfile.avi
Michael
________________________________________________________________
On Aug 18, 2014, at 12:08, Anselim wrote:
> Hello everyone,
>
> I recorded several .avi films via a high speed camera. However when I try to
> open these in ImageJ, I get the error message
>
> /An error occured reading the AVI file. Unsupported compresion: 4d415243
> 'CRAM'/
>
> I have tried to convert the files already several times but unfortunately,
> the problem remains. Does anyone have a suggestion on how I could solve it?
>
> Thanks in advance,
>
> Anselim.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html