error opening video file

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

error opening video file

Rodrigo Gonçalves
Dear all, I'm getting an error when trying to open a 16.7 MB mp4 file. See below information about the video file as shown by VLC:



When I try to open it using FFMPEG (Movie) option in Fiji, I get the following error:
— start of error message —(Fiji Is Just) ImageJ 2.0.0-rc-69/1.52t21; Java 1.8.0_172 [64-bit]; Linux 5.3.0-24-generic; 1733MB of 17321MB (10%)

java.lang.NullPointerException
at ij.VirtualStack.(VirtualStack.java:41)
at fiji.ffmpeg.IO$2.(IO.java:144)
at fiji.ffmpeg.IO.readMovie(IO.java:144)
at fiji.ffmpeg.Importer.run(Importer.java:45)
at ij.IJ.runUserPlugIn(IJ.java:233)
at ij.IJ.runPlugIn(IJ.java:196)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at java.lang.Thread.run(Thread.java:748)
– end of error message —

Info about my system:Kernel: Linux user01-pc 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Memory: using 4231088 of a total of 24507472 (as reported by ‘free’ command)

Any help is welcome, thanks!!Rodrigo



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

1578410490540blob.jpg (38K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: error opening video file

Curtis Rueden-2
Hi Rodrigo,

Thanks for the bug report!

Wayne: It looks like the FFMPEG plugin code passes a null path to the
VirtualStack constructor; see:

https://github.com/scifio/scifio-javacv/blob/ffmpeg/plugin/src/main/java/fiji/ffmpeg/IO.java#L151

Would it be possible to update the VirtualStack code to handle null paths
gracefully?

Regards,
Curtis

--
Curtis Rueden
Software architect, LOCI/Eliceiri lab - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Have you tried the Image.sc Forum? https://forum.image.sc/



On Wed, Jan 8, 2020 at 4:25 AM Rodrigo Gonçalves <
[hidden email]> wrote:

> Dear all, I'm getting an error when trying to open a 16.7 MB mp4 file. See
> below information about the video file as shown by VLC:
>
>
>
> When I try to open it using FFMPEG (Movie) option in Fiji, I get the
> following error:
> — start of error message —(Fiji Is Just) ImageJ 2.0.0-rc-69/1.52t21; Java
> 1.8.0_172 [64-bit]; Linux 5.3.0-24-generic; 1733MB of 17321MB (10%)
>
> java.lang.NullPointerException
> at ij.VirtualStack.(VirtualStack.java:41)
> at fiji.ffmpeg.IO$2.(IO.java:144)
> at fiji.ffmpeg.IO.readMovie(IO.java:144)
> at fiji.ffmpeg.Importer.run(Importer.java:45)
> at ij.IJ.runUserPlugIn(IJ.java:233)
> at ij.IJ.runPlugIn(IJ.java:196)
> at ij.Executer.runCommand(Executer.java:150)
> at ij.Executer.run(Executer.java:68)
> at java.lang.Thread.run(Thread.java:748)
> – end of error message —
>
> Info about my system:Kernel: Linux user01-pc 5.3.0-24-generic #26-Ubuntu
> SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> Memory: using 4231088 of a total of 24507472 (as reported by ‘free’
> command)
>
> Any help is welcome, thanks!!Rodrigo
>
>
>
> --
> 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: error opening video file

Wayne Rasband-2
In reply to this post by Rodrigo Gonçalves
> On Jan 7, 2020, at 10:24 AM, Rodrigo Gonçalves <[hidden email]> wrote:
>
> Dear all, I'm getting an error when trying to open a 16.7 MB mp4 file. See below information about the video file as shown by VLC:
>
> When I try to open it using FFMPEG (Movie) option in Fiji, I get the following error:

This 1.52q regression is fixed in the latest ImageJ daily build (1.52t23).

-wayne

> — start of error message —(Fiji Is Just) ImageJ 2.0.0-rc-69/1.52t21; Java 1.8.0_172 [64-bit]; Linux 5.3.0-24-generic; 1733MB of 17321MB (10%)
>
> java.lang.NullPointerException
> at ij.VirtualStack.(VirtualStack.java:41)
> at fiji.ffmpeg.IO$2.(IO.java:144)
> at fiji.ffmpeg.IO.readMovie(IO.java:144)
> at fiji.ffmpeg.Importer.run(Importer.java:45)
> at ij.IJ.runUserPlugIn(IJ.java:233)
> at ij.IJ.runPlugIn(IJ.java:196)
> at ij.Executer.runCommand(Executer.java:150)
> at ij.Executer.run(Executer.java:68)
> at java.lang.Thread.run(Thread.java:748)
> – end of error message —
>
> Info about my system:Kernel: Linux user01-pc 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> Memory: using 4231088 of a total of 24507472 (as reported by ‘free’ command)
>
> Any help is welcome, thanks!!Rodrigo

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

Re: error opening video file

Rodrigo Gonçalves
Works like a charm now, thanks!! - Rodrigo________________________

    On Thursday, 9 January 2020, 00:24:33 GMT-3, Wayne Rasband <[hidden email]> wrote:  
 
 > On Jan 7, 2020, at 10:24 AM, Rodrigo Gonçalves <[hidden email]> wrote:
>
> Dear all, I'm getting an error when trying to open a 16.7 MB mp4 file. See below information about the video file as shown by VLC:
>
> When I try to open it using FFMPEG (Movie) option in Fiji, I get the following error:

This 1.52q regression is fixed in the latest ImageJ daily build (1.52t23).

-wayne

> — start of error message —(Fiji Is Just) ImageJ 2.0.0-rc-69/1.52t21; Java 1.8.0_172 [64-bit]; Linux 5.3.0-24-generic; 1733MB of 17321MB (10%)
>
> java.lang.NullPointerException
> at ij.VirtualStack.(VirtualStack.java:41)
> at fiji.ffmpeg.IO$2.(IO.java:144)
> at fiji.ffmpeg.IO.readMovie(IO.java:144)
> at fiji.ffmpeg.Importer.run(Importer.java:45)
> at ij.IJ.runUserPlugIn(IJ.java:233)
> at ij.IJ.runPlugIn(IJ.java:196)
> at ij.Executer.runCommand(Executer.java:150)
> at ij.Executer.run(Executer.java:68)
> at java.lang.Thread.run(Thread.java:748)
> – end of error message —
>
> Info about my system:Kernel: Linux user01-pc 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> Memory: using 4231088 of a total of 24507472 (as reported by ‘free’ command)
>
> Any help is welcome, thanks!!Rodrigo

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

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