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

Home » Public Forums » archive » Re: MPEG to FITS CUBE
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: MPEG to FITS CUBE [message #53851] Sat, 05 May 2007 13:42
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
Hi Doug,

to my knowledge IDL does not provide direct support for reading MPEG.
However, there is some code around which provides this functionality, e.g.

http://www.tasc-infm.it/research/xstm/staff/heun/idl/pro_hel p.html#READ_MPEG

This is just a wrapper which calls external software to convert the
movie into a sequences of still images. I would do it using mplayer
which also offers jpeg as output format.

mplayer -vo jpeg hhh.avi

will generate still images which can be read with read_jpeg. For gray
scale images it is fairly easy to stack them into a FITS data cube. In
case of RGB frames one has to think of how to interleave them.

Perhaps you can be a bit more specific why do you want to do this
conversion?

with kind regards,

Bringfried




currie@umd.edu wrote:
> Do you know how I might convert an mpeg file (a video recording) into
> an fits cube?
> I have found many discussions on the reverse (IDL to mpeg) but none on
> mpeg to IDL/fits.
>
> Thanks
>
> Doug
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Degrade Satellite data in HDF format using IDL
Next Topic: Re: Degrade Satellite data in HDF format using IDL

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

Current Time: Sat Oct 11 11:52:35 PDT 2025

Total time taken to generate the page: 1.11950 seconds