From owner-freebsd-multimedia Sun Oct 6 5:21:18 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 26D0437B401 for ; Sun, 6 Oct 2002 05:21:17 -0700 (PDT) Received: from mother.ludd.luth.se (mother.ludd.luth.se [130.240.16.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD6EE43E4A for ; Sun, 6 Oct 2002 05:21:15 -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 g96CLDw21323; Sun, 6 Oct 2002 14:21:13 +0200 (MEST) From: Peter B Received: (from pb@localhost) by brother.ludd.luth.se (8.11.6+Sun/8.9.3) id g96CLDk22983; Sun, 6 Oct 2002 14:21:13 +0200 (MEST) Message-Id: <200210061221.g96CLDk22983@brother.ludd.luth.se> Subject: Re: mplayer patch for brooktree realtime grabbing In-Reply-To: <8E975C0A-D923-11D6-A5F6-0050E445BE6D@stagecraft.cx> from Carl Makin at "Oct 6, 2002 10:02:59 pm" To: carl@stagecraft.cx (Carl Makin) Date: Sun, 6 Oct 2002 14:21:13 +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 Carl Makin wrote: >Hi Peter, > >On Wednesday, October 2, 2002, at 03:51 PM, Peter B wrote: > >> I posted earlier about using mencoder from the mplayer package with >> brooktree >> cards. It turned out to be hard to get it working. However I have now >> modified >> mplayer source to accomplish this. > >Thanks for the patch. I've applied it here and it also works. The one >problem I'm having is that it always encodes at 16 fps. Top is showing >60% to 80% CPU. I specify -ofps=25 which seems to make the output a cpu, mobo? >little smoother and mplayer then reports the avi as having 25 fps, but >it is obviously still encoding at 16 fps. Anyone know how to specify >framerate to the avcodec encoder? In libmpdemux/tvi_bsdbt848.c at line 624: priv->fps = 16; /* ! */ Change this value to alter fps. This should be done in another way, but hey it's still at hack status ;) I also discovered that using mplayer to view tv will result in rgb32 being converted into uyvy. So this format will be added later to minimize overhead. (it's avail in the unmodified driver) /Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message