Contents
Navigation
Home User Reference Other Resources


This class provides you with services for manage the output of movies on an external device (i.e a video recorder or a camera).
You will find general informations about video ouput component reading the documentation of the super class.





The QTPlgVideoOutputMovie class constructors are called when you create a new instance of the class, while the ˜QTPlgVideoOutputMovie 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:
()
This is the default constructor. The new class instance will try to open a connection to the first video output component available to the current system. If no video output component can be found, the class instance will and you should get rid of it; otherwise, the properties of the class will be initialized to the default settings of the video output component found
(other as QTPlgVideoOutputMovie)
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties
(fSettings as folderitem)
The new class instance will try to open a connection to the video output component registered into the file settings specified by the fSettings parameter; if the connection succeeds, you can use this version of the class constructor to initialize the properties of the class with the settings in the file specified by the fSettings parameter
(component as )
The new class instance will try to open a connection to the video output component specified by the component parameter; you can obtain a list of all of the currently installed video output components by creating a new instance of the class passing to the constructor the appropriate . If the connection succeeds, the properties of the class will be initialized to the default settings of the selected video output component

see the property below
[Deprecated]: since version 6.6 of the plugin this property is deprecated and will be removed from a future plugin version; use the class property instead
specifies the movie that must be played onto the external device associated to the selected video output component. The class retains internally just a reference to the movie instance passed, so you should avoid to invalidate this reference until you are going to use it
specifies the sound output component to use along with the selected video output component, if applicable; you can obtain a list of available sound output components from the class property

(e as boolean)
if the selected video component has the class property set to true, you can use this method to synchronize video and sound for a movie to the rate of the display. If you set the e parameter to true, then will be used the clock component associated with the video output component; otherwise will be used the clock associated with the movie (this is the default behaviour).
You can use this function only between calls to and routines
returns nothing. Check the class property for errors
(w as window)
if the selected component can display video simultaneously on an external video display and in a window on a computer’s desktop (you find about this by checking the property), then you can use this routine to control how to display video. To use this feature, your software draws to a graphics port for the window on the computer’s desktop, known as the echo port, rather than the port that is normally used for the video output device. The video then appears on both displays, although in some cases the video on the desktop is displayed at a smaller size or lower frame rate.
You specify the window to draw into by using the w parameter; if you set this parameter to nil the video will be displayed only on an external video display (this is the default behaviour). You can safely switch between these two states as you like it during an output session.
You can use this function only between calls to and routines
returns nothing. Check the class property for errors