Detect end of video playback

jamesbrown's picture

Is there a robust method for detecting the end of video playback in Quartz Composer?

Thank you

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

smokris's picture
Re: Detect end of video playback

Besides the Image output, the Movie Loader patch provides two other outputs --- when the Movie Position output is greater than or equal to the Movie Duration output (use the Conditional patch to detect this), one playback has completed. By default the Movie Loader patch will loop playback.

jamesbrown's picture
Re: Detect end of video playback

Thank you that is very helpful

nalayevlum's picture
Re: Detect end of video playback

How would you send the result of the conditional patch to movie loader to stop the movie from looping when, in asynchronous mode, patch time is not available as a movie loader input?