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

Home » Public Forums » archive » Re: READING MPEG FILES
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: READING MPEG FILES [message #18805] Sat, 05 February 2000 00:00
Karri Kaksonen is currently offline  Karri Kaksonen
Messages: 27
Registered: October 1999
Junior Member
On Fri, 4 Feb 2000, Bruce Barrow wrote:
> I've found the various routines for animating an array of images and placing
> them into an MPEG file. How do I read an MPEG file into an array of images?
> How about the same with an AVI file?

IDL does not really do those video-conversions too well.

I have been using a package called MainActor on Linux and Windows.
It does the conversions between MPEG, AVI, DV, whatever.

The subprogram called VideoEditor will automatically create
names for all the frames like clip00010.jpg clip00011.jpg ...
So it is easy to read in them into IDL after the conversion.

This program can also handle non-standard image sizes, it emulates
hw-codecs in software (miro-cards, DV-format etc.).

The Linux version even has a shell tool mode that will do the
conversions from scripts.

The package is commercial but cheap. When you get a $85 license you
can run it on any OS that it supports.

It is also a full-fledged video editor with a lot of bells and
whistles. This package has become one of my favourite tools
for doing web-animations.

--
Regards,

Karri
Re: READING MPEG FILES [message #18806 is a reply to message #18805] Sat, 05 February 2000 00:00 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Bruce Barrow <bjbarrow@erols.com> wrote in message
news:87g47f$757$1@bob.news.rcn.net...
> I've found the various routines for animating an array of images and
placing
> them into an MPEG file. How do I read an MPEG file into an array of
images?
> How about the same with an AVI file?

I think that IDL can only *write* MPEG files: it cannot *read* them.

You might be able to convert an MPEG file to a sequence of images (e.g.
JPEG) using ImageMagick:
http://www.wizards.dupont.com/cristy/ImageMagick.html

I don't think IDL supports AVI files at all.

Cheers,
Liam.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: View 24-bit images
Next Topic: test

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

Current Time: Wed Oct 08 19:46:33 PDT 2025

Total time taken to generate the page: 0.00615 seconds