From owner-freebsd-multimedia Mon Oct 28 11:22:43 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4D4537B401 for ; Mon, 28 Oct 2002 11:22:41 -0800 (PST) Received: from smtp4.wanadoo.nl (smtp4.wanadoo.nl [194.134.35.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 939E343E4A for ; Mon, 28 Oct 2002 11:22:39 -0800 (PST) (envelope-from steve@sohara.org) Received: from ams-gw.sohara.org (i0851.vwr.wanadoo.nl [194.134.211.87]) by smtp4.wanadoo.nl (Postfix) with SMTP id D0AA43E69E; Mon, 28 Oct 2002 20:22:35 +0100 (CET) Date: Mon, 28 Oct 2002 20:22:30 +0100 From: Steve O'Hara-Smith To: Carl Makin Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: FreeBSD 4.7R: no sound when recording with ffmpeg? Message-Id: <20021028202230.1283e8cd.steve@sohara.org> In-Reply-To: References: <20021028063325.224adec5.steve@sohara.org> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.7) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 28 Oct 2002 23:21:32 +1100 Carl Makin wrote: CM> I have a Celeron 600 and the above ffmpeg parms give me excellent CM> video with only the occasional jerkyness, At what resolution ? I'm impressed if a Celeron 600 can keep up with full resolution (720x576 for PAL). CM> however the audio goes out CM> of sync *very* quickly. After 120 seconds of recording the sound is CM> obviously wrong. How do you keep the audio in sync? Erm, well, erm, it just stays in sync for me. Is the sound slippage related to the jerkiness (I'm thinking that the video is skipping occasional frames but the audio is complete which is what I'd expect to happen if frame encoding overuns from time to time). CM> Any hints? Not unless I can figure out a way to detect a missed frame sync interrupt (that bit is easy enough) and sort out the resultant mess, which would be a neat trick.