bang after movie file finishes....?

b00kwheat's icon

sfplay~ can send out a bang when cue, file, seek, or list of cues is finished.

anyone know how to do that w/ movie files using jit.qt.movie or any alternative object?
I want to send a bang after the movie file finishes playing.

can anyone point me to the correct tutorial?

mark henrickson's icon

the loopreport message to jit.qt.movie may be worth looking at.

b00kwheat's icon

hi mark,

thanks for your response. the loopreport message sends a bang every time the file loops.
but when I turn loop off loopreport sends a bang only at the beginning of playing the file.

how can I send one bang when it reaches the end w/ loop turned off?

Samuel Freeman's icon

my hacked solution to a similar situation was to poll jit.qt.movie with the 'gettime' message and work with the value it returns...

Steven Miller's icon

Can you route the bang to also stop the playback in addition to triggering whatever else you want? This way you get the bang at the end of the loop, but it stops playing before playback begins again.