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

Home » Public Forums » archive » Re: tvrd and mpeg's
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: tvrd and mpeg's [message #13960] Mon, 21 December 1998 00:00
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Bruce Toth wrote:

> Hi,
>
> I am trying to create an mpeg. I am working on
> an xterm that runs CDE and it's an 8-bit device.
> Here's generally what I have tried.....
>
> ; Setup mpeg
>
> mpegID = mpeg_open([600,600])
>
> ;Begin looping.....
>
> ;Create a plot window
> window,xsize=xs,ysize=ys,retain=2,colors=256
>
> ; Plot what I need to plot
> ; I use a number of colors on these plots.
>
> ; Use tvrd to capture the plot window and
> ; generate the frames;
>
> mpeg_put,mpegID,image=tvrd(0,0,xs,ys,order=1),frame=fno
>
> ;end looping
>
> mpeg_save,mpegID,filename='myMPEG.mpg'
> mpeg_close,mpegID
>
> There are 2 problems when I play back the mpeg
> using mpeg_play -dither threshold myMPEG.mpg
>
> 1) The frames are all in black and white.
> I'm not using tvrd correctly?

If you are running a screen saver during your mpeg creation process this
will happen.
Because the screen saver is in the foreground of the plotting window.

Solution:
Create the image in the Z-Buffer





>
> 2) The frames are degraded from the plot windows
> that are captured(fuzzy lines, general "noise" in
> the mpeg)

I am not understanding point 2)


>
>
> Any suggestions/comments would be most appreciated.
>
> Bruce Toth
> bruce.toth@jhuapl.edu
[Message index]
 
Read Message
Previous Topic: Re: Strange widget question / IDL
Next Topic: "clamping" an array to a maximum value?

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

Current Time: Sat Oct 11 08:31:00 PDT 2025

Total time taken to generate the page: 0.40309 seconds