From owner-freebsd-multimedia Mon Dec 22 10:15:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA12279 for multimedia-outgoing; Mon, 22 Dec 1997 10:15:46 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA12274 for ; Mon, 22 Dec 1997 10:15:43 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Mon, 22 Dec 1997 13:10:55 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA21178; Mon, 22 Dec 97 13:10:54 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id NAA13871; Mon, 22 Dec 1997 13:10:22 -0500 Message-Id: <19971222131021.09670@ct.picker.com> Date: Mon, 22 Dec 1997 13:10:21 -0500 From: Randall Hopper To: Luigi Rizzo Cc: hasty@rah.star-gate.com, multimedia@FreeBSD.ORG Subject: Re: MPEG audio/video sync & Re: These mtv video pauses are murder References: <19971222121942.13340@ct.picker.com> <199712221632.RAA02664@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <199712221632.RAA02664@labinfo.iet.unipi.it>; from Luigi Rizzo on Mon, Dec 22, 1997 at 05:32:40PM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo: |well my point was that the right (I would even say "the only") approach |to get timing info in a video+audio steam is to use the audio sample |clock. It makes life easier in the reproduction phase since it is much |easier then to keep video in sync. | |Probably my previous posting was confused enough to obscure the above |point. Oh ok. Now I see what you mean. That's a good point. Rather than clock to "realtime" and assume that the sound driver is going to faithfully record (& then play) 44.1KHz samples at "exactly" 44.1Khz. Clock to the audio, so if the associated driver happens to record or play a little slower/faster, the video still stays in sync. I'll browse around over the holidays and see what I can find out about MPEG audio/video sync options (the PTS field Pete mentioned, etc.). Randall