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

Home » Public Forums » archive » Re: creating MPEG 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: creating MPEG in IDL [message #51747] Wed, 06 December 2006 16:15 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> I don't have a license for IDLgrMPEG so I can't test this out :(

Licenses are free for the asking.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: creating MPEG in IDL [message #51748 is a reply to message #51747] Wed, 06 December 2006 16:12 Go to previous messageGo to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
how is IDLgrMPEG different than mpeg_put? They are not the same
fundamental back end that does the writing?

I don't have a license for IDLgrMPEG so I can't test this out :(

Brian
Re: creating MPEG in IDL [message #51749 is a reply to message #51748] Wed, 06 December 2006 14:47 Go to previous messageGo to next message
Kenneth Bowman is currently offline  Kenneth Bowman
Messages: 86
Registered: November 2006
Member
In article <1165444518.289665.290400@f1g2000cwa.googlegroups.com>,
"kostis" <kostiskaz@gmail.com> wrote:

> I have a sequence of plots which i want to convert to an mpg video
> However, the quality of the mpg created is very bad in comparison to my
> plots.
> How can i increase resolution??
> So far i only managed to change the x and y size of my picture.
>
> I use the following code:
>
> nfr=frames
> xsize=1000
> ysize=1000
> mpegID=MPEG_OPEN([xsize,ysize])
> ......
> (here i do the plotting)
> ......
> mpeg_put,mpegID,WINDOW=0,FRAME=it-1,order=1
> endfor
> MPEG_SAVE,mpegID,FILENAME='movie.mpg'
> MPEG_CLOSE,mpegID
>
> Thanx in advance!!

Here are some suggestions aimed at Macs running OS X, but some of this
software runs on other systems as well

http://idl.tamu.edu/mactips/movies.php

Ken Bowman
Re: creating MPEG in IDL [message #51756 is a reply to message #51749] Wed, 06 December 2006 15:34 Go to previous messageGo to next message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Wed, 06 Dec 2006 14:35:18 -0800, kostis wrote:

> I have a sequence of plots which i want to convert to an mpg video
> However, the quality of the mpg created is very bad in comparison to my
> plots.
> How can i increase resolution??
> So far i only managed to change the x and y size of my picture.
>
> I use the following code:
>
> nfr=frames
> xsize=1000
> ysize=1000
> mpegID=MPEG_OPEN([xsize,ysize])
> ......
> (here i do the plotting)
> ......
> mpeg_put,mpegID,WINDOW=0,FRAME=it-1,order=1
> endfor
> MPEG_SAVE,mpegID,FILENAME='movie.mpg'
> MPEG_CLOSE,mpegID
>
> Thanx in advance!!

You might try using the IDLgrMPEG object and set FORMAT to 1 to get MPEG2.

Karl
Re: creating MPEG in IDL [message #51758 is a reply to message #51749] Wed, 06 December 2006 15:04 Go to previous messageGo to next message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
In my experience the best thing is to write out each image to jpg, gif,
png whatever with numeric names and then use quicktime pro (yes its $30
but it does the best job). One can also use ImageMagick and a few
others. I think this was mentioned recently do a quick search of the
usenet group.

Cheers,

Brian

On Dec 6, 3:35 pm, "kostis" <kostis...@gmail.com> wrote:
> I have a sequence of plots which i want to convert to an mpg video
> However, the quality of the mpg created is very bad in comparison to my
> plots.
> How can i increase resolution??
> So far i only managed to change the x and y size of my picture.
>
> I use the following code:
>
> nfr=frames
> xsize=1000
> ysize=1000
> mpegID=MPEG_OPEN([xsize,ysize])
> ......
> (here i do the plotting)
> ......
> mpeg_put,mpegID,WINDOW=0,FRAME=it-1,order=1
> endfor
> MPEG_SAVE,mpegID,FILENAME='movie.mpg'
> MPEG_CLOSE,mpegID
>
> Thanx in advance!!
Re: creating MPEG in IDL [message #51823 is a reply to message #51748] Thu, 07 December 2006 10:07 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Wed, 06 Dec 2006 16:12:42 -0800, Brian Larsen wrote:

> how is IDLgrMPEG different than mpeg_put? They are not the same
> fundamental back end that does the writing?

The mpeg_* functions are just "procedural" wrappers around the IDLgrMPEG
object. Unfortunately, mpeg_open doesn't let you change the IDLgrMPEG
FORMAT property, which is why I suggested using the object interface.

Karl
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Returning Land Type
Next Topic: Testing validity of numerical content of a string

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

Current Time: Wed Oct 08 13:53:06 PDT 2025

Total time taken to generate the page: 0.00711 seconds