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?
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 ]
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.
ignore that please! found in the tutorials…
These might be helpful…
Jitter Tutorial 4: Controlling Movie Playback,
Example 48: Test movie timing to make editing decisions,
Autostopping a movie:
----------begin_max5_patcher---------- 931.3oc2X0saZCCF8Z3ovJWyP1N+PXRah8LrKmppBDWvUD6zDmV1p1697OAH PINltPjZuwA6XrO93y24yNuNdj2R9NRoG3qfeAFM50wiFoaR0vn55i7xR1sZ aRotadYjxxj0DuIl2IH6D51KHIo6aLOQrZCks99BxJgYv8wSgS.wPUoenpDE OEBtq9ePS0CBe4ieAGreXXUYT1VhPOw35FefyDrjLht++nflrsQ24Uh88GU2 poIwuyIFf34cXRUCUI8O5Wfj3S05eGOVULwQ1XEOKivDugMJE7bfflcfmdnX 8R0aTDPqjDFGnYlPMYENWUhgsPS3KRSnqjlf8GWzlxXsj9kLwDvxD1ZKRDi3 ntz2pDA9ARhzFsTJRJDd1DC9MBYBrwGn3OE7AO2BcflE1fNrJOPQefnCF4EI leKaP1Bf.T2DRXjlJPg1LKPW1S0+JYD+1XDSj8wm8JCI3qWukzowgw6DCsxC 9VMMySJjrffTbOgkrbKooAoiZCpLY.3t9SG7jDOEb.Nry0uQHDYWGft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