[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot save MPEG



David,

I opened a window just to see what I am putting into MPEG file.
The fragment could be:

FOR j=0, 31 DO BEGIN
   READ_PICT,filnm,image
   MPEG_PUT, mpegID, IMAGE=image, FRAME=j
ENDFOR

Does it make a difference?

Thank you,
Leonid.
In article <MPG.13067e4c3500ca7a989a0d@news.frii.com>,
  davidf@dfanning.com (David Fanning) wrote:
> Leonid Syrkin (lsyrkin@yahoo.com) writes:
>
> > I am writing a very basic program for converting set of 32 PICT
files
> > into a MPEG file:
> >
> > FOR j=0, 31 DO BEGIN
> > > 	READ_PICT,filnm,image
> > 	Window, XSize=256, YSize=270
> > 	tvscl, image
> > 	MPEG_PUT, mpegID, IMAGE=image, FRAME=j
> > ENDFOR
> >
> > What is wrong in my programm?
>
> I'm guessing that what you meant to write was this:
>
> 	MPEG_PUT, mpegID, WINDOW=!D.Window, FRAME=j
>
> Otherwise, why open a window? :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
>


Sent via Deja.com http://www.deja.com/
Before you buy.