Version 1.5, July 24, 2002
Tweaked the qtMovieImporter class, there are 3 type of constructors.
****The first type takes a qtComponent, thereby creating a
qtImporterComponent. The methods you use bear similarity to the methods of
the QTExporter class. You use "prepare", use a soundDescription instance
and/or an imageDescription, you use a userDialog to obtain settings you can
save to a file, and after the preparation you call "Import" (note the track
instance as arguments may be set to nil).
*****The second type takes an URL, and the instance created is used as an
argument in the WiredMovie Constructor (MovieWires Plugin). The third type
takes 2 folderItems and does not create a qtImporterComponent. The
suggested names of the folderItems (as arguments) indicate that in principle
anyFile can be presented, but in fact you want to use the QTFileTypes class
(He, it's super is a qtComponent Class!). Once you have an instance of this
class (you then can use the MovieProgress class to monitor the duration of
transfer asynchronously, when you call the method
"ConvertAnyFileToMovieFile".
So, what can you do:
You can copy tracks from cd's into a movieFile, and export them as an mp4
file (or other type) with the qtMovieExporter and QTComponent classes. An
importer project sample comes with the plugin.
Alfred,
--------------------------------------------------------------------
<http://homepage.mac.com/vanhoek/>
--------------------------------------------------------------------
|