Re: Two questions (about Mpeg and Networking) [message #36155] |
Wed, 20 August 2003 13:09 |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"Sangwoo" wrote in message
...
> Hi, everybody! I've got a question concerning MPEG files. Is it
> possible to extract each frame from an MPEG file in IDL? I mean the
> reverse process of making an MPEG file. If an MPEG file is made of 100
> frames, I wonder if it's possible to extract all those 100 frame
> images. I heard that it's possible using external linking with other
> non-IDL routines, but I'm not sure about it.
The short answer is no.
The long answer is not with MPEG files, but you can read .avi files on
windows machines using Oleg and Ronn's idl2avi package (www.kilvarock.com).
There are a number of free utilities that can convert from MPEG to avi which
you could use to convert your source file(s) for use with this method.
Another option (if you only have a single MPEG file) is to manually extract
using a software DVD player like WinDVD or PowerDVD. They tend to ship with
a very good decoder but you won't be able to get frame accurate extractions
since they will only queue at I-frames (an I-frame is like a key frame).
There are probably a number of other programs that can do this too, but most
will suffer from this same problem.
-Rick
|
|
|
Re: Two questions (about Mpeg and Networking) [message #36165 is a reply to message #36155] |
Wed, 20 August 2003 01:09  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Sangwoo wrote:
> Hi, everybody! I've got a question concerning MPEG files. Is it
> possible to extract each frame from an MPEG file in IDL? I mean the
> reverse process of making an MPEG file. If an MPEG file is made of 100
> frames, I wonder if it's possible to extract all those 100 frame
> images. I heard that it's possible using external linking with other
> non-IDL routines, but I'm not sure about it.
Dear Sangwoo
At the moment there is no idl Routine available to extract images from mpeg
files. This was one of the reasons I have set up our anim format.
> The other question is about file transfer via FTP or WWW. Is there a
> good way of data exchange via FTP or WWW with IDL? I want to download
> data from an FTP site or a Web site. Also I want to try to upload data
> reversely. Actually I used 'spawn' to activate FTP from DOS prompt. I
> know it's one way, but I wonder if there's built-in capability of data
> transfer in IDL itself.
This could be done by the socket command. You should do a google group
search about socket.
regards
Reimar
--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
|
|
|