All,
I am trying to store preset export settings using some very simple code
provided by Chris Adamson.
movie.convertToFile (null,
saveFile,
StdQTConstants.kQTFileTypeMovie,
StdQTConstants.kMoviePlayer,
IOConstants.smSystemScript,
StdQTConstants.showUserSettingsDialog |
StdQTConstants.movieToFileOnlyExport |
StdQTConstants.movieFileSpecValid,
exporter);
AtomContainer userSettings = exporter.getExportSettingsFromAtomContainer();
FileOutputStream fos = new FileOutputStream("c:\\tmp\\qtobjs\\qtexp.obj");
fos.write(userSettings.getBytes());
The problem with this approach is one of the values stored in the
serialized object is the name and location of the resultant exported file.
I would like to store the encoder settings but choose the name and
location every time I call "convertToFile()".
1) Does anyone have any suggestions about how I can get around my problem?
2) Ideally, I am looking for a way to pass in pre-defined exporter
settings without going this serialization/deserialization. From what I
understand this is NOT possible at this point in time with QT4J. True?
Thanks in advance,
Peentoo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden
This email sent to email@hidden