From owner-freebsd-multimedia Wed Feb 16 14:47:23 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 308C637B505 for ; Wed, 16 Feb 2000 14:47:21 -0800 (PST) (envelope-from rhh@ipass.net) Received: from charon.ipass.net (charon.ipass.net [198.79.53.8]) by builder.freebsd.org (Postfix) with ESMTP id 42DCB132E2 for ; Wed, 16 Feb 2000 14:46:42 -0800 (PST) Received: from stealth.ipass.net. (ppp-2-76.dialup.rdu.ipass.net [209.170.133.76]) by charon.ipass.net (8.9.3/8.9.3) with ESMTP id RAA18794; Wed, 16 Feb 2000 17:47:11 -0500 (EST) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id RAA03961; Wed, 16 Feb 2000 17:49:00 -0500 (EST) (envelope-from rhh) Date: Wed, 16 Feb 2000 17:49:00 -0500 From: Randall Hopper To: =?iso-8859-1?Q?Jukka_Simil=E4?= , Amancio Hasty Cc: pstern stern , multimedia@FreeBSD.ORG Subject: Re: fxtv Message-ID: <20000216174900.A3659@ipass.net> References: <200002132013.MAA32560@rah.star-gate.com> <200002131950.LAA32333@rah.star-gate.com> <38A6C584.4382ADB6@iname.com> <200002131950.LAA32333@rah.star-gate.com> <38A6C584.4382ADB6@iname.com> <004201bf7610$2a29ccc0$0100a8c0@sjukebox.home> <200002131117.DAA06873@rah.star-gate.com> <004201bf7610$2a29ccc0$0100a8c0@sjukebox.home> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0pre3i In-Reply-To: <004201bf7610$2a29ccc0$0100a8c0@sjukebox.home> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jukka Similä: |btw I wanted to ask a question, in case somebody is able to answer it: |what's the main difference between Hauppauge's own capture program and |fxtv's capture-option? |I mean, I can capture video @ 320x240, YUV9(?) , ~30fps + 44kHz mono sound |(windows) but in freebsd the frame rate falls down to 14. Is Hauppauge's |prog just better optimized? Amancio Hasty: |Do you have dma enabled on your disk? |What is the video format that you are using to capture on FreeBSD? Jukka Simila: |Well, after a reconfiguration I got 24fps with 320x240,YUV (the fps that |"Optimize" tells me). Does the fxtv limit the maximum fps to 24? I noticed |it was 24 even with 160x120. I've used DMA on 3.0 since it came out. Works great. Jukka, something like: controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 It's the 0xa0ffa0ff that does the trick, enabling it if the drives support it. On boot, you should see something like: wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S ... As to the FPS issue, I've never squeeked 30fps out of fxtv for 320x240 even with DMA. Though I've never bought AV drives, striped my disks, or some of the common things that would beef up my disk bandwidth. It's disk bandwidth that's the issue. Fxtv doesn't limit the maximum FPS to 24. It picks that number by trying some test frame captures to disk and seeing what the average write rate is. If your process blocks on disk writes (buffer full, etc.) at all, it'll take you down from 30fps. Note that if you're fixing to encode an MPEG, mpeg_encode only supports encoding at 24, 25, or 30fps. So there's not much point in capturing at 26 for example. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message