From owner-freebsd-multimedia Sun Oct 6 6:59:19 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 BF86F37B404 for ; Sun, 6 Oct 2002 06:59:18 -0700 (PDT) Received: from mother.ludd.luth.se (mother.ludd.luth.se [130.240.16.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B1D43E3B for ; Sun, 6 Oct 2002 06:59:17 -0700 (PDT) (envelope-from pb@ludd.luth.se) Received: from brother.ludd.luth.se (brother.ludd.luth.se [130.240.16.78]) by mother.ludd.luth.se (8.11.6+Sun/8.9.3) with ESMTP id g96DxGw26593; Sun, 6 Oct 2002 15:59:16 +0200 (MEST) From: Peter B Received: (from pb@localhost) by brother.ludd.luth.se (8.11.6+Sun/8.9.3) id g96DxF223298; Sun, 6 Oct 2002 15:59:15 +0200 (MEST) Message-Id: <200210061359.g96DxF223298@brother.ludd.luth.se> Subject: Re: mplayer patch for brooktree realtime grabbing In-Reply-To: <20021006153216.78120bd6.steve@sohara.org> from "Steve O'Hara-Smith" at "Oct 6, 2002 03:32:16 pm" To: steve@sohara.org (Steve O'Hara-Smith) Date: Sun, 6 Oct 2002 15:59:15 +0200 (MEST) Cc: freebsd-multimedia@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 Steve O'Hara-Smith wrote: >On Sun, 6 Oct 2002 14:21:13 +0200 (MEST) >Peter B wrote: > >PB> In libmpdemux/tvi_bsdbt848.c at line 624: >PB> priv->fps = 16; /* ! */ > > Ouch, doesn't that practically guarantee catching partially >updated frames given that the incoming rate is 25 or 30 fps ? The >grab_bsdbktr.c I wrote for ffmpeg uses the signalling available >from the bktr driver to ensure proper frame capture (and runs at >25 or 30 fps or an exact fraction if the CPU can't keep up). You should be right, however I have experienced it just won't work like that in practice. I'm concentrated on the video encoding (uyvy,rgb32,yv12 etc..). And more compact sound encoding. So I deal with the fps problem later. I have tested some fullframe recordings without proper results. It might be a sync or bus problem. /Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message