stop playback at specific time

Jun 18, 2013 at 7:40am

stop playback at specific time

I’m using the jit.qt.movie object to play a rather long video file that I want to split into multiple sections that automatically stop at differing lengths. I realise that I could edit it and load in multiple clips, but I’d like the option to change the input file after a while.
Triggering at specific times and stopping it are fine, as is getting a read out of time data etc.

However, getting the playback to stop at a specific place is proving to be more difficult than I thought. I tried using sel attached to the time number out but it doesn’t seem to have any effect, however it is sending a bang when tested without movie playback (perhaps the numbers are updating too fast?).

I’ve googled and searched the forum/tutorials but haven’t found anything that does this.

Does any one have any ideas? Next step is some data scaling into minutes/seconds from ms perhaps?

Thanks!

#253093
Jun 18, 2013 at 9:59am

sel is not going to work, as there’s very little chance the movie will output the exact time value you are looking for.

to stop at time value 1000, use something like
[ route time ] -> [ > 1000 ] -> [ togedge ] -> [ stop ]

#253099
Jun 18, 2013 at 5:00pm

Thanks very much for the idea, I’ve got something working now.
Except, my timings are off, have you seen an accurate way to automate the conversion of Quicktime time units to ms? I seem to be a bit off.

#253190
Jun 18, 2013 at 5:20pm

ignore that please! found in the tutorials…

#253198
Jun 18, 2013 at 5:57pm

These might be helpful…
Jitter Tutorial 4: Controlling Movie Playback,
Example 48: Test movie timing to make editing decisions,
and
Autostopping a movie:
<code>

– Pasted Max Patch, click to expand. –

</code>

#253200

You must be logged in to reply to this topic.