Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

QTFrameExtractorMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class QuickTime MBS QuickTime Plugin 9.5 Yes Yes No No No
Function: This class extracts video frames from a movie.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("test.mov")
dim m as movie = f.OpenAsMovie

dim e as new QTFrameExtractorMBS(m)

// move forward 10 frames
for i as Integer=1 to 10
call e.MoveForward
next

// show current frame:
Backdrop=e.CurrentPicture
Notes:
You initialize the QTFrameExtractorMBS object with a movie object. Now you can pick the current picture and move forward using the MoveForward method.

Like all QuickTime functions, you need a QuickTime movie to operate on. So on Windows, please use OpenAsMovieMBS as our function makes sure the movie is opened with QuickTime and not Windows Media Player.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


QTFlashSampleDescriptionMBS   -   QTGrabberDeviceInputListMBS




Links
MBS Xojo Plugins