From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 10 13:40:50 2003 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 3084D37B401 for ; Thu, 10 Jul 2003 13:40:50 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E40F43FBD for ; Thu, 10 Jul 2003 13:40:48 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h6AL6eIv013413; Thu, 10 Jul 2003 17:06:40 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h6AKeldO037075; Thu, 10 Jul 2003 13:40:47 -0700 (PDT) (envelope-from jmg) Date: Thu, 10 Jul 2003 13:40:47 -0700 From: John-Mark Gurney To: "Steve O'Hara-Smith" Message-ID: <20030710204047.GC35337@funkthat.com> Mail-Followup-To: Steve O'Hara-Smith , Sean_Welch@alum.wofford.org, multimedia@freebsd.org References: <7192223.1057850975979.JavaMail.nobody@kermit.psp.pas.earthlink.net> <20030710191329.GB44762@funkthat.com> <20030710222923.0ece3692.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030710222923.0ece3692.steve@sohara.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: Sean_Welch@alum.wofford.org cc: multimedia@freebsd.org Subject: Re: BSD video capture emulation question X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 20:40:50 -0000 Steve O'Hara-Smith wrote this message on Thu, Jul 10, 2003 at 22:29 +0200: > On Thu, 10 Jul 2003 12:13:29 -0700 > John-Mark Gurney wrote: > > JMG> Yes, video capture in FreeBSD is sorely lacking. I recently did a > JMG> Zoran driver and found that the bktr interface is horrid. > > Did you make it fit the bktr interface then ? Is there any chance > of it working in RELENG_4 ? If so can I play with it ? Yes, I followed the bktr interface, but the bktr interface needs to disappear ASAP! The bktr interface is very bad as we make FreeBSD multiplatform. It lets the user supply the physical address when doing video overlay to the video card. This should be handled by the driver, not the userland app. It is only for -current. There was some issues w/ -stable that other people had, but I'm not sure what it was. I don't have any -stable boxes right now (nor any i386 boxes for that matter), so work is kind of frozen. I would prefer to design a new extensive interface for multimedia before putting more work into the driver. > AFAICS what's needed is someone with some insight into what makes > a good video API if FreeBSD is ever going to get one. The innards of > things like ffmpeg and transcode are probably worth looking at as models. Hmmm. I'll have to look at that. But there is more than just codec handling. One of the features that the Zoran card supports is the ability to have two sources (since as external video and MJPEG playback) one in a window of the other. But you need to only have one video clock running the output. This should be handled by the video api so the drivers just write the raw interface and the api does the manipulation of the driver. It's quite a complex situation. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."