MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Movie clips to Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73027] Re: Movie clips to Mathematica
  • From: Urijah Kaplan <uak at sas.upenn.edu>
  • Date: Tue, 30 Jan 2007 06:28:12 -0500 (EST)
  • Organization: University of Pennsylvania
  • References: <ephdvc$s4k$1@smc.vnet.net> <epkcq9$bq0$1@smc.vnet.net>

Two other Windows programs you can use are ffdshow (at least the recent 
build I have--check the "grab" filter) and TMPGEnc 4.0 XPress 
(Format->Sequential Still Pictures) TMPGEnc 4.0 supports WMV and MOV 
(ffdshow might also to some extent) and allows you to do batch encodes.

               --Urijah



Urijah Kaplan wrote:
> 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
>>
>>
> 


  • Prev by Date: Remote Kernel does nothing
  • Next by Date: Re: Irregular Behavior of TranslateShape and RotateShape with ParametricPlot3D
  • Previous by thread: Re: Movie clips to Mathematica
  • Next by thread: Numerical quantifier elimination