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

Home » Public Forums » archive » 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
Getting MPEG routines to write from 24-bit display. [message #13891] Wed, 06 January 1999 00:00
Steve[2] is currently offline  Steve[2]
Messages: 7
Registered: January 1999
Junior Member
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. If I
write a GIF image of the window contents, it looks
beautiful. I tried playing with the IDLgrMPEG:: object
directly (MPEG_PUT and all are front-ends to this) and I may
have altered something that is now irreversible. I am an
old-style direct graphics programmer and haven't really
delved into the object graphics yet. I have tried several
IDL example programs available on the web (fanning
consulting or something) and also on the IDL tech-tips at
the RSI web site. These also produce MPEG's with missing
frames. I am using xanim (ver. 2.70.6.4), which seems to
play most MPEG's I've encountered. Anyone have any ideas
what I'm doing wrong?

Steve
[Message index]
 
Read Message
Previous Topic: Re: Getting MPEG routines to write from 24-bit display.
Next Topic: Re: Win32 jacket routines between IDL and third-party DLL

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

Current Time: Fri Oct 10 02:32:33 PDT 2025

Total time taken to generate the page: 0.00524 seconds