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

Home » Public Forums » archive » Re: Getting MPEG routines to write from 24-bit display.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Getting MPEG routines to write from 24-bit display. [message #13889] Wed, 06 January 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Steve (steves@ruska.nrel.gov) writes:

> I am having trouble getting IDL 5.2's MPEG_PUT, etc. to
> write MPEG movies. I am writing to an
> Xwindow (Linux 2.0.35, XF86_SVGA) and use:
>
> mpegID=MPEG_OPEN([0.5*SCRSIZE[0],0.5*SCRSIZE[1]])
> MPEG_PUT, mpegID, WINDOW=0,FRAME=0,ORDER=1
>
> j=0
> for i=start,stop-deadoffset,step do begin
> j=j+1
> MPEG_PUT, mpegID, WINDOW=0,ORDER=1,FRAME=j
> endfor
>
> MPEG_SAVE, mpegID, filename='latest.mpg'
> MPEG_CLOSE, mpegID
>
> the windowsize is 576x432. When I first began, I was getting
> maybe 10 or 20 frames out of 100, now
> I only get one frame and no errors! Also, I am fairly
> unhappy with the quality of the images, there seems
> to be some fuzzy, pixelated effects in the images.

> I have tried several
> IDL example programs available on the web (fanning
> consulting or something)

Fanning *Software* Consulting, as a matter of fact.
(Sheesh, I'm glad I don't do marketing for a living.) :-(

> and also on the IDL tech-tips at
> the RSI web site. These also produce MPEG's with missing
> frames.

Uh, no they don't. At least on *my* machine they don't.
But I have heard of this from at least three people now.
There must be something to it, although I haven't been able
to make it happen, ever. Could you share some software that
makes it happen reliably so we can test it?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: Fast matrix filling in IDL
Next Topic: Getting MPEG routines to write from 24-bit display.

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

Current Time: Wed Oct 08 18:42:36 PDT 2025

Total time taken to generate the page: 0.00434 seconds