comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: [Q] how to make mpeg/fli movies in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: [Q] how to make mpeg/fli movies in IDL [message #6007] Fri, 12 April 1996 00:00
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
In article
<Pine.SOL.3.91.960412112621.22130H-100000@Julius.atm.ch.cam.ac.uk>, Iarla
Kilbane-Dawe <iarla@atm.ch.cam.ac.uk> wrote:

> Ddoes anyone know of any routines for producing mpeg or fli movies
> in IDL?

This may not be of any use to you, but here is how to make QuickTime
movies from IDL using a Mac. (If anyone knows an easier way, please let
me know).

1. Generate a series of frames in IDL. (I use the X device because it
has reasonable font control. Draw the image. Do a TVRD. Write the
resulting byte array to a file.) Write each frame into a separate file in
an empty directory. Names must be something like frame.001, frame.002,
...

2. Ftp the files to a Mac or mount the disk with NFS or Appleshare.
Using Spyglass Transform or View, do 'Animate From Disk'.

3. Do 'Save As...' and save the frames as a PICS file. Note, PICS files
can be no larger than 16 MB, but they are compressed.

4. Use MovieConverter or the equivalent to open the PICS file. Save
using your favorite compression scheme. For animated 'line graphs', I
prefer the Apple Graphics compressor. It is lossless (with the right
settings) and usually gives good compression. The playback framerate that
you will achieve will depend on the Mac you play it on. 10 fps for a
600x350 image is usually pretty easy to get on a 68040 machine. You can
force QuickTime to display everyframe.

You can record the QT movie to videotape (typically NTSC in this country),
but quality will suffer severely. I find it is much better to use a
laptop to play movies on a computer projector than it is to make
videotape.

I think there are MPEG compressors for QuickTime, but I have not used them
since MPEG is designed for video ('real world' images) and does poorly on
line art.

Hope this is of use.

Regards, Ken Bowman

--
Kenneth P. Bowman, Assoc. Prof. 409-862-4060
Department of Meteorology 409-862-4132 fax
Texas A&M University bowman@csrp.tamu.edu
College Station, TX 77843-3150
Satellite ozone movies on CD-ROM --> http://www.lenticular.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL procedures to get theromdynamic parameters from Soundings
Next Topic: TLE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:08:14 PDT 2025

Total time taken to generate the page: 0.00721 seconds