how to sync audio to movie (and vice versa)

    Feb 26 2008 | 10:46 am
    I've searched the archives about playing audio of a movie file. I don't do that often but each time it seems like a pain to do it.
    As i'm using QT7, i guess i have to forget spigot~.
    Then, archives suggest to use the third outlet of an sfplay~. But is it reliable ? ( a post from 2005 says it is not)
    Moreover, my movie has to be perfectly synchronized (to make it brief, each instrument of the rythmn track "triggers" a visual stuff), so i'm affraid to use the ms to frame conversion to drive my
    I know a lot of people here do this all day long, maybe you could tell me how to do it the best way ?
    Also, i wonder why there's no example patch for something so simple as playing a movie in sync with its audio track in an audio/video software like max...
    I know this is a very very basic question and i'm sorry i didn't find any help in the archives.
    -- f.e chanfrault | aka | personal computer music >>>>>>> >>>>>>> |sublime music for a desperate people|

    • Feb 26 2008 | 11:25 am
    • Feb 27 2008 | 5:27 pm
      f.e schrieb: > Is it supposed to be reliable ? : > > ...... >
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()
    • Feb 28 2008 | 10:32 am
      On Wed, Feb 27, 2008 at 9:27 AM, Stefan Tiedje wrote: > f.e schrieb: > > > Is it supposed to be reliable ? : > > > > ...... > > > #P newex 213 339 44 9109513 metro 2; > > ..... > > nice example, but I'd like to know why (I've seen it a lot) you set a > metro with 2 miliseconds?
      It's an unfortunate artifact of people copying some of the help/example patches without modification. That's why you see it so much.
    • Feb 28 2008 | 3:40 pm
    • Feb 29 2008 | 9:41 pm
      yeah, i would think a local, hard-wired network would have no problem sending out 25 frame sync messages per second, without any noticeable issues. if so, perhaps slightly delay the "sync-er" to better match the "sync-ees".
    • Mar 03 2008 | 10:55 pm
      i got frame accurate results using same resolution, 25fps photojpeg files over 4 macmini G4 computers. I was actually using one computer as master counter (qmetro 40 -> counter) and sending 4 different frame messages over udp.
      recently i tried only triggering (start-stop) 4 movies (because i needed sound), but i couldn't get them to start at the same time. they were always up to 1 second late. i didn't have enough time to test it, but the patch as very simple. the only difference was that master computer was also playing one of the movie files - i suspect that the problem was that i started start movie file and tried to send start messages after that - maybe computer was too busy starting quicktime file to be frame accurate. i plan to try the same patch with different message order. i wonder if i'll get better results.