Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

Movie.GoToEndMBS
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Moves the current position of this movie to the end.
Example:
dim fSrc, fDst as FolderItem
dim mSrc, mDst as Movie
dim rc as integer

'if not registerMBSPlugin(..., "MBS QuickTime", ..., ...) then
'MsgBox "MBS Plugin serial not valid?"
'end if

// Create a movie using EditableMovie class
fDst =SpecialFolder.Desktop.Child("output.mov")
mDst = fdst.CreateMovie


// Load a movie and add it
fSrc = SpecialFolder.Desktop.Child("movie1.mov")
mSrc = fSrc.OpenAsMovieMBS
mDst.GoToEndMBS
rc = mDst.AddMovieSelectionMBS( mSrc )

// Load a movie and add it
fSrc = SpecialFolder.Desktop.Child("movie2.mov")
mSrc = fSrc.OpenAsMovieMBS
mDst.GoToEndMBS
rc = mDst.AddMovieSelectionMBS( mSrc )

// Load a movie and add it
fSrc = SpecialFolder.Desktop.Child("movie3.mov")
mSrc = fSrc.OpenAsMovieMBS
mDst.GoToEndMBS
rc = mDst.AddMovieSelectionMBS( mSrc )

// Now save a copy with referencing
fDst =SpecialFolder.Desktop.Child("output Reference.mov")
rc = mDst.SaveMBS( fDst, false, false )

// Now save a copy with self containing
fDst =SpecialFolder.Desktop.Child("output SelfContaining.mov")
rc = mDst.SaveMBS( fDst, true, false )

movie.HasMovieChangedMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Determines whether a movie has changed and needs to be saved.
Notes:
Your application can clear the movie changed flag, indicating that the movie has not changed, by calling ClearMovieChangedMBS.
Introduced in QuickTime 3 or earlier.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
movie.HasQTChapterTrackMBS as Boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovie), class movie, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: True if this movie has a chapter track.
Notes:
Returns false on any error.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
movie.HasTimeCodeTrackMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovie), class movie, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Whether the movie has a time code track.
Notes:
True if such a track exists in this movie.
False on any error.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.

Some examples which use this method:

movie.InsertEmptyMovieSegmentMBS(time as integer, Duration as integer) as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovie), class movie, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Adds an empty segment to a movie.
Notes:
self:
The movie for this operation. Your application obtains this movie identifier from such functions as NewMovie, NewMovieFromFile, or NewMovieFromHandle.

time:
A time value that specifies where the segment is to be inserted. This time value must be expressed in the movie's time scale.

Duration:
A time value that specifies the duration of the segment to be added. This time value must be expressed in the movie's time scale.

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. You cannot add empty space to the end of a movie. If you want to insert a segment beyond the end of a movie, use InsertMovieSegment.

Returns a Mac OS error code.
movie.InsertMovieSegmentMBS(dest as movie, srcIn as integer, srcDuration as integer, dstIn as integer) as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovie), class movie, Plugin version: 8.5, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Copies part of one movie to another.
Notes:
self:
The source movie for this operation. This function obtains the movie segment from the source movie specified in this parameter.

dest:
The destination movie for this operation. The function places a copy of the segment, which it obtained from the source movie, into this destination movie.

srcIn:
The start of the segment in the source movie. This time value must be expressed in the source movie's time scale.

srcDuration:
The duration of the segment in the source movie. This time value must be expressed in the source movie's time scale.

dstIn:
A time value specifying where the segment is to be inserted. This time value must be expressed in the destination movie's time scale.

Return Value
You can access Movie Toolbox error returns through GetMoviesError and GetMoviesStickyError, as well as in the function result. See Error Codes.

Discussion
If you are not copying data from one location in a movie to a different point in the same movie, this function may create new tracks, as appropriate. Before adding a track to the destination movie, the Movie Toolbox looks in the destination movie for tracks that have the same characteristics as the tracks in the source movie. The toolbox considers several characteristics when searching for an appropriate track, including track spatial dimensions, track matrix, track clipping region, track matte, alternate group affiliation, media time scale, media type, media language, and data reference (that is, referring to the same file). If the Movie Toolbox cannot find an appropriate track in the destination movie, it creates a new track with the proper characteristics.

