jitter video scratch


    Feb 11 2008 | 2:34 am
    hi,
    i'm new to the forum, and also new to max/msp/jitter, as i didn't work with it for the last 3 years. so everything is a bit gone, and now i'm just trying to get back on it, as i always loved it.
    about my problem, i build this little patch, to play videos and scratch through them, but i'm realizing that the video scratches through the whole timeline, not only the looped/selected part. the second thing is, that if i scratch, its still kind of playing back, and i would like it to stop as soon as i start scratching, and start playing back when i stop. basically, how do i set a mouse event, thats stopping the playback when i click in the slider and starts when i release the slider?
    i'm trying to build a little basic application which allows me to select 4 videos and play around with them, its for a theater projection.
    thanx a lot!!
    here's the patch

    • Feb 11 2008 | 9:47 pm
      Not quite a solution to your patching problems, but an alternative.
      The scratching of video or audio can be controlled by time code embedded in the vinyl. It works pretty well actually. I haven't tried scratching video with anything other than the vinyl, but it comes with max code and patches to use. I'm sure it could be modified to suit your needs.
    • Feb 12 2008 | 4:27 am
      thanx DonK,
      have to take a look at ms.Pinky, but like you said, it's not really a solution to my problem. but i'm pretty sure that there is an easy solution to my problem, i just can't find it right now, but i'll keep trying.
    • Feb 12 2008 | 5:24 am
      with regards to pausing normal playback whilst scratching, you can try looking at the mousestate object (i think that's what it's called). the logic would go something like: when the mouse is over the region of the screen occupied by the scrub bar, and the button is down, set the movie rate to 0. when the mouse button is up, set the movie rate to 1.
      your movie is jumping to where you tell it (with the time message). if you only want to scrub based on your loop points, you have send those points as the min and max to the scrub bar (or scale the output of the scrub bar. look at the "scale" object).
      -rob
    • Feb 13 2008 | 12:32 am
      hi rob,
      thanks for your answer, but i still can't get it running.
      i'm trying the loop thing first, with the looppoints telling the scrub bar the min and max, but its still playing the whole timeline.
      i simplified the patch a bit so its easier to follow.
    • Feb 13 2008 | 12:50 am
      hey, found the solution for the stop and plat in the scrub bar, actually it was in the jitter/quicktime examples, "jit.qt.movie-looppointscrub.pat", but still no luck with the defined loopoints.
    • Feb 13 2008 | 12:57 am
      look in your max log.
      multislider does not like min/max, it takes a setminmax message, so use pack or whatever.
      :P
      On Feb 12, 2008, at 7:50 PM, jan wrote:
      > > hey, > found the solution for the stop and plat in the scrub bar, actually > it was in the jitter/quicktime examples, "jit.qt.movie- > looppointscrub.pat", > but still no luck with the defined loopoints.
    • Feb 13 2008 | 1:25 am
      hi vade, sorry for my stupidity, but when i pack the 2 arguments, my multislider divides into two sliders, and that doesn't really help, how can i set the sliderrange to the specified loopoints, so that i have one slider with whom i can scratch in between them? again, sorry for my noobish questions.
    • Feb 13 2008 | 1:32 am
      [pak setminmax 0 0]
      On Feb 12, 2008, at 8:25 PM, jan wrote:
      > > hi vade, sorry for my stupidity, but when i pack the 2 arguments, my > multislider divides into two sliders, and that doesn't really help, > how can i set the sliderrange to the specified loopoints, so that i > have one slider with whom i can scratch in between them? > again, sorry for my noobish questions.
    • Feb 13 2008 | 1:43 am
      hey vade, thanks a lot, its working, and i learned some more.
      i have a little problem left, which i thought i figured out, but its somehow not working, and i don't know why, cause i tried it before and it was working. i added the mousefilter from the example patch: "jit.qt.movie-looppointscrub.pat", i want the scrub bar to stop while scrubbing, but it's not working somehow, maybe you got any idea how to fix that.
      thanks again!
    • Feb 13 2008 | 1:48 am
      sorry, figured out that i forgot to hook the scrubbar to the gate.
      solved.
      hey vade, good to know that there are some people out there investing their time even into some noobs, appreciate it a lot!!