The QTPlgCompressMovie class provides QTPlugin developers with services to manage sequence compression process. This class uses the standard image–compression dialog component to control the process of compressing a movie or a track.
Because the standard image–compression dialog is a component, the class uses the Component Manager to open and close a connection to the component; QTPlugin developers do not worry about it, cause the QTPlgCompressMovie class takes care about the details of opening and closing a connection to the standard image–compression dialog component.
You can use the class to obtain image compression parameters from the user (or set them by yourself) and to manage the process of compressing the sequence. You can follow several ways to control the different steps involved into the compression process.
The simplest way is to use the standard image–compression dialog component dialog box. The dialog box presents a consistent interface to the user; the QTPlgCompressMovie eliminates the need for you to worry about the details of managing this dialog box. Also, provided that the requirements are met, this class features the class method as well. Once you have collected the parameter information from the user, you can use the class to instruct the Image Compression Manager to perform the movie or track compression. Again, the class manages the details for you.
Alternatively, you can use the methods the class provides you with to examine or modify the parameters
to be used during the compression process. This way allows you to perform the process of compressing
the movie or track without using any user interface.
Whatever way you follow, the class allows you to store the compression parameters you have set into
files and restore them later.
Since version 6.0 of the QTPlugin, this class has been modified to support the new advanced video codecs (such as H.264 codec) introduced in QuickTime 7.0
→ →
The QTPlgCompressMovie class constructors are called when you create a new instance of the class, while the ˜QTPlgCompressMovie class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. See the validity requirements for more details.
The class provides you with the following initializer methods: