Forums > Jitter

Problem with sel and jit.qt.movie

August 23, 2013 | 9:47 am

Hey Max fans,

I’m trying to route the time and duration of a movie to a sel object so that I can start crossfading at a specific percentage from the end of a movie. I’m using the duration to determine the starting point for the crossfade and using the current time to trigger a sel object based on that number. It seems really straightforward, yet the sel does not send out a bang when the time reaches the number set by the duration. Does anyone know what I’m doing wrong or have a better way of doing this? A very simplified version of the patch is pasted below.

Thanks!

– Pasted Max Patch, click to expand. –

August 23, 2013 | 10:42 am

Your odds of the reported time hitting exactly the duration of your movie are extremely low (say, roughly 5% likelihood). So instead of testing for an exact match with sel, you should use [>=] to [change] to [sel 1].

Your problem is addressed in this thread:
stop playback at a specific time
including some examples of what I described above.


Viewing 2 posts - 1 through 2 (of 2 total)