|
void | setMovieFilename (String filename) |
| defines the input movie filename.
|
|
void | setImageFolder (String folder) |
| defines where to store the extracted images.
|
|
void | setImagePrefix (String prefix) |
| defines which prefix to use to save the images.
|
|
void | setStartFrame (int startFrame) |
| set the start frame (frame are 1 bound). The default value is 1. This will affect the 'doImport()' command where only these frames are considered.
|
|
void | setStopFrame (int stopFrame) |
| set the desired last frame. This will affect the number of frames that will be extracted by 'doImport()' default value: 0 which mean that all frames are imported
|
|
void | setAudioFile (String audioFilename) |
| set the expected audio filename. must be wav format (as this is currently the only one supported ) sound filename can be left empty. if so, there will not be any file created.
|
|
bool | doImport () |
| perform the import - no progress bar.
|
|
int | numberOfImages () |
| return the number of imported images from the last import.
|
|
String | image (int index) |
| return the complete filename for the imported image 'index' from the last import.
|
|
bool | isAudioFileCreated () |
| return true if a sound file was created at the given filename.
|
|
This object is used to import a QuickTime movie in the scene. First the user needs to set up the importing parameters using the functions: setMovieFilename, setImageFolder, setImagePrefix and setAudioFile. Then call doImport and after that, the user can iterate over the number of images, the current image filename and whether an audio file was created or not.
You can use it in Script Editor only.