|
void | setMovieFilename (String filename) |
| Defines the input movie filename. More...
|
|
void | setImageFolder (String folder) |
| Defines where to store the extracted images. More...
|
|
void | setImagePrefix (String prefix) |
| Defines which prefix to use to save the images. More...
|
|
void | setStartFrame (int startFrame) |
| Sets the start frame (frame are 1 bound). The default value is 1. This will affect the 'doImport()' command where only these frames are considered. More...
|
|
void | setStopFrame (int stopFrame) |
| Sets the desired last frame. This will affect the number of frames that will be extracted by the 'doImport()' default value: 0 which mean that all frames are imported. More...
|
|
void | setAudioFile (String audioFilename) |
| Sets 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. More...
|
|
bool | doImport () |
| Performs the import - no progress bar. More...
|
|
int | numberOfImages () |
| Returns the number of imported images from the last import. More...
|
|
String | image (int index) |
| Returns the complete filename for the imported image 'index' from the last import. More...
|
|
bool | isAudioFileCreated () |
| Returns true if a sound file was created at the given filename. More...
|
|
The MovieImport JavaScript global object. Import a QuickTime movie in the current scene.
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.