tvrd and mpeg's [message #13968] |
Fri, 18 December 1998 00:00 |
Bruce Toth
Messages: 1 Registered: December 1998
|
Junior Member |
|
|
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?
2) The frames are degraded from the plot windows
that are captured(fuzzy lines, general "noise" in
the mpeg)
Any suggestions/comments would be most appreciated.
Bruce Toth
bruce.toth@jhuapl.edu
|
|
|