* @return result Whether or not Phoenix is functioning correctly
*/
public static String test()
{
// get a standard file chooser
Movie mov = null;
QTFile file = null;
try
{
file = QTFile.standardGetFilePreview(QTFile.kStandardQTFileTypes);
mov = Movie.fromFile(OpenMovieFile.asRead(file));
} // try
catch (QTException qte)
{
qte.printStackTrace();
} // catch (QTException)
// retrieve a pict at time 0 (int time on mov's QT timescale) of all
// enabled video tracks
try
{
quicktime.qd.Pict pic = mov.getPict(0);
System.out.println("width = " + pic.getPictFrame().getWidth()
+ ", height = " + pic.getPictFrame().getHeight());
if ((pic.getPictFrame().getWidth() < 0)
|| (pic.getPictFrame().getHeight() < 0))
{