Special Considerations
If you have assigned a progress function to the destination movie, the Movie Toolbox calls that progress function during long copy operations. Some Movie Toolbox functions can take a long time to execute. For example, if you call FlattenMovie and specify a large movie, the Movie Toolbox must read and write all the sample data for the movie. During such operations you may wish to display some kind of progress indicator to the user.
Movie.IsAutoPlayMovieMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie is an autoplay movie.
Movie.IsMediaTypeInMovieMBS(mediatype as string) as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie contains this mediatype.
Notes:
Possible codes:

Video vide
Sound soun
Text text
Base gnrc
MPEG MPEG
Music musi
TimeCode tmcd
Sprite sprt
Flash flsh
Movie moov
Tween twen
ThreeDee qd3d
ResourceData rsrc
URLData url
WiredAction wire
Movie.IsMovieDoneMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie is on it's end.
Notes:
Returns false on any error.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
Movie.IsQTVRmovieMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie is a QTVR movie.
Movie.IsStreamedMovieMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie is a streamed movie.
movie.LoadIntoRamFramesMBS(FrameStart as double, FrameDuration as double, flags as integer) as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 2.9, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Loads the movie within the time bounds into memory.
Notes:
Flags:

keepInRam1Renders all data loaded with this flag set as nonpurgeable. Nonpurgeable data is not released from memory until you request it explicitly. This practice can fill up the user's heap very quickly; exercise caution.
unkeepInRam2Renders all indicated data purgeable. The data is not necessarily released from memory immediately, however. Information about whether a chunk can be purged is maintained internally by a single bit. This means there is no counter. Therefore, if you care very much about the data, you have to work very hard and use the edit list meticulously.
flushFromRam4Purges all indicated data from memory, unless it is currently in use by a media handler (for example, if it is still drawing frames from the requested times). This flag makes the memory available for purging, and then performs the purge. You may want to use this option if you are particularly low on memory.
loadForwardTrackEdits8In some cases, an edited movie plays back much more smoothly if the data around edits is already in RAM. By setting either this flag or the loadBackwardTrackEdits flag, you can load only the data around edits. The Movie Toolbox walks through the edits and decides the right amount of data to load for you. If you are going to play the movie forward, set only the loadForwardTrackEdits flag. If you are going to play in both directions, or you don't know which direction, set both flags.
loadBackwardTrackEdits16In some cases, an edited movie plays back much more smoothly if the data around edits is already in RAM. By setting either this flag or loadForwardTrackEdits, you can load only the data around edits. The Movie Toolbox walks through the edits and decides the right amount of data to load for you. If you are going to play the movie only backward, set the loadBackwardTrackEdits flag. If you are going to play in both directions, or you don't know which direction, set both flags.

Returns -1 if QuickTime is not available. Any other value is a Mac OS error code.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
movie.LoadIntoRamMBS(Start as double, Duration as double, flags as integer) as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 2.9, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Loads the movie within the time bounds into memory.
Notes:
Flags:

keepInRam1Renders all data loaded with this flag set as nonpurgeable. Nonpurgeable data is not released from memory until you request it explicitly. This practice can fill up the user's heap very quickly; exercise caution.
unkeepInRam2Renders all indicated data purgeable. The data is not necessarily released from memory immediately, however. Information about whether a chunk can be purged is maintained internally by a single bit. This means there is no counter. Therefore, if you care very much about the data, you have to work very hard and use the edit list meticulously.
flushFromRam4Purges all indicated data from memory, unless it is currently in use by a media handler (for example, if it is still drawing frames from the requested times). This flag makes the memory available for purging, and then performs the purge. You may want to use this option if you are particularly low on memory.
loadForwardTrackEdits8In some cases, an edited movie plays back much more smoothly if the data around edits is already in RAM. By setting either this flag or the loadBackwardTrackEdits flag, you can load only the data around edits. The Movie Toolbox walks through the edits and decides the right amount of data to load for you. If you are going to play the movie forward, set only the loadForwardTrackEdits flag. If you are going to play in both directions, or you don't know which direction, set both flags.
loadBackwardTrackEdits16In some cases, an edited movie plays back much more smoothly if the data around edits is already in RAM. By setting either this flag or loadForwardTrackEdits, you can load only the data around edits. The Movie Toolbox walks through the edits and decides the right amount of data to load for you. If you are going to play the movie only backward, set the loadBackwardTrackEdits flag. If you are going to play in both directions, or you don't know which direction, set both flags.

Returns -1 if QuickTime is not available. Any other value is a Mac OS error code.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
movie.LoadStateMBS as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Queries the load state of the movie.
Notes:
Please do not attach not loaded movies to the movieplayer control.

