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

Home » Public Forums » archive » tvrd and mpeg's
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
tvrd and mpeg's [message #13968] Fri, 18 December 1998 00:00
Bruce Toth is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Keeping rotated plots the same size
Next Topic: using spawn command

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

Current Time: Wed Oct 08 16:00:37 PDT 2025

Total time taken to generate the page: 0.00499 seconds