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

Home » Public Forums » archive » Cannot save MPEG
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Cannot save MPEG [message #18809] Sat, 05 February 2000 00:00
lsyrkin is currently offline  lsyrkin
Messages: 9
Registered: May 1999
Junior Member
I am writing a very basic program for converting set of 32 PICT files
into a MPEG file:

Pro PictToMpeg


mpegID = MPEG_OPEN([256,270]) ;

FOR j=0, 31 DO BEGIN

filnm =
STRING('/export/home/lsyrkin/PICT/ABCD_'+STRTRIM(j+1,2)+'.pi ct')
READ_PICT,filnm,image
Window, XSize=256, YSize=270
tvscl, image


MPEG_PUT, mpegID, IMAGE=image, FRAME=j

ENDFOR


MPEG_SAVE, mpegID ;Save the MPEG sequence in the file
MPEG_CLOSE, mpegID ;Close the MPEG sequence

END


It gives me a message:

% IDLGRMPEG::SAVE: Couldn't create MPEG output file idl.mpg
% Execution halted at: MPEG_SAVE 39
/export/home/rsi/idl_5.2/lib/mpeg_save.pro
% PICTTOMPEG 22
/export/home/rsi/idl_5.2/myfiles/PictToMpeg.pro
% $MAIN$


What is wrong in my programm?

Thanks in advance,

Leonid Syrkin.


Sent via Deja.com http://www.deja.com/
Before you buy.
[Message index]
 
Read Message
Previous Topic: test
Next Topic: Projects, anyone?

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

Current Time: Wed Oct 08 15:31:48 PDT 2025

Total time taken to generate the page: 0.00574 seconds