how to import videos on imageJ?

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

how to import videos on imageJ?

lfgh85
Dear All,

I am a relatively new imageJ user. I am intending to import some videos to imageJ to perform a tracking analysis. Although I have followed the instructions to upload videos (avi in this case), like the ones posted here (http://rsbweb.nih.gov/ij/docs/guide/146-26.html), I receive the error attached below.

If somebody has a tutorial about how to upload videos or have some idea of the error I'm making I would really appreciate it.

Thanks in advance!

Error:

ImageJ 1.48v; Java 1.6.0_20 [64-bit]; Windows NT (unknown) 6.2; 12MB of 5525MB (<1%)
 
java.lang.UnsatisfiedLinkError: quicktime.QTSession.InitializeQTML(I)S
        at quicktime.QTSession.InitializeQTML(Native Method)
        at quicktime.QTSession.initialize(QTSession.java:413)
        at quicktime.QTSession.initialize(QTSession.java:385)
        at quicktime.QTSession.open(QTSession.java:638)
        at quicktime.QTSession.open(QTSession.java:606)
        at QuickTime_Capture.run(QuickTime_Capture.java:62)
        at ij.IJ.runUserPlugIn(IJ.java:199)
        at ij.IJ.runPlugIn(IJ.java:163)
        at ij.Executer.runCommand(Executer.java:131)
        at ij.Executer.run(Executer.java:64)
        at java.lang.Thread.run(Thread.java:619)
Reply | Threaded
Open this post in threaded view
|

Re: how to import videos on imageJ?

Michael Schmid
Hi anonymous,

it seems that either Quicktime is not installed on your computer or it is a version not compatible with the ImageJ version.
You could try running ImageJ with 32-bit Java; if this does not work, try to download BioFormats to import the movie.
  http://www.openmicroscopy.org/site/products/bio-formats
If everything fails, convert your movie to an image sequence or an uncompressed avi file using some external software like ffmpeg (command line) or some other video conversion software.

Michael
________________________________________________________________
On Aug 3, 2015, at 05:32, lfgh85 wrote:

> Dear All,
>
> I am a relatively new imageJ user. I am intending to import some videos to
> imageJ to perform a tracking analysis. Although I have followed the
> instructions to upload videos (avi in this case), like the ones posted here
> (http://rsbweb.nih.gov/ij/docs/guide/146-26.html), I receive the error
> attached below.
>
> If somebody has a tutorial about how to upload videos or have some idea of
> the error I'm making I would really appreciate it.
>
> Thanks in advance!
>
> Error:
>
> ImageJ 1.48v; Java 1.6.0_20 [64-bit]; Windows NT (unknown) 6.2; 12MB of
> 5525MB (<1%)
>
> java.lang.UnsatisfiedLinkError: quicktime.QTSession.InitializeQTML(I)S
> at quicktime.QTSession.InitializeQTML(Native Method)
> at quicktime.QTSession.initialize(QTSession.java:413)
> at quicktime.QTSession.initialize(QTSession.java:385)
> at quicktime.QTSession.open(QTSession.java:638)
> at quicktime.QTSession.open(QTSession.java:606)
> at QuickTime_Capture.run(QuickTime_Capture.java:62)
> at ij.IJ.runUserPlugIn(IJ.java:199)
> at ij.IJ.runPlugIn(IJ.java:163)
> at ij.Executer.runCommand(Executer.java:131)
> at ij.Executer.run(Executer.java:64)
> at java.lang.Thread.run(Thread.java:619)
>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/how-to-import-videos-on-imageJ-tp5013854.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> 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: how to import videos on imageJ?

lfgh85
Thanks Michael,

I tried using bioformats but still it is impossible. It says the format is not supported or does not load the video. If I use the method you suggest, will I be able to make an analysis like the one which appears here? https://www.youtube.com/watch?v=V9M0s0E-0uI

all the best!


2015-08-03 7:20 GMT-03:00 Michael Schmid-3 [via ImageJ] <[hidden email]>:
Hi anonymous,

it seems that either Quicktime is not installed on your computer or it is a version not compatible with the ImageJ version.
You could try running ImageJ with 32-bit Java; if this does not work, try to download BioFormats to import the movie.
  http://www.openmicroscopy.org/site/products/bio-formats
If everything fails, convert your movie to an image sequence or an uncompressed avi file using some external software like ffmpeg (command line) or some other video conversion software.

Michael
________________________________________________________________
On Aug 3, 2015, at 05:32, lfgh85 wrote:

> Dear All,
>
> I am a relatively new imageJ user. I am intending to import some videos to
> imageJ to perform a tracking analysis. Although I have followed the
> instructions to upload videos (avi in this case), like the ones posted here
> (http://rsbweb.nih.gov/ij/docs/guide/146-26.html), I receive the error
> attached below.
>
> If somebody has a tutorial about how to upload videos or have some idea of
> the error I'm making I would really appreciate it.
>
> Thanks in advance!
>
> Error:
>
> ImageJ 1.48v; Java 1.6.0_20 [64-bit]; Windows NT (unknown) 6.2; 12MB of
> 5525MB (<1%)
>
> java.lang.UnsatisfiedLinkError: quicktime.QTSession.InitializeQTML(I)S
> at quicktime.QTSession.InitializeQTML(Native Method)
> at quicktime.QTSession.initialize(QTSession.java:413)
> at quicktime.QTSession.initialize(QTSession.java:385)
> at quicktime.QTSession.open(QTSession.java:638)
> at quicktime.QTSession.open(QTSession.java:606)
> at QuickTime_Capture.run(QuickTime_Capture.java:62)
> at ij.IJ.runUserPlugIn(IJ.java:199)
> at ij.IJ.runPlugIn(IJ.java:163)
> at ij.Executer.runCommand(Executer.java:131)
> at ij.Executer.run(Executer.java:64)
> at java.lang.Thread.run(Thread.java:619)
>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/how-to-import-videos-on-imageJ-tp5013854.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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



If you reply to this email, your message will be added to the discussion below:
http://imagej.1557.x6.nabble.com/how-to-import-videos-on-imageJ-tp5013854p5013859.html
To unsubscribe from how to import videos on imageJ?, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: how to import videos on imageJ?

Michael Schmid
Hi lfgh85,

the analysis process with ImageJ is independent of whether you load the movie as quicktime, avi or whatever. If you have single frames in a folder, use File>Import>Image Sequence, it will also open the images as a stack.

Concerning the conversion:

If you have ffmpeg, a typical command might be
  ffmpeg -i INPUT.mov -pix_fmt nv12 -f avi -vcodec rawvideo OUTPUT.avi

Maybe first try whether VLC (www.videolan.org) can open your file; if it can't, ffmpeg usually won't do it either.

Michael
________________________________________________________________
On Aug 3, 2015, at 19:15, lfgh85 wrote:

> Thanks Michael,
>
> I tried using bioformats but still it is impossible. It says the format is
> not supported or does not load the video. If I use the method you suggest,
> will I be able to make an analysis like the one which appears here?
> https://www.youtube.com/watch?v=V9M0s0E-0uI
>
> all the best!
>
>
> 2015-08-03 7:20 GMT-03:00 Michael Schmid-3 [via ImageJ] <
> [hidden email]>:
>
>> Hi anonymous,
>>
>> it seems that either Quicktime is not installed on your computer or it is
>> a version not compatible with the ImageJ version.
>> You could try running ImageJ with 32-bit Java; if this does not work, try
>> to download BioFormats to import the movie.
>>  http://www.openmicroscopy.org/site/products/bio-formats
>> If everything fails, convert your movie to an image sequence or an
>> uncompressed avi file using some external software like ffmpeg (command
>> line) or some other video conversion software.
>>
>> Michael
>> ________________________________________________________________
>> On Aug 3, 2015, at 05:32, lfgh85 wrote:
>>
>>> Dear All,
>>>
>>> I am a relatively new imageJ user. I am intending to import some videos
>> to
>>> imageJ to perform a tracking analysis. Although I have followed the
>>> instructions to upload videos (avi in this case), like the ones posted
>> here
>>> (http://rsbweb.nih.gov/ij/docs/guide/146-26.html), I receive the error
>>> attached below.
>>>
>>> If somebody has a tutorial about how to upload videos or have some idea
>> of
>>> the error I'm making I would really appreciate it.
>>>
>>> Thanks in advance!
>>>
>>> Error:
>>>
>>> ImageJ 1.48v; Java 1.6.0_20 [64-bit]; Windows NT (unknown) 6.2; 12MB of
>>> 5525MB (<1%)
>>>
>>> java.lang.UnsatisfiedLinkError: quicktime.QTSession.InitializeQTML(I)S
>>> at quicktime.QTSession.InitializeQTML(Native Method)
>>> at quicktime.QTSession.initialize(QTSession.java:413)
>>> at quicktime.QTSession.initialize(QTSession.java:385)
>>> at quicktime.QTSession.open(QTSession.java:638)
>>> at quicktime.QTSession.open(QTSession.java:606)
>>> at QuickTime_Capture.run(QuickTime_Capture.java:62)
>>> at ij.IJ.runUserPlugIn(IJ.java:199)
>>> at ij.IJ.runPlugIn(IJ.java:163)
>>> at ij.Executer.runCommand(Executer.java:131)
>>> at ij.Executer.run(Executer.java:64)
>>> at java.lang.Thread.run(Thread.java:619)
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>> http://imagej.1557.x6.nabble.com/how-to-import-videos-on-imageJ-tp5013854.html
>>> Sent from the ImageJ mailing list archive at Nabble.com.
>>>
>>> --
>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://imagej.1557.x6.nabble.com/how-to-import-videos-on-imageJ-tp5013854p5013859.html
>> To unsubscribe from how to import videos on imageJ?, click here
>> <
>> .
>> NAML
>> <
http://imagej.1557.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/how-to-import-videos-on-imageJ-tp5013854p5013878.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> 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: how to import videos on imageJ?

Stéphane Dallongeville
In reply to this post by lfgh85
You can try to use Icy as it embed a plugin (based on the ffmpeg library) to import different kind of video. When you opened the video you can then save it as a TIFF image to open it with ImageJ or even better, directly convert it to an ImageJ image as you can use ImageJ directly through Icy.

Best,

- Stephane