jit.qt.record, save video starts from beginning

gammon's icon

Hi ... and all my best wishes for 2013 ;-)

May someone can help me:
My patch is playing a movie, i do some color changing and then i record the new movie. Everything is working fine. But i would like to add something comfortable: The video is already playing in loop. As soon as i wrote the filename and press save the video should start from the beginning. How can i add a bang in the right moment and start the video at the loopstart point (if i choose one) or from beginning ?

(to stop the Video at its loopend was easy: @loopreport 1 > bang stop on jit.qt.record)

Max Patch
Copy patch and select New From Clipboard in Max.

Thank you for your help.
Best
gammon

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You can send the "jump 0" or "jump_true 0" message (se jit.qt.movie reference for explanation) to jit.qt.movie when sending the "record" message, to jump to the first frame of the movie.

gammon's icon

Hi LSka

Thanks for your help. Now i know what i did wrong. I send out the bang first, you did it last. And "jump" is also a good tip.
... but what would you recommend to send if it should start at a selected looppoint ?

Thanks,
gammon

LSka's icon

The patch in Jitter Tutorial #4 should give you good inspiration on setting looppoints and doing time/frame converting.
https://cycling74.com/docs/max6/dynamic/c74_docs.html#jitterchapter04