From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 5 17:38:18 2005 Return-Path: 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 5814C16A4CE for ; Sat, 5 Feb 2005 17:38:18 +0000 (GMT) Received: from feith1.FEITH.COM (feith1.FEITH.COM [192.251.93.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3D9743D1D for ; Sat, 5 Feb 2005 17:38:17 +0000 (GMT) (envelope-from john@feith.com) Received: from jwlab.FEITH.COM (jwlab.FEITH.COM [192.251.93.16]) by feith1.FEITH.COM (8.12.10+Sun/8.12.9) with ESMTP id j15HcFxe029823; Sat, 5 Feb 2005 12:38:16 -0500 (EST) Received: from jwlab.FEITH.COM (localhost [127.0.0.1]) by jwlab.FEITH.COM (8.12.10+Sun/8.12.10) with ESMTP id j15HcFLW016577; Sat, 5 Feb 2005 12:38:15 -0500 (EST) Received: (from john@localhost) by jwlab.FEITH.COM (8.12.10+Sun/8.12.10/Submit) id j15HcFs5016576; Sat, 5 Feb 2005 12:38:15 -0500 (EST) Date: Sat, 5 Feb 2005 12:38:15 -0500 (EST) From: John Wehle Message-Id: <200502051738.j15HcFs5016576@jwlab.FEITH.COM> To: steven@403forbidden.net Content-Type: text X-Scanned-By: MIMEDefang 2.48 on 192.251.93.1 X-Archived: cashew.FEITH.COM cc: freebsd-multimedia@freebsd.org Subject: Re: Hardware recommendations for MythTV/FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 17:38:18 -0000 > It works but I wish I could alter the bit rate the pvr card outputs > at, 10mbit resolution creates 4gig/hr files at full NTSC size. Simply modify dvd_ntsc_profile in cxm.c, recompile, and reload the module. Some suggested bitrate values are: { 0, 9000000, 9520000 }, /* 1 hour on 4.7 GB media */ { 0, 4000000, 4520000 }, /* 4 hours on 8.54 GB media */ > Also anyone solved the "encoder dma not enough buffer space free" error or > even why it occurs? It indicates the application isn't consuming the data fast enough. In the case of mplayer some options are: a) Better video card. Personally I like the ATI Radeon cards. b) Better Xserver (i.e. XFree86 4.4) which supports using the video card hardware for things like colorspace conversion and MPEG motion compensation. This is of course assuming your video card has hardware for those sorts of things. c) Faster processor. d) More memory (only if your machine is actually swapping). e) Modify mplayer to implement application real time buffering using METEORSSIGNAL (basically copy libmpdemux/tvi_bsdbt848.c to libmpdemux/tvi_bsdcxm.c and start hacking) or try increasing CXM_SG_BUFFERS. This only helps if the problem is due to large bursts of data ... it will not help if your machine is simply not fast enough to keep up with the average data rate. f) Enable MPlayer's frame drop option (more of a workaround than a solution). BTW using: $ cat /dev/cxm0 | mplayer - causes the machine to do more work than: $ mplayer /dev/cxm0 -- John ------------------------------------------------------------------------- | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com | | John Wehle | Fax: 1-215-540-5495 | | -------------------------------------------------------------------------