Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SequenceGrabber.getDataOutputFilereturns file with no path?



Hi,

I am using QTJ Public Release with QT6 on OS X (all most recent public versions) and Java 1.3 on a TiBook.

SquenceGrabber seems to work fine for capture DV video, however when I do something like:

String recordFile = "/tmp/example.mov";
QTFile mFile = new QTFile(recordFile);
_seqGrabber.setDataOutput(mFile,seqGrabToDisk);
_seqGrabber.setMaximumRecordTime(_maxRecordTimeInSecs * 60);
_seqGrabber.startRecord();
_seqGrabber.idle();
_seqDrawer.startTasking();

.....

QTFile outFile = _seqGrabber.getDataOutputFile();

outFile just points to example.mov NOT /tmp/example.mov

So, System.err.println("Output File: " + outFile.getAbsolutePath());

returns the current working directory I run the program from and example.mov,
like: /Users/stevef/example.mov

Are there plans to "fix" this so it returns a full file path, it seems it *should* since QTFile is
derived from java.io.File. It would allow (for me anyway) better code architecture.

Do other people see the same behaviour or is it something subtle I am doing wrong somewhere?

Regards,
Steve Franks
Adenzo - Software and Services
Perth, Australia
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.