Removing objects once out of the canvas

By that would you mean the movie video library?

If it’s hardware-related, like video for example, you’re also gonna need to invoke some method which releases those resources.

For the Movie class that method is dispose():
https://github.com/processing/processing-video/blob/r8-2.0/src/processing/video/Movie.java#L111-L126