Cannot open .avi files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot open .avi files

Audrey O'Neill
Hi -

I am using Fiji version 1.48e to open .avi files (2 channels, ~190 frames, ~100 MB). I have tried both File>Open and File>Import>AVI, and I keep getting the same error message:
 
java.awt.image.RasterFormatException: Data array too small (should be > 3999999 )
        at sun.awt.image.IntegerComponentRaster.verify(IntegerComponentRaster.java:698)
        at sun.awt.image.IntegerComponentRaster.<init>(IntegerComponentRaster.java:192)
        at sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:109)
        at sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:76)
        at java.awt.image.Raster.createWritableRaster(Raster.java:991)
        at ij.process.ColorProcessor.createBufferedImage(ColorProcessor.java:84)
        at ij.process.ColorProcessor.createImage(ColorProcessor.java:65)
        at ij.ImagePlus.getImage(ImagePlus.java:436)
        at ij.ImagePlus.show(ImagePlus.java:376)
        at ij.io.Opener.open(Opener.java:151)
        at ij.io.Opener.open(Opener.java:70)
        at ij.plugin.Commands.run(Commands.java:27)
        at ij.IJ.runPlugIn(IJ.java:166)
        at ij.Executer.runCommand(Executer.java:131)
        at ij.Executer.run(Executer.java:64)
        at java.lang.Thread.run(Thread.java:695)

I've tried this with both on Mac OSX 10.7.5 and Windows 7. Any tips on what I'm doing wrong would be greatly appreciated.

Thanks!
Audrey

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open .avi files

ctrueden
Hi Audrey,

Did you try File > Import > Bio-Formats as well?

If you still have a problem, can you post the AVI file somewhere?

Thanks,
Curtis


On Thu, Oct 24, 2013 at 4:55 PM, Audrey O'Neill <[hidden email]>wrote:

> Hi -
>
> I am using Fiji version 1.48e to open .avi files (2 channels, ~190 frames,
> ~100 MB). I have tried both File>Open and File>Import>AVI, and I keep
> getting the same error message:
>
> java.awt.image.RasterFormatException: Data array too small (should be >
> 3999999 )
>         at
> sun.awt.image.IntegerComponentRaster.verify(IntegerComponentRaster.java:698)
>         at
> sun.awt.image.IntegerComponentRaster.<init>(IntegerComponentRaster.java:192)
>         at
> sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:109)
>         at
> sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:76)
>         at java.awt.image.Raster.createWritableRaster(Raster.java:991)
>         at
> ij.process.ColorProcessor.createBufferedImage(ColorProcessor.java:84)
>         at ij.process.ColorProcessor.createImage(ColorProcessor.java:65)
>         at ij.ImagePlus.getImage(ImagePlus.java:436)
>         at ij.ImagePlus.show(ImagePlus.java:376)
>         at ij.io.Opener.open(Opener.java:151)
>         at ij.io.Opener.open(Opener.java:70)
>         at ij.plugin.Commands.run(Commands.java:27)
>         at ij.IJ.runPlugIn(IJ.java:166)
>         at ij.Executer.runCommand(Executer.java:131)
>         at ij.Executer.run(Executer.java:64)
>         at java.lang.Thread.run(Thread.java:695)
>
> I've tried this with both on Mac OSX 10.7.5 and Windows 7. Any tips on
> what I'm doing wrong would be greatly appreciated.
>
> Thanks!
> Audrey
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Cannot open .avi files

Rasband, Wayne (NIH/NIMH) [E]
In reply to this post by Audrey O'Neill
On Oct 24, 2013, at 5:55 PM, Audrey O'Neill wrote:

> Hi -
>
> I am using Fiji version 1.48e to open .avi files (2 channels, ~190 frames, ~100 MB). I have tried both File>Open and File>Import>AVI, and I keep getting the same error message:
>
> java.awt.image.RasterFormatException: Data array too small (should be > 3999999 )

Thanks to Michael Schmid, this bug is fixed in ImageJ 1.48f.

-wayne


> at sun.awt.image.IntegerComponentRaster.verify(IntegerComponentRaster.java:698)
> at sun.awt.image.IntegerComponentRaster.<init>(IntegerComponentRaster.java:192)
> at sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:109)
> at sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:76)
> at java.awt.image.Raster.createWritableRaster(Raster.java:991)
> at ij.process.ColorProcessor.createBufferedImage(ColorProcessor.java:84)
> at ij.process.ColorProcessor.createImage(ColorProcessor.java:65)
> at ij.ImagePlus.getImage(ImagePlus.java:436)
> at ij.ImagePlus.show(ImagePlus.java:376)
> at ij.io.Opener.open(Opener.java:151)
> at ij.io.Opener.open(Opener.java:70)
> at ij.plugin.Commands.run(Commands.java:27)
> at ij.IJ.runPlugIn(IJ.java:166)
> at ij.Executer.runCommand(Executer.java:131)
> at ij.Executer.run(Executer.java:64)
> at java.lang.Thread.run(Thread.java:695)
>
> I've tried this with both on Mac OSX 10.7.5 and Windows 7. Any tips on what I'm doing wrong would be greatly appreciated.
>
> Thanks!
> Audrey

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html