f

#### RE: Re: Movie clips to Mathematica

```Many thanks to all, that helped!

Urijah: you are right about "time frame", it is skipping some fraction and
saving a frame. So I get a certain number of frames out of the video.

Robert

Robert Pigeon
TZ = -5

-----Message d'origine-----
De : Urijah Kaplan [mailto:uak@sas.upenn.edu]
Envoy� : Monday, January 29, 2007 03:56
� : mathgroup@smc.vnet.net
Objet :  Re: Movie clips to Mathematica

I don't think Mathematica can import video. I suggest you use a program
like VirtualDub that can save a video clip to image bitmaps. It even has a
command line version for doing batches (I have not tried that myself). You
can also write (or use others') scripts and filters for it. It only
handles AVI and MPG. You can probably use Quicktime or Quicktime Pro to
either save MOV as image bitmaps or to a format Virtualdub understands,
and perhaps a Windows Media Encoder program for WMV.

I don't know what you mean by "time frame"--skip a certain fraction and
save a frame? e.g. skip every third frame in a 30fps clip so you save
every tenth of a second?

--Urijah Kaplan

Robert Pigeon wrote:
> Greetings,
> 	Here is what I want to do:
>
> 1) I have video clips (*.avi or *.wmv or *.mov or whatever) that are about
2
> sec long
> 2) I need to analyze the video frame by frame (frames could be every 0.1
> sec)
> 3) The analysis is segementation to find the area of a portion of the
frame.
> The geometry is the same from frame to frame except that the area I need
to
> calculate shrinks from frame to frame.
>
> Questions:
>
> 1) can I "Import" a video clip into Mathematica ? (doc says *.gif but I
cant
> find anything else)
> 2) if so, how can I break the video into frames ?
> 2) if not possible, do you know of any program that could save a video
clip
> as frames (I would like to specify the time frame) ?
>
> Thanks,
>
> Robert
>
> Robert Pigeon
> TZ = -5
>
>

```
 0
2/1/2007 8:05:40 AM
comp.soft-sys.math.mathematica 28821 articles. 0 followers.

0 Replies
474 Views

Similar Articles

[PageSpeed] 13