recording precise video lengths...


    Oct 30 2007 | 5:43 pm
    Hello forum - quick pointers needed...
    I've got a patch working that loops/manipulates qt videos that are 'read' into jit.qt.movie. It works fine, but I need to convert it to working with live input.
    So my question is - what's the best way to chop up live video into, say, eight 1500ms chucks, and have them assigned to 8 different qt.movie objects?
    I've read the relevant tutorials, but is seems very complicated...I could do it in 2 minutes if it was just audio, but videoland is making my brain ooze...
    Thanks for any clues,
    Lee Morgan

    • Oct 30 2007 | 6:35 pm
      try this fun patch. If you really want 8, this may get a bit bogged down in disk access and qt.movie decompression. You can swap out the qt.record+qt.movie for a jit.matrixset method for better performance, though memory might get tight, and you aren't left with all the handy clips. This qt-based method may not be precise enough, either...
    • Oct 31 2007 | 7:50 pm
      pnyboer - that's so cool...what can I say? I owe you a drink - and I even have a recipie for that too.
      It's all working fine, just got to get the audio to record as well. The manual and help files seem to have about 5 ways to turn the audio-recording side of jit.grab on, but none are helping. If you wouldn't mind this last piece of the puzzle.....
      Really, this is very sweet of you. I'll get the cocktail shaker out.
      Lee
    • Nov 01 2007 | 2:56 pm
      This is driving me insane. Does jit.qt.record not record audio along with video? Meaning I have to use jit.vcr, and split the incoming audio? That seems crazy....or can I replace the jit.qt.record with another grab object? It's so close to being a great patch, with the name-generating patch especially smart. I just want the sound to reach the recorded movies too....
      Any help handsomly paid for (in esteem, anyway...)
      Lee
    • Nov 01 2007 | 11:42 pm
      green patch cord means matrix data.
      you want to record audio using msp objects.
      jit.vcr seems like exactly what you want.
      what is the problem with using that?
      before jit.vcr, this was a pain, but now...
    • Nov 02 2007 | 6:57 am
      I appreciate that jit.vcr does that, it's more the fact that with the grab object, you can hear and loop the audio without even having to route audio in to max/msp. But if that's the only way to make the excellent patch posted above audio too, then I'll try that. I guess it's about accepting that a matrix and a sound-filled qt.movie aren't as closely related as they appear.
      Best wishes,
      Lee
    • Nov 02 2007 | 4:19 pm
      sorry i missed the follow up on this!
      glad the patch worked out for you...mostly.
      here's another way of doing it.
      I looked at qt.grab help file and was reminded that it has it's own recorder built in. Lesson learned - just when you think you know everything, you don't.
      This will do audio and video. The drawback to this method is that your live camera feed is kinda shot during recording, in spite of the supposed "write_preview" support. You also have less control over audio, so clicks and pops at loop points may be prevalent, since you can't do a nice fade in/out at start/end as you could with the MSP audio.
      That said, this patch is HELLA FUN!