kMovieLoadStateError= -1
kMovieLoadStateLoading= 1000
kMovieLoadStateLoaded= 2000
kMovieLoadStatePlayable= 10000
kMovieLoadStatePlaythroughOK= 20000
kMovieLoadStateComplete= 100000
(hex or decimal values?)
movie.LoopingMBS as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 8.0, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Whether the movie should loop.
Example:
dim f as FolderItem
dim m as EditableMovie

f=SpecialFolder.Desktop.Child("test.mov")

m=f.OpenEditableMovie

// 0 = looping
// 1 = palindrome
// 2 = no looping

m.LoopingMBS=1

call m.CommitChanges

Notes:
0 - normal looping
1 - palindrome looping
2 - no looping
(Read and Write computed property)

Some examples which use this method:

movie.MetaDataMBS as QTMetaDataMBS
method, Quicktime, MBS REALbasic QuickTime Plugin (QTMovie), class movie, Plugin version: 6.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The metadata of the movie.
Notes:
Returns nil on any error.
Requires QuickTime 7.
Movie.MovieHasSoundTrackMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie contains a sound track.
Movie.MovieHasTimeCodeTrackMBS as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns true if the movie contains a timecode track.
movie.MovieHeightMBS as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The height of the movie.
Notes:
In contrast to this property, RB's movie width/height properties are cached.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
(Read and Write computed property)

Some examples which use this method:

movie.MoviePictureFramesMBS(frameposition as double) as picture
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 2.9, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns the picture of the movie for the given position in time units.
Example:
dim m as movie // your movie
backdrop=m.MoviePictureFramesMBS(5*m.TimeScaleMBS) // 5th second

Notes:
Returns nil on low memory.
The picture returned is a Pichandle picture, so you may use the picture.bitmap function if you want a picture you can edit or save as JPEG.
This function can be very slow because it may be necessary to render this picture from the last 20 pictures.

Some examples which use this method:

Movie.MoviePictureMBS(position as double) as picture
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Plugin version: 2.8, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns the picture of the movie for the given position in seconds.
Example:
dim m as movie // your movie
backdrop=m.MoviePictureMBS(5) // 5th second

Notes:
Returns nil on low memory.
The picture returned is a Pichandle picture, so you may use the picture.bitmap function if you want a picture you can edit or save as JPEG.
This function can be very slow because it may be necessary to render this picture from the last 20 pictures.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.

Some examples which use this method:

Movie.MoviePollMBS
method, QuickTime, MBS REALbasic QuickTime Plugin (QuickTime), class Movie, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Gives CPU time to QuickTime to update this movie.
Notes: Some people cry about missing performance on playing movies in RB. This function may help there. if you use threads it may be good to call it from time to time.
movie.MovieVisualBrightnessMBS as single
method, QuickTime, MBS REALbasic QuickTime Plugin (QuickTime), class movie, Plugin version: 6.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The brightness of the movie.
Notes:
Value is not saved in the movie and only used for display.
Requires Mac OS X 10.4 and requires a new movie control.
(so in current Realbasic it seems to have no effect)
(Read and Write computed property)
movie.MovieVisualContrastMBS as single
method, QuickTime, MBS REALbasic QuickTime Plugin (QuickTime), class movie, Plugin version: 6.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The contrast of the movie.
Notes:
Value is not saved in the movie and only used for display.
Requires Mac OS X 10.4 and requires a new movie control.
(so in current Realbasic it seems to have no effect)
(Read and Write computed property)
movie.MovieVisualHueMBS as single
method, QuickTime, MBS REALbasic QuickTime Plugin (QuickTime), class movie, Plugin version: 6.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The hue of the movie.
Notes:
Value is not saved in the movie and only used for display.
Requires Mac OS X 10.4 and requires a new movie control.
(so in current Realbasic it seems to have no effect)
(Read and Write computed property)
movie.MovieVisualSaturationMBS as single
method, QuickTime, MBS REALbasic QuickTime Plugin (QuickTime), class movie, Plugin version: 6.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The saturation of the movie.
Notes:
Value is not saved in the movie and only used for display.
Requires Mac OS X 10.4 and requires a new movie control.
(so in current Realbasic it seems to have no effect)
(Read and Write computed property)
movie.MovieWidthMBS as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 4.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The width of the movie.
Notes:
In contrast to this property, RB's movie width/height properties are cached.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
(Read and Write computed property)

