Re: Saving and playing a video conference



David wrote:

> An approach is to save both sides of the conversation to
> two different files. If both files get created at the
> same time and the recording process stops for both files
> at the same time, then playing the two files at the same
> time should cause the two files to be close to
> synchronized?
>
> This approach would not seem to be reliable.
>
> Is there a reliable way of doing this? I would like to be
> able to play the two files in synchronization without
> user interaction. Meaning that once a conversation is
> saved the user could go back and choose the saved
> conversation and play the files and they would play
> synchronized.
>
> Is there any information stored in the two files that
> could be used to sync them up? If so, is it possible to
> get to the information and use it?
>
> I'm fine with restrictions like the computers have to be
> time synchronized. My application will be running on a
> local area network.
>
> Is there a way to insert a marker in each stream to be
> used for syncing?

If you can record both sides on the same machine, create an
AVI or WMV with 2 video and 2 audio streams so that the
container will keep the streams in sync for you.

If you need to record each side on different machines, you
can still play the separate files in the same graph so that
the samples will be rendered in sync, as long as the files
have the same rate.

However, there might be a time offset which is not easy to
correct. If you keep the machines in perfect sync using NTP
(Windows 2000/XP/2003 has a built-in client and the servers
also a built-in server), you can save a timestamp either in
the file header or anywhere else (even the file name) that
tells you the exact start time, so that you can correct the
offset during playback. However, NTP may not be precise
enough (NTP can be precise to the millisec, but that may not
be true or enough).

Even harder than the offset will be a difference in rate
caused by a drift in the machines' clocks. You can resync
using NTP often, but that may not be enough.

--
// Alessandro Angeli
// MVP :: Digital Media
// a dot angeli at psynet dot net


.



Relevant Pages

  • Re: time sync advise
    ... > and i would like to sync the time of all these machines with a time ... Sorry for asking about windows in the post, ... IMO there is no reason not to use NTP. ...
    (comp.unix.solaris)
  • Re: Windows XP NTP and stratum level
    ... I use Dimension 4 to sync up my systemtime. ... >I have a problem with all my Windows XP machines on the network. ... I have NTP ... > configured and running on my routers. ...
    (microsoft.public.windowsxp.general)
  • Re: NTP weirdness
    ... The two servers' clocks are ... perfectly in sync. ... synchronize to the two above named servers (not the upstream NTP ... *none* of your client machines are working fine. ...
    (Debian-User)
  • Stockholm Open Tourney Report
    ... It was easy to get to by metro, had food available inside and outside the building, and the machines were spread out in several very open rooms. ... The guys running the tournament were friendly and kind enough to explain the rules to this pinball tourney newbie. ... Friday morning play was expectedly quiet with only a few people starting to play their entries by 11:00. ... Missing, of course, were the old Stern and Atari games - I don't believe they ever sold them in any decent quality in Europe. ...
    (rec.games.pinball)
  • Camerons Trip Report, Nov. 8-15, 2008, part 2 of ?
    ... Now, I don't usually play slots, but I can't resist a wacky slot with a ... Nothing like slot machines based on game shows. ... I got to hit the wheel a few times, but it never paid more than $30. ... maybe watch a little TV in my room @ the Golden Gate. ...
    (alt.vacation.las-vegas)