exception when drag-and-dropping AVI

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

exception when drag-and-dropping AVI

Rodrigo Gonçalves
I have an AVI file, created with ImageJ:https://www.dropbox.com/s/encwi8sohj0rmfb/Result%20of%20video_013.avi?dl=0

When I drag-and-drop it into ImageJ, I get the following exception (see below)
ImageJ opens the file anyway, but, is there something wrong with one of the plugins or ImageJ?
Rodrigo

/// --- start of file Exception.txt(Fiji Is Just) ImageJ 2.0.0-rc-15/1.49k; Java 1.6.0_24 [64-bit]; Windows 7 6.1; 470MB of 2500MB (18%)
 
java.io.IOException: io.scif.img.ImgIOException: java.io.IOException: io.scif.UnsupportedCompressionException: 543649392 not supported

    at net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:273)

    at net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:250)

    at net.imagej.io.DatasetIOPlugin.open(DatasetIOPlugin.java:78)

    at net.imagej.io.DatasetIOPlugin.open(DatasetIOPlugin.java:50)

    at net.imagej.legacy.plugin.DefaultLegacyOpener.open(DefaultLegacyOpener.java:134)

    at net.imagej.legacy.DefaultLegacyHooks.interceptDragAndDropFile(DefaultLegacyHooks.java:358)

    at ij.plugin.DragAndDrop.openFile(DragAndDrop.java)

    at ij.plugin.DragAndDrop.run(DragAndDrop.java:152)

    at java.lang.Thread.run(Thread.java:662)

Caused by: io.scif.img.ImgIOException: java.io.IOException: io.scif.UnsupportedCompressionException: 543649392 not supported

    at io.scif.img.ImgOpener.createReader(ImgOpener.java:551)

    at io.scif.img.ImgOpener.openImgs(ImgOpener.java:144)

    at net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:266)

    ... 8 more

Caused by: java.io.IOException: io.scif.UnsupportedCompressionException: 543649392 not supported

    at io.scif.AbstractReader.setSource(AbstractReader.java:274)

    at io.scif.services.DefaultInitializeService.initializeReader(DefaultInitializeService.java:90)

    at io.scif.img.ImgOpener.createReader(ImgOpener.java:542)

    ... 10 more

Caused by: io.scif.UnsupportedCompressionException: 543649392 not supported

    at io.scif.formats.AVIFormat$Parser.readChunk(AVIFormat.java:667)

    at io.scif.formats.AVIFormat$Parser.typedParse(AVIFormat.java:471)

    at io.scif.formats.AVIFormat$Parser.typedParse(AVIFormat.java:445)

    at io.scif.AbstractParser.parse(AbstractParser.java:252)

    at io.scif.AbstractParser.parse(AbstractParser.java:335)

    at io.scif.AbstractParser.parse(AbstractParser.java:52)

    at io.scif.AbstractReader.setSource(AbstractReader.java:270)

    ... 12 more



/// --- end of file Exception.txt

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

Re: exception when drag-and-dropping AVI

ctrueden
Hi Rodrigo,

> When I drag-and-drop it into ImageJ, I get the following exception
> (see below) ImageJ opens the file anyway, but, is there something
> wrong with one of the plugins or ImageJ?

Thanks for the report!

You can get rid of the error by disabling SCIFIO:
   http://imagej.net/SCIFIO

The reason the file opens anyway is because ImageJ 1.x's built in AVI
support successfully handles the file after SCIFIO gives up.

I filed an issue on the SCIFIO bug tracker for it:
https://github.com/scifio/scifio/issues/232

Regards,
Curtis

On Tue, Nov 11, 2014 at 10:17 PM, Rodrigo Gonçalves <
[hidden email]> wrote:

> I have an AVI file, created with ImageJ:
> https://www.dropbox.com/s/encwi8sohj0rmfb/Result%20of%20video_013.avi?dl=0
>
> When I drag-and-drop it into ImageJ, I get the following exception (see
> below)
> ImageJ opens the file anyway, but, is there something wrong with one of
> the plugins or ImageJ?
> Rodrigo
>
> /// --- start of file Exception.txt(Fiji Is Just) ImageJ
> 2.0.0-rc-15/1.49k; Java 1.6.0_24 [64-bit]; Windows 7 6.1; 470MB of 2500MB
> (18%)
>
> java.io.IOException: io.scif.img.ImgIOException: java.io.IOException:
> io.scif.UnsupportedCompressionException: 543649392 not supported
>
>     at
> net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:273)
>
>     at
> net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:250)
>
>     at net.imagej.io.DatasetIOPlugin.open(DatasetIOPlugin.java:78)
>
>     at net.imagej.io.DatasetIOPlugin.open(DatasetIOPlugin.java:50)
>
>     at
> net.imagej.legacy.plugin.DefaultLegacyOpener.open(DefaultLegacyOpener.java:134)
>
>     at
> net.imagej.legacy.DefaultLegacyHooks.interceptDragAndDropFile(DefaultLegacyHooks.java:358)
>
>     at ij.plugin.DragAndDrop.openFile(DragAndDrop.java)
>
>     at ij.plugin.DragAndDrop.run(DragAndDrop.java:152)
>
>     at java.lang.Thread.run(Thread.java:662)
>
> Caused by: io.scif.img.ImgIOException: java.io.IOException:
> io.scif.UnsupportedCompressionException: 543649392 not supported
>
>     at io.scif.img.ImgOpener.createReader(ImgOpener.java:551)
>
>     at io.scif.img.ImgOpener.openImgs(ImgOpener.java:144)
>
>     at
> net.imagej.DefaultDatasetService.open(DefaultDatasetService.java:266)
>
>     ... 8 more
>
> Caused by: java.io.IOException: io.scif.UnsupportedCompressionException:
> 543649392 not supported
>
>     at io.scif.AbstractReader.setSource(AbstractReader.java:274)
>
>     at
> io.scif.services.DefaultInitializeService.initializeReader(DefaultInitializeService.java:90)
>
>     at io.scif.img.ImgOpener.createReader(ImgOpener.java:542)
>
>     ... 10 more
>
> Caused by: io.scif.UnsupportedCompressionException: 543649392 not supported
>
>     at io.scif.formats.AVIFormat$Parser.readChunk(AVIFormat.java:667)
>
>     at io.scif.formats.AVIFormat$Parser.typedParse(AVIFormat.java:471)
>
>     at io.scif.formats.AVIFormat$Parser.typedParse(AVIFormat.java:445)
>
>     at io.scif.AbstractParser.parse(AbstractParser.java:252)
>
>     at io.scif.AbstractParser.parse(AbstractParser.java:335)
>
>     at io.scif.AbstractParser.parse(AbstractParser.java:52)
>
>     at io.scif.AbstractReader.setSource(AbstractReader.java:270)
>
>     ... 12 more
>
>
>
> /// --- end of file Exception.txt
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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