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

Home » Public Forums » archive » Re: improving animation/mpeg quality
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: improving animation/mpeg quality [message #27680] Mon, 05 November 2001 08:43
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
We added a bunch of new controls for generating MPEG files. I think these
were added in IDL 5.4.

They include QUALITY (was there before 5.4 I think), BITRATE, IFRAME_GAP,
and MOTION_VEC_LENGTH.

These should be available if you use the MPEG_OPEN and MPEG_PUT routines.
They are also available in the IDLgrMPEG object, since MPEG_OPEN and
MPEG_PUT are just wrappers for the IDLgrMPEG object. The best place to find
documentation for these features are the docs for the IDLgrMPEG object.

Karl

"Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
news:slrn9u6gr0.j73.nobody@pooh.nrel.gov...
> On 2 Nov 2001 10:48:45 -0800, Patrick McEnaney <patrick@es.ucsc.edu>
wrote:
>> Is there a way to
>> improve MPEG quality, and control the speed of the loop? IDL seems
>> pretty short on control statements for MPEGs.
>>
>> Regards,
>>
>> Patrick
>
> From within IDL, there is only the quality factor you mention, to my
knowledge.
Re: improving animation/mpeg quality [message #27687 is a reply to message #27680] Sat, 03 November 2001 04:26 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Patrick McEnaney wrote:
>
> Folks-
>
> I've written a simple animation code to cycle through a directory of
> SST png files. Using XINTERANIMATE, the quality of the loop is pretty
> good, especially if I manually set the MPEG quality to 100%. There is
> a problem with the landmass being the wrong color but I can live with
> this. The problem is when I write the loop to an MPEG file, the colors
> change drastically and the MPEG loops too quickly. Is there a way to
> improve MPEG quality, and control the speed of the loop? IDL seems
> pretty short on control statements for MPEGs.
>
> Regards,
>
> Patrick

Dear Patrick,

did you know realpix?

It seems to me that you like to play images like a mpeg file.
May be you won't delete your images after building the mpeg file
then a reaplpix script is much better as a mpeg file.

We do have some idl routines to write such a script if you are
interested
give me a note.

The realpix script is interpreted by the realaudio player and you
are able to use all of it's features.
If you like you can add sound and so on.

Documentation for the realpix you get here
http://service.real.com/help/library/guides/realpix/realpix. htm


regards

Reimar




--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: improving animation/mpeg quality [message #27689 is a reply to message #27687] Fri, 02 November 2001 17:10 Go to previous message
nobody@nowhere.com (S is currently offline  nobody@nowhere.com (S
Messages: 55
Registered: July 2001
Member
On 2 Nov 2001 10:48:45 -0800, Patrick McEnaney <patrick@es.ucsc.edu> wrote:
> Folks-
>
> I've written a simple animation code to cycle through a directory of
> SST png files. Using XINTERANIMATE, the quality of the loop is pretty
> good, especially if I manually set the MPEG quality to 100%. There is
> a problem with the landmass being the wrong color but I can live with
> this. The problem is when I write the loop to an MPEG file, the colors
> change drastically and the MPEG loops too quickly. Is there a way to
> improve MPEG quality, and control the speed of the loop? IDL seems
> pretty short on control statements for MPEGs.
>
> Regards,
>
> Patrick

From within IDL, there is only the quality factor you mention, to my knowledge.
Also, MPEG playback speed is standard at around 28-29fps, which is a video
standard. You can get a player that will play MPEG's slower, like VMPEG. Or
you can convert to another format that allows more control over this. There
has been a few posts to this ng about good formats for animations, MPEG is
only one and is most idealy suited to video. You can always duplicate frames
if you aren't concerned about file size. I'm not sure what the color problems
are coming from.
--
Steve S.

steve@NOSPAMmailaps.org
remove NOSPAM before replying
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Homogenity of an area
Next Topic: contrast/brightness - cursor_value question

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

Current Time: Wed Oct 08 17:38:43 PDT 2025

Total time taken to generate the page: 0.00609 seconds