MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
QTTrackMBS.AddClonedTrackToMovie(dest as movie, flags as integer) as QTTrackMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Clones a track and adds it to the current movie.
Notes:
Constants for the flags:
Check Apples QuickTime documentation about the AddClonedTrackToMovie function which has a few limitations.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Clones a track and adds it to the current movie.
Notes:
Constants for the flags:
| kQTCloneShareSamples | 1 |
| kQTCloneDontCopyEdits | 2 |
Check Apples QuickTime documentation about the AddClonedTrackToMovie function which has a few limitations.
QTTrackMBS.ChapterTrack as QTChapterTrackMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the chapter track for this movie.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the chapter track for this movie.
class QTTrackMBS
class, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The class for a QuickTime movie track.
Notes: The class keeps a reference to the RB movie object.
class, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The class for a QuickTime movie track.
Notes: The class keeps a reference to the RB movie object.
QTTrackMBS.CurrentTimeCode as QTTimeCodeMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the timecode and source identification information for the current movie time.
Example:
Lasterror is set.
Returns nil on any error.
Requires QuickTime 3.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the timecode and source identification information for the current movie time.
Example:
Function GetQTTimeCodeMBS(m As movie) As QTTimeCodeMBS
dim tc as QTTimeCodeMBS
dim t as QTTrackMBS
dim i,c as integer
c=m.TrackCountMBS
for i=1 to c
t=m.GetTrackIndexMBS(i)
if t<>NIL then
tc=t.CurrentTimeCode
if tc<>NIL and tc.TimeScale>0 then
Return tc
end if
end if
next
End Function
Notes: Lasterror is set.
Returns nil on any error.
Requires QuickTime 3.
QTTrackMBS.DeleteTrackSegment(time as integer, Duration as integer)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Removes a specified segment from a track.
Notes:
self:
The track for this operation.
time:
A time value specifying the starting point of the segment to be deleted. This time value must be expressed in the time scale of the movie that contains the source track.
Duration:
A time value that specifies the duration of the segment to be deleted. This time value must be expressed in the time scale of the movie that contains the source track.
Discussion
You identify the segment to remove by specifying its starting time and duration.
Lasterror is set.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Removes a specified segment from a track.
Notes:
self:
The track for this operation.
time:
A time value specifying the starting point of the segment to be deleted. This time value must be expressed in the time scale of the movie that contains the source track.
Duration:
A time value that specifies the duration of the segment to be deleted. This time value must be expressed in the time scale of the movie that contains the source track.
Discussion
You identify the segment to remove by specifying its starting time and duration.
Lasterror is set.
QTTrackMBS.Duration as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The duration of the track.
Notes: In timescale of the movie.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The duration of the track.
Notes: In timescale of the movie.
QTTrackMBS.File(index as integer) as folderitem
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the file referenced for this track.
Notes:
Index is from 1 to FileCount.
Each QuickTime Movie Track can reference several media files.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the file referenced for this track.
Notes:
Index is from 1 to FileCount.
Each QuickTime Movie Track can reference several media files.
QTTrackMBS.FileCount as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The number of files referenced by the media used in this track.
Notes: Returns 0 on any error.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The number of files referenced by the media used in this track.
Notes: Returns 0 on any error.
QTTrackMBS.FrameNumberToTimeCode(timecode as QTTimeCodeMBS)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Converts a frame number into its corresponding timecode time value.
Notes:
Uses the frameNumber property of the timecode class and fills the time/counter values.
Lasterror is set.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Converts a frame number into its corresponding timecode time value.
Notes:
Uses the frameNumber property of the timecode class and fills the time/counter values.
Lasterror is set.
QTTrackMBS.GenerateTrackApertureModeDimensions as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Examines a track and sets up aperture mode dimensions.
Notes: This function can be used to add information needed to support aperture modes to tracks created with applications and/or versions of QuickTime that did not support aperture mode dimensions. If the image descriptions in video tracks lack tags describing clean aperture and pixel aspect ratio information, the media data may be scanned to see if the correct values can be divined and attached. Then the aperture mode dimensions are calculated and set. Afterwards, the kQTVisualPropertyID_HasApertureModeDimensions property will be set to true for these tracks. Tracks which do not support aperture modes are not changed.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Examines a track and sets up aperture mode dimensions.
Notes: This function can be used to add information needed to support aperture modes to tracks created with applications and/or versions of QuickTime that did not support aperture mode dimensions. If the image descriptions in video tracks lack tags describing clean aperture and pixel aspect ratio information, the media data may be scanned to see if the correct values can be divined and attached. Then the aperture mode dimensions are calculated and set. Afterwards, the kQTVisualPropertyID_HasApertureModeDimensions property will be set to true for these tracks. Tracks which do not support aperture modes are not changed.
QTTrackMBS.HasChapterTrack as boolean
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Whether the track's movie has a chaptertrack.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Whether the track's movie has a chaptertrack.
QTTrackMBS.Height as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The height of the track media.
Notes:
Not valid for sound tracks.
(Read and Write runtime property)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The height of the track media.
Notes:
Not valid for sound tracks.
(Read and Write runtime property)
QTTrackMBS.InsertEmptyTrackSegment(time as integer, Duration as integer)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Adds an empty segment to a track.
Notes:
self:
The track for this operation. Your application obtains this track identifier from such functions as NewMovieTrack and GetMovieTrack.
time:
A time value specifying where the segment is to be inserted. This time value must be expressed in the time scale of the movie that contains the destination track.
Duration:
A time value that specifies the duration of the segment to be added. This time value must be expressed in the time scale of the movie that contains the destination track.
Return Value
See Error Codes. If you try to add an empty segment beyond the end of a track, this function does not add the empty segment and returns a result code of invalidTime. Returns noErr if there is no error.
Discussion
You specify the starting time and duration of the empty segment to be added. These times must be expressed in the movie's time scale. This function then inserts the appropriate amount of empty time into the track. The exact meaning of the term empty time depends upon the type of track. For example, empty time in a sound track is silence. Note that you cannot add empty space to the end of a movie or to the end of a track.
Lasterror is set.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Adds an empty segment to a track.
Notes:
self:
The track for this operation. Your application obtains this track identifier from such functions as NewMovieTrack and GetMovieTrack.
time:
A time value specifying where the segment is to be inserted. This time value must be expressed in the time scale of the movie that contains the destination track.
Duration:
A time value that specifies the duration of the segment to be added. This time value must be expressed in the time scale of the movie that contains the destination track.
Return Value
See Error Codes. If you try to add an empty segment beyond the end of a track, this function does not add the empty segment and returns a result code of invalidTime. Returns noErr if there is no error.
Discussion
You specify the starting time and duration of the empty segment to be added. These times must be expressed in the movie's time scale. This function then inserts the appropriate amount of empty time into the track. The exact meaning of the term empty time depends upon the type of track. For example, empty time in a sound track is silence. Note that you cannot add empty space to the end of a movie or to the end of a track.
Lasterror is set.
QTTrackMBS.InsertTrackSegment(dest as QTTrackMBS, srcIn as integer, srcDuration as integer, dstIn as integer)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Copies data into a track.
Notes:
self:
The source track for this operation.
dest:
The destination track for this operation. This function places a copy of the segment, which is obtained from the source track, into this destination track. The media for the destination track must be opened for writing by calling BeginMediaEdits in order for the data to be copied. If the media is not opened for writing, the segment will be copied by reference. At the end of the editing session, your application must call EndMediaEdits if it has called BeginMediaEdits.
srcIn:
The start of the segment in the source track. This time value must be expressed in the time scale of the movie that contains the source track.
srcDuration:
The duration of the segment in the source track. This time value must be expressed in the time scale of the movie that contains the source track.
dstIn:
A time value specifying where the segment is to be inserted. This time value must be expressed in the time scale of the movie that contains the destination track.
Discussion
If you are copying data between tracks, make sure that the two tracks are of the same type. For example, you cannot copy a segment from a sound track into a video track. If you have assigned a progress function to the movie that contains the destination track, the Movie Toolbox calls that progress function during long copy operations.
Special Considerations
If you copy a segment without calling BeginMediaEdits on the destination track's media, the data can be copied later by flattening the movie.
Lasterror is set.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Copies data into a track.
Notes:
self:
The source track for this operation.
dest:
The destination track for this operation. This function places a copy of the segment, which is obtained from the source track, into this destination track. The media for the destination track must be opened for writing by calling BeginMediaEdits in order for the data to be copied. If the media is not opened for writing, the segment will be copied by reference. At the end of the editing session, your application must call EndMediaEdits if it has called BeginMediaEdits.
srcIn:
The start of the segment in the source track. This time value must be expressed in the time scale of the movie that contains the source track.
srcDuration:
The duration of the segment in the source track. This time value must be expressed in the time scale of the movie that contains the source track.
dstIn:
A time value specifying where the segment is to be inserted. This time value must be expressed in the time scale of the movie that contains the destination track.
Discussion
If you are copying data between tracks, make sure that the two tracks are of the same type. For example, you cannot copy a segment from a sound track into a video track. If you have assigned a progress function to the movie that contains the destination track, the Movie Toolbox calls that progress function during long copy operations.
Special Considerations
If you copy a segment without calling BeginMediaEdits on the destination track's media, the data can be copied later by flattening the movie.
Lasterror is set.
QTTrackMBS.IsChapterTrack as boolean
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Whether this track is a chapter track.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Whether this track is a chapter track.
QTTrackMBS.Lasterror as Integer
property, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The last error code reported.
Notes: (Read and Write property)
property, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The last error code reported.
Notes: (Read and Write property)
QTTrackMBS.Layer as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The layer of this track.
Notes:
Returns 0 on any error.
(Read and Write runtime property)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The layer of this track.
Notes:
Returns 0 on any error.
(Read and Write runtime property)
QTTrackMBS.MediaFlashSampleDescription(index as integer) as QTFlashSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the flash data in the track.
Notes: Returns nil if this track does not contain flash data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the flash data in the track.
Notes: Returns nil if this track does not contain flash data.
QTTrackMBS.MediaGetGraphicsMode(byref Mode as integer, TheColor as color)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Obtains the graphics mode and blend color values currently in use by any media handler.
Notes:
Mode: The media handler returns the graphics mode currently in use by the media handler.
TheColor: The Movie Toolbox returns the color currently in use by the media handler. This is the blend value for blends and the transparent color for transparent operations. The toolbox supplies this value to QuickDraw when you draw in addPin, subPin, blend, transparent, or graphicsModeStraightAlphaBlend mode.
Sets lasterror property.
Requires QuickTime 3 or earlier.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Obtains the graphics mode and blend color values currently in use by any media handler.
Notes:
Mode: The media handler returns the graphics mode currently in use by the media handler.
TheColor: The Movie Toolbox returns the color currently in use by the media handler. This is the blend value for blends and the transparent color for transparent operations. The toolbox supplies this value to QuickDraw when you draw in addPin, subPin, blend, transparent, or graphicsModeStraightAlphaBlend mode.
Sets lasterror property.
Requires QuickTime 3 or earlier.
| srcCopy | 0 | If the source is black, apply the foreground color to the destination; if the source is white, apply the background color; otherwise apply weighted portions of the foreground and background colors. |
| srcOr | 1 | If the source is black, apply the foreground color to the destination; if the source is white, do nothing; otherwise apply weighted portions of the foreground color. |
| srcXor | 2 | If the source is black, invert the destination (this operation is undefined for a colored destination). Otherwise, do nothing. |
| srcBic | 3 | If the source is black, apply the background color to the destination. If the source is white, do nothing. Otherwise, apply weighted portions of the background color. |
| notSrcCopy | 4 | If the source is white, apply the foreground color to the destination; if the source is black, apply the background color; otherwise apply weighted portions of the foreground and background colors. |
| notSrcOr | 5 | If the source is white, apply the foreground color to the destination; if the source is black, do nothing; otherwise apply weighted portions of the foreground color. |
| notSrcXor | 6 | If the source is white, invert the destination (this operation is undefined for a colored destination pixel). Otherwise, do nothing. |
| notSrcBic | 7 | If the source is white, apply the background color to the destination. If the source is black, do nothing. Otherwise, apply weighted portions of the background color. |
| Text dimming: | ||
| grayishTextOr | 49 | Dim the destination. If in color, replace it with a blend of the foreground and background; if black-and-white, replace it with dithered black and white. This mode is used primarily for text. |
| Highlighting: | ||
| hilite | 50 | Replace the background color with the highlight color. |
| Arithmetic modes: | ||
| blend | 32 | Replace the destination with a blend of the source and destination colors. If the destination is a bitmap, this is the same as srcCopy. |
| addPin | 33 | Replace the destination with the sum of the source and destination, up to a maximum value. If the destination is a bitmap, this is the same as srcBic. |
| addOver | 34 | Replace the destination with the sum of the source and destination, but if the resulting red, green, or blue value exceeds 65536, then subtract 65536 from it. If the destination is a bitmap, this is the same as srcXor. |
| subPin | 35 | Replace the destination with the difference between the source and destination, but not less than a minimum value. If the destination is a bitmap, this is the same as srcOr. |
| addMax | 37 | Compare the source and destination, and replace the destination with the greater value of each of the red, green, and blue components. If the destination is a bitmap, this is the same as srcBic. |
| subOver | 38 | Replace the destination with the difference between the source and destination, but if the resulting red, green, or blue value is negative, then add 65536 to it. If the destination is a bitmap, this is the same as srcXor. |
| addMin | 39 | Compare the source and destination, and replace the destination with the lesser value of each of the red, green, and blue components. If the destination is a bitmap, this is the same as srcOr. |
| ditherCopy | 64 | Replace the destination with a dither mix of the source and destination. |
| Transparent mode: | ||
| transparent | 36 | Replace the destination with the source if the source is not equal to the background. |
QTTrackMBS.MediaHandle as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The handle to the media used for this track.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The handle to the media used for this track.
QTTrackMBS.MediaHandlerHandle as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The handle to the media handler used for this track.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The handle to the media handler used for this track.
QTTrackMBS.MediaMusicSampleDescription(index as integer) as QTMusicSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the music data in the track.
Notes: Returns nil if this track does not contain music data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the music data in the track.
Notes: Returns nil if this track does not contain music data.
QTTrackMBS.MediaSampleDescription(index as integer) as QTSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The sample description with the given index for this track.
Notes:
Returns nil on any error.
If e.g. the track is a video track, a QTVideoSampleDescriptionMBS object is returned.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The sample description with the given index for this track.
Notes:
Returns nil on any error.
If e.g. the track is a video track, a QTVideoSampleDescriptionMBS object is returned.
QTTrackMBS.MediaSampleDescriptionCount as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The number of media sample descriptions in media of this track.
Notes: Returns 0 on any error.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The number of media sample descriptions in media of this track.
Notes: Returns 0 on any error.
QTTrackMBS.MediaSetGraphicsMode(Mode as integer, TheColor as color)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Sets the graphics mode and blend color values currently in use by any media handler.
Notes:
See MediaGetGraphicsMode.
Lasterror is set.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Sets the graphics mode and blend color values currently in use by any media handler.
Notes:
See MediaGetGraphicsMode.
Lasterror is set.
QTTrackMBS.MediaSoundSampleDescription(index as integer) as QTSoundSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the sound data in the track.
Notes: Returns nil if this track does not contain sound data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the sound data in the track.
Notes: Returns nil if this track does not contain sound data.
QTTrackMBS.MediaSpriteSampleDescription(index as integer) as QTSpriteSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the sprite data in the track.
Notes: Returns nil if this track does not contain sprite data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the sprite data in the track.
Notes: Returns nil if this track does not contain sprite data.
QTTrackMBS.MediaTextSampleDescription(index as integer) as QTTextSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the text data in the track.
Notes: Returns nil if this track does not contain text data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the text data in the track.
Notes: Returns nil if this track does not contain text data.
QTTrackMBS.MediaThreeDeeSampleDescription(index as integer) as QTThreeDeeSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the three dee data in the track.
Notes: Returns nil if this track does not contain three dee data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the three dee data in the track.
Notes: Returns nil if this track does not contain three dee data.
QTTrackMBS.MediaType as string
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The type of the media data.
Notes:
Possible values:
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The type of the media data.
Notes:
Possible values:
| VideoMediaType | "vide" |
| SoundMediaType | "soun" |
| TextMediaType | "text" |
| BaseMediaType | "gnrc" |
| MPEGMediaType | "MPEG" |
| MusicMediaType | "musi" |
| TimeCodeMediaType | "tmcd" |
| SpriteMediaType | "sprt" |
| FlashMediaType | "flsh" |
| MovieMediaType | "moov" |
| TweenMediaType | "twen" |
| ThreeDeeMediaType | "qd3d" |
| SkinMediaType | "skin" |
| HandleDataHandlerSubType | "hndl" |
| PointerDataHandlerSubType | "ptr " |
| NullDataHandlerSubType | "null" |
| ResourceDataHandlerSubType | "rsrc" |
| URLDataHandlerSubType | "url " |
| WiredActionHandlerType | "wire" |
QTTrackMBS.MediaVideoSampleDescription(index as integer) as QTVideoSampleDescriptionMBS
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the video data in the track.
Notes: Returns nil if this track does not contain video data.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns the sample description for the video data in the track.
Notes: Returns nil if this track does not contain video data.
QTTrackMBS.MetaData as QTMetaDataMBS
method, Quicktime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 6.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The metadata of the track.
Notes:
Returns nil on any error and sets the lasterror property.
Requires QuickTime 7.
method, Quicktime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 6.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The metadata of the track.
Notes:
Returns nil on any error and sets the lasterror property.
Requires QuickTime 7.
QTTrackMBS.Movie as Movie
property, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The reference to the original movie.
Notes: (Read and Write property)
property, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The reference to the original movie.
Notes: (Read and Write property)
QTTrackMBS.NextInterestingTimeMBS(byref time as integer, byref duration as integer) as boolean
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Finds the next interesting video time (the next frame).
Notes:
Time is an integer for the time to start the search.
Returns in Time the time found (or 0 on an error).
Duration is set to the duration of this frame.
Remember that in QuickTime each frame can have it's individual length.
Normally you find using this function the next frame of a movie.
You start with time=0 in the first frame and loop using this function from frame to frame till you get time<=0 again.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Finds the next interesting video time (the next frame).
Notes:
Time is an integer for the time to start the search.
Returns in Time the time found (or 0 on an error).
Duration is set to the duration of this frame.
Remember that in QuickTime each frame can have it's individual length.
Normally you find using this function the next frame of a movie.
You start with time=0 in the first frame and loop using this function from frame to frame till you get time<=0 again.
QTTrackMBS.NextInterestingTimeMBS(byref time as integer, byref duration as integer, rate as double) as boolean
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Finds the next interesting video time (the next frame).
Notes:
Time is an integer for the time to start the search.
Returns in Time the time found (or 0 on an error).
Duration is set to the duration of this frame.
Remember that in QuickTime each frame can have it's individual length.
Set Rate to a negative value to search backwards.
Normally you find using this function the next frame of a movie.
You start with time=0 in the first frame and loop using this function from frame to frame till you get time<=0 again.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Finds the next interesting video time (the next frame).
Notes:
Time is an integer for the time to start the search.
Returns in Time the time found (or 0 on an error).
Duration is set to the duration of this frame.
Remember that in QuickTime each frame can have it's individual length.
Set Rate to a negative value to search backwards.
Normally you find using this function the next frame of a movie.
You start with time=0 in the first frame and loop using this function from frame to frame till you get time<=0 again.
QTTrackMBS.RemoveTrackApertureModeDimensions as integer
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Removes aperture mode dimension information from a track.
Notes: This function removes aperture mode dimension information from a track. It does not attempt to modify sample descriptions, so it may not completely reverse the effect of GenerateTrackApertureModeDimensions. It sets the kQTVisualPropertyID_HasApertureModeDimensions property to false.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Removes aperture mode dimension information from a track.
Notes: This function removes aperture mode dimension information from a track. It does not attempt to modify sample descriptions, so it may not completely reverse the effect of GenerateTrackApertureModeDimensions. It sets the kQTVisualPropertyID_HasApertureModeDimensions property to false.
QTTrackMBS.ScaleTrackSegment(startTime as integer, oldDuration as integer, newDuration as integer)
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Changes the duration of a segment of a track.
Notes:
self:
The track for this operation.
startTime:
The start of the segment. The oldDuration parameter specifies the segment's duration. This time value must be expressed in the time scale of the movie that contains the track.
oldDuration:
The duration of the segment. This time value must be expressed in the time scale of the movie that contains the track.
newDuration:
The new duration of the segment. This time value must be expressed in the time scale of the movie that contains the track. The function alters the segment to accommodate the new duration.
Discussion
This function does not cause the Movie Toolbox to add data to or remove data from the movie.
Lasterror is set.
method, QuickTime, MBS QuickTime Plugin (QTMovie), class QTTrackMBS, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Changes the duration of a segment of a track.
Notes:
self:
The track for this operation.
startTime:
The start of the segment. The oldDuration parameter specifies the segment's duration. This time value must be expressed in the time scale of the movie that contains the track.
oldDuration:
The duration of the segment. This time value must be expressed in the time scale of the movie that contains the track.
newDuration:
The new duration of the segment. This time value must be expressed in the time scale of the movie that contains the track. The function alters the segment to accommodate the new duration.
Discussion
This function does not cause the Movie Toolbox to add data to or remove data from the movie.
Lasterror is set.
The items on this page are in the following plugins: MBS QuickTime Plugin.
Monkeybread Software Realbasic Plugins - JUZ Nickenich