converting movies

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

converting movies

Bill Saidel
Morning all,

  How does one convert a *.wmv, *.mpg or *.avi segment into a stack?  
Is there a plug-in I missed or do I have to go to an expensive Adobe  
program to do that?

Thanks in advance,

Bill Saidel
Biology
Rutgers University-Camden campus
Reply | Threaded
Open this post in threaded view
|

Re: converting movies

Justin Walker-3
Depending on the codec used to write it, .avi files should be able to be
opened natively in ImageJ using the File->Import->AVI dialog.  For other
file types, or avi files ImgeJ cannot decode, I recommend VirtualDub -
it's a freeware basic video editing program.  Open your video in
Virtualdub, then go to File_>Export->Image Sequence.  You can then open
that image sequence as a stack in ImageJ.

Hope that helps.

- Justin Walker
University of Maryland

Bill Saidel wrote:

> Morning all,
>
>  How does one convert a *.wmv, *.mpg or *.avi segment into a stack?  
> Is there a plug-in I missed or do I have to go to an expensive Adobe
> program to do that?
>
> Thanks in advance,
>
> Bill Saidel
> Biology
> Rutgers University-Camden campus
Reply | Threaded
Open this post in threaded view
|

Re: converting movies

Mark Longair-2
Justin Walker <[hidden email]> wrote:
>
> Depending on the codec used to write it, .avi files should be able to
> be opened natively in ImageJ using the File->Import->AVI dialog.  For
> other file types, or avi files ImgeJ cannot decode, I recommend
> VirtualDub -
> it's a freeware basic video editing program.  Open your video in
> Virtualdub, then go to File_>Export->Image Sequence.  You can then
> open that image sequence as a stack in ImageJ.

Another option if ImageJ won't import the movie file is to use
ffmpeg to unpack it to PNG files, e.g.:

  ffmpeg -i awkward.avi -f image2 -vcodec png extracted-%03d.png

...and then use ImageJ's Import -> Image Sequence.

regards,
mark