Posted by
Brian Willkie-2 on
Jul 25, 2008; 6:11pm
URL: http://imagej.273.s1.nabble.com/QuickTime-Writer-tp3695507p3695508.html
Hi Jeff,
Thanks for your reply.
I'm not trying to specify "None" for the codec (I didn't realize that
was an option). I'm trying to use Sorenson 3.
There are a number of variables (see below) that I presume are defined
in the QTJava.zip archive. Even though I've included it in my
classpath, and presumably imported it in my code, the compiler
complains that they're not defined:
symbol : variable codecMaxQuality
symbol : variable kMoviePlayer
symbol : variable createMovieFileDeleteCurFile
symbol : variable createMovieFileDontCreateResFile
symbol : variable codecFlagUpdatePrevious
symbol : variable mediaSampleNotSync
symbol : variable movieInDataForkResID
From my code:
import quicktime.*;
import quicktime.io.*;
import quicktime.qd.*;
import quicktime.std.*;
import quicktime.std.movies.*;
import quicktime.std.movies.media.*;
import quicktime.std.image.*;
import quicktime.util.*;
I even tried importing quicktime.QTConstants explicitly (under the
assumption that the constants are defined there):
import quicktime.QTConstants;
Any suggestions are welcome.
Thanks,
Brian
Quoting Jeff Hardin <
[hidden email]>:
> Hi Brian,
>
> If you're trying to use the codec "None", it will fail under OS X
> 10.3.9+ and QT 6.1+. Is this what you're trying? If so, I recommend
> using a JPEG compressor and Max quality or, aternatively, I wrote a
> little trap for this in my code. Ugly, but it works. Unfortunately,
> this is not macro executable from ImageJ, as the built-in code is.
> See the following:
>
>
http://rsb.info.nih.gov/ij/plugins/qt-stack-writer.html>
> Good luck!
>
> Cheers,
>
> Jeff
> ******************
> Jeff Hardin
> Dept. of Zoology
> 1117 W. Johnson St.
> Madison, WI 53706
> voice 608-262-9634/fax 608-262-7319
> email:
[hidden email]
>
>
>> Date: Thu, 24 Jul 2008 21:09:02 -0500
>> From: Brian Willkie <
[hidden email]>
>> Subject: QuickTime_Writer question
>>
>> Hello,
>>
>> I'm trying to adapt some code from QuickTime_Writer. I get the
>> following exception (plus several others):
>>
>> .java:372: cannot find symbol
>> symbol : variable codecMaxQuality
>> location: class com.brianwillkie.goes.movie.BuildMovie
>> codecMaxQuality, GOES.FRAME_RATE);
>>
>> I can't tell from the original code where this should be defined. I
>> assume it should be in QTJava. I've included
>> /System/Library/Java/Extensions/QTJava.zip in my classpath, but I
>> still get the exceptions (Mac OS X 10.4.11). Any speculation as to
>> what I'm doing wrong?
>>
>> Thanks,
>> Brian
>
>