Some examples which use this method:

movie.NextInterestingVideoTimeMBS(byref time as integer, byref duration as integer) as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 3.2, 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.

time=0 is the beginning of the first frame and it is a frame edge, so starting search with 0 will find zero.

Normally you find using this function the next frame of a movie.
You start with time=1 just after the first frame starts and loop using this function from frame to frame till you get time<=0 again.

After you found a time, use time+1 for the next starting point.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.

To move a movie to the found position set the movie.timembs property to the new time.

See also:

Some examples which use this method:

movie.NextInterestingVideoTimeMBS(byref time as integer, byref duration as integer, rate as double) as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 3.2, 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.

time=0 is the beginning of the first frame and it is a frame edge, so starting search with 0 will find zero.

Normally you find using this function the next frame of a movie.
You start with time=1 just after the first frame starts and loop using this function from frame to frame till you get time<=0 again.

After you found a time, use time+1 for the next starting point.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.

To move a movie to the found position set the movie.timembs property to the new time.

See also:

Some examples which use this method:

movie.NextInterestingVideoTimeWithFlagsMBS(flags as integer, byref time as integer, byref duration as integer) as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 3.2, 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.

time=0 is the beginning of the first frame and it is a frame edge, so starting search with 0 will find zero.

Normally you find using this function the next frame of a movie.
You start with time=1 just after the first frame starts and loop using this function from frame to frame till you get time<=0 again.

After you found a time, use time+1 for the next starting point.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.

To move a movie to the found position set the movie.timembs property to the new time.

This function requires you to pass correct flags:

nextTimeMediaSample = 1
nextTimeMediaEdit = 2
nextTimeTrackEdit = 4
nextTimeSyncSample = 8
nextTimeStep = 16
nextTimeEdgeOK = 16384
nextTimeIgnoreActiveSegment = 32768

Default of the other functions are to use nextTimeEdgeOK+nextTimeStep.

See also:

Some examples which use this method:

movie.NextInterestingVideoTimeWithFlagsMBS(flags as integer, byref time as integer, byref duration as integer, rate as double) as boolean
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 3.2, 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.

time=0 is the beginning of the first frame and it is a frame edge, so starting search with 0 will find zero.

Normally you find using this function the next frame of a movie.
You start with time=1 just after the first frame starts and loop using this function from frame to frame till you get time<=0 again.

After you found a time, use time+1 for the next starting point.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.

To move a movie to the found position set the movie.timembs property to the new time.

This function requires you to pass correct flags:

nextTimeMediaSample = 1
nextTimeMediaEdit = 2
nextTimeTrackEdit = 4
nextTimeSyncSample = 8
nextTimeStep = 16
nextTimeEdgeOK = 16384
nextTimeIgnoreActiveSegment = 32768

Default of the other functions are to use nextTimeEdgeOK+nextTimeStep.

See also:

Some examples which use this method:

movie.PitchMBS as double
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovie), class movie, Plugin version: 8.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The movie pitch.
Notes:
Requires QuickTime 7.1

Get/Set Movie pitch adjustment. Adjusts the pitch of all audio tracks that contribute to the AudioContext mix. Pitch control takes effect only if RateChangesPreservePitchMBS is in effect, otherwise does nothing. The value is specified in cents: 0.0 == no change, 1.0 == one cent up, 100.0 == one semi-tone up, -1.0 == one cent down. The most useful ranges for pitch are +/- 1200. (ie, one octave)
(Read and Write computed property)
Movie.PlayMBS
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Starts playback of the movie.

Some examples which use this method:

Movie.PosterPictureMBS as picture
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class Movie, Plugin version: 2.8, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns the poster picture of the movie if there is one.
Example:
dim m as movie // your movie
backdrop=m.PosterPictureMBS

Notes:
Returns nil on low memory.
The picture returned is a Pichandle picture, so you may use the picture.bitmap function if you want a picture you can edit or save as JPEG.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
movie.PosterTimeMBS as integer
method, QuickTime, MBS REALbasic QuickTime Plugin (QTMovies), class movie, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The current poster time of the movie.
Notes:
Unit is the timebase of the movie.

Does not work if movie.handle is 0. You can use e.g. OpenAsMovieMBS which returns a movie with handle<>0.
(Read and Write computed property)

Previous items Next items

The items on this page are in the following plugins: MBS REALbasic QuickTime Plugin.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich