hi mick,
that's exactly what i had in mind. i'd like to have a look at your external.
tom
Hi,
Saw this thread and remembered that I have an abstraction which does this.
The way I organised it, the audio for the file was given the same name as the video file (file1.avi = file1.avi.wav), and the message was passed onto the 'read' message (using list2symbol), loaded the file into the array(used -maxsize so array wouldn't truncate the file), calculated the total number of samples, divided it by 44.1 (or whatever the sample rate was) and then by the total number of frames in the video file. Then your frame number can be used to control video and audio whilst maintaining perfect sync. I had to adjust the start frame so that the delay in frame display could be factored out - the number of frames depends on the codec.
If you're interested in seeing it (it's a bit messy) i'll post it.
hope this is of interest to you.
Mick