Re: Saving and playing a video conference

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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)
  • Trip Report Las Vegas July/August 2011
    ... dropping $400 playing 25c fullpay Pick'em video poker at the Fremont Casino. ... Armed with matchplay and freeplay coupons from ACG and LVA MRB, I drove to Ellis Island to use an LVA MRB coupon: ... I then played the FPDW machines for a few hours and although I ran through a couple of thousand dollars through the machines, I then went to the player's club to use my MRB coupon: play $1,000 get $10 of free play. ...
    (alt.vacation.las-vegas)
  • Re: Trip Report Las Vegas July/August 2011
    ... Machines, Seeing the Lovin' Spoonful at the Suncoast Casino. ... I then drove to the Palms where I used a coupon I bought on-line: ... I then went to the player's club to use my MRB coupon: ...
    (alt.vacation.las-vegas)