Handlers for editing the movie in a player object.

Handlers - qtAddFilter, qtAddMovieSegment, qtAddTransition, qtClear, qtCopy, qtCopyTrack (qtCopyTrackToScrap), qtCut, qtCutTrack, qtDeleteTrack, qtGetTrackDimensions(), qtGetTrackLayer(), qtGetTrackOffset(), qtInitializeEditing, qtPaste, qtSelectAll, qtSelectNone, qtSetSelection, qtSetTrackDimensions, qtSetTrackLayer, qtSetTrackOffset, qtSetTrackPosition, qtUndo

command qtAddFilter MovieControllerID, EffectType, StartTime, EndTime
Description:
Adds a filter to the specified time of a movie.
Parameters:
MovieControllerID: Target movieControllerID.
EffectType: Type to add (blur, sharpen, edgedetect, emboss, convolve, alphagain, rgbcolorbalance, hslcolorbalance, colorsync, filmnoise, solarize, colortint, lensflare)
StartTime: Effect start time in movie timescale.
EndTime: Effect end time in movie timescale.
Return:
empty or error
command qtAddMovieSegment MovieControllerID, Scaled
Description:
Pastes the current movie on the clipboard into another movie.
Parameters:
MovieControllerID: Target movieControllerID.
Scaled: True scales clipboard to selection. False pastes in place.
Return:
empty or error
command qtAddTransition MovieControllerID, EffectType, StartTime, EndTime
Description:
Adds a filter to the specified time of a movie.
Parameters:
MovieControllerID: Target movieControllerID.
EffectType: Type to add (alphacompositor, channelcomposite, chromakey, implode, explode, gradient, push, slide, wipe, iris, radial, matrix, zoom, crossfade)
StartTime: Effect start time in movie timescale.
EndTime: Effect end time in movie timescale.
Return:
empty or error
command qtClear MovieControllerID
Description:
Clears the selected portion of the movie controller.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtCopy MovieControllerID
Description:
Copies the selected portion of the controller to the clipboard.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtCopyTrack (qtCopyTrackToScrap) MovieControllerID, TrackIdentifier
Description:
Copies the specified track to the clipboard.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Target track name or index.
Return:
empty or error
command qtCut MovieControllerID
Description:
Cuts the selected portion of the controller and places it on the clipboard.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtCutTrack MovieControllerID, TrackIdentifier
Description:
Cuts the specified track from the movie and places it on the clipboard.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Target track name or index.
Return:
empty or error
command qtDeleteTrack MovieControllerID, TrackIdentifier
Description:
Deletes a track from a movie.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Return:
empty or error
function qtGetTrackDimensions (MovieControllerID, TrackIdentifier)
Description:
Gets the width and height of a track.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Return:
empty or error
function qtGetTrackLayer (MovieControllerID, TrackIdentifier)
Description:
Returns the layer of a track.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Return:
Track layer number
function qtGetTrackOffset (MovieControllerID, TrackIdentifier)
Description:
Gets the duration of of the offset of a track from the beginning of the movie.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Return:
empty or error
command qtInitializeEditing (MovieControllerID)
Description:
Initializes editing capabilities for a movie controller. Call this before trying to edit a player object.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtPaste (MovieControllerID)
Description:
Pastes the clipboard data into a movie controller
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtSelectAll (MovieControllerID)
Description:
Select entire movie controller.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtSelectNone (MovieControllerID)
Description:
Set selection of movie controller to none.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error
command qtSetSelection (MovieControllerID, StartTime, EndTime)
Description:
Pastes the clipboard data into a movie controller
Parameters:
MovieControllerID: Target movieControllerID.
StartTime: Start of selection in movie time scale.
EndTime: End of selection in movie time scale.
Return:
empty or error
command qtSetTrackDimensions (MovieControllerID, TrackIdentifier, Width, Height)
Description:
Sets the width and height of a track.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Width: Width of track.
Height: Height of track.
Return:
empty or error
command qtSetTrackLayer (MovieControllerID, TrackIdentifier, Layer)
Description:
Sets the layer of a track.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Layer: New layer for track.
Return:
empty or error
command qtSetTrackOffset (MovieControllerID, TrackIdentifier, Offset)
Description:
Sets the duration of the offset of the track from the beginning of hte movie. This will change the duration of the track and/or movie.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Offset: Offset in movie timescale (If movie timescale is 600 then 1200 would start the track 2 seconds into the movie).
Return:
empty or error
command qtSetTrackPosition (MovieControllerID, TrackIdentifier, Origin, Left, Top)
Description:
Sets the top-left of a track.
Parameters:
MovieControllerID: Target movieControllerID.
TrackIdentifier: Name or index of track.
Origin: Always "topleft" for now.
Left: Positive integer specifying left of track relative to movie.
Top: Positive integer specifying top of track relative to movie.
Return:
empty or error
command qtUndo (MovieControllerID)
Description:
Undo last edit.
Parameters:
MovieControllerID: Target movieControllerID.
Return:
empty or error