Re: tvrd and mpeg's [message #13960] |
Mon, 21 December 1998 00:00 |
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
|
|
|