how to sync audio to movie (and vice versa)
Hello,
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 jit.qt.movie...
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.
best
f.e
--
f.e chanfrault | aka | personal computer music
>>>>>>> http://www.personal-computer-music.com
>>>>>>> |sublime music for a desperate people|
f.e schrieb:
> Is it supposed to be reliable ? :
>
> ......
>
--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com
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.
wes
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".
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.