"clear" message to jit.movie

Matthias's icon

Hi all,
jit.movie accepts the "clear" message, also visible in the messages menu. But it is not documented on the reference page. What does the "clear" message do exactly when sent to the jit.movie object?
Best,
Matthias

Matthias's icon

*bump* could anyone comment on this?
- Matthias

Rob Ramirez's icon

it clears the current stored output matrix (sets to black). if the player is stopped, and you send the clear message, it should output a black frame.

Spa's icon

Does it unlink to the movie file?
so i can delete the file without the system saying that file is in use?

Matthias's icon

Thanks for clarifying, Rob!
- Matthias

Rob Ramirez's icon

@SPA, that is the "dispose" message

kleurbleur's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Does still work? Because in my patch it does not.

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

looks like it doesn't work when output_texture is enabled. we'll take a look. in the meantime here's a workaround:

kleurbleur's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hmmm, doesn't seem to work in my patch because [groove] is driving [jit.movie] cause of the different audio outputs.

Rob Ramirez's icon

either make sure @unique 1 is enabled on your jit.movie, or send your jit.movie output through a gate, that is opened and closed prior to the start/stop messages.

kleurbleur's icon

Yes @unique1 did the trick! Thanks! :)

When do you think the fix for jit.movie will be released? I'm not expecting it for this project, but just good to know.