Forums > Jitter

stop playback at specific time

June 18, 2013 | 7:40 am

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!


June 18, 2013 | 9:59 am

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 ]


June 18, 2013 | 5:00 pm

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.


June 18, 2013 | 5:20 pm

ignore that please! found in the tutorials…


June 18, 2013 | 5:57 pm

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>


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