Re: importing avi files
- To: mathgroup at smc.vnet.net
- Subject: [mg79873] Re: importing avi files
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 7 Aug 2007 01:36:02 -0400 (EDT)
- Organization: Uni Leipzig
- References: <f96jd0$q8k$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, the Java Media Framework has some problems to import certain AVI files. But it can import files that are not generated by Mathematica or the Media Framework. Reencode the files with VirtualDub helps, and if not you can export the frame sequence with Virtual Dub. The memory depend on the movie -- a 320 x 240 movie will need four times less memory than a standard VGA movie and you should keep in mind that Mathematica store the bitmaps as Integer (32 bit) and not as bytes as the usual bitmap formats do, so you need four times more memory for the bitmap just to store it in Matheamtica. Regards Jens zzzz wrote: > I keep getting this message: > > Import::installreq: Codec is supported only if Java Media Framework \ > Performance Pack is installed. >> > > Well I believe it's installed. and the diagnostic applet online says > so. > > I've been using this line of code. > > pics = Import["Movie.avi", "GraphicsList"]; > > The Movie.avi is an avi file on my working directory. > > I don't seem to have a problem importing avi files that were exported > from > Mathematica. > > I have uninstalled and reinstalled the java media framework several > times. > but no good. > Often the program keeps running but I get the out of memory message. > So maybe files to big? > How many frames does the average laptop handle? > > Are other people able to import avi films not generated by > Mathematica? > Any Ideas? > >