This content has been marked as final. Show 3 replies
There is no practical way to synch two independent movieClips, let alone
two video clips. You are decompressing the files at runtime. The amount
of work that the computer has to do is directly proportional to the
amount of data that is in the files.
Using a third party compressor, like Squeeze, you can set a data rate
for the finished, compressed file. With a low enough data rate, you can
usually get reliable playback of at least one .swf video or .flv video
file. This is the same methodology that's used for compressing real
video files like Quicktime.
When you add a second file to be played simultaneously, you are more
than doubling the amount of work to be done.
With judicious use of a third party compressor you may be able to get
acceptable playback on most computers, but there's no way to guarantee
If there is no sound in these videos, you might be able to lock step
them by playing each frame by frame, but that may make the process worse.
One sure solution is to re-edit the two original files into one video
and then save that out as an .swf or .flv.
Thanks for your reply. But...
I understand your idea that you can't sync FLVs because of thier variable decompressing rates. However, I have seen web sites where the programmers were able to keep two flv videos in sync. For example, in the Pirates of the Caribbean promo site ( http://www.ilm.com/theshow/) they are able to sync up two flv videos. In turn, the user can look through the foreground video (which contains the special effects) and see the background video which contains only the original footage.
Any ideas how they might have done this?
Sure, they're not in synch. At least on my computer. They're close but I
can see differences in movement in the "Davy Jones" clip in the
"Experience" section of the site. I'm guessing that's the section that
you're referring to.
One of the tricks used on sites like this, is to use very short shots.
At every cut there's an opportunity to resynch the two clips. Since each
one, in this example, has the same number of frames, the clips can be
re-set at each cut frame.