From owner-freebsd-multimedia Thu Mar 8 9:26:18 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from otto.oss.uswest.net (otto.oss.uswest.net [204.147.85.81]) by hub.freebsd.org (Postfix) with ESMTP id 088DE37B719 for ; Thu, 8 Mar 2001 09:26:15 -0800 (PST) (envelope-from pmckenna@otto.oss.uswest.net) Received: (from pmckenna@localhost) by otto.oss.uswest.net (8.11.1/8.11.1) id f28HQ3903738; Thu, 8 Mar 2001 11:26:03 -0600 (CST) (envelope-from pmckenna) Date: Thu, 8 Mar 2001 11:26:03 -0600 From: Pete McKenna To: Protius Cc: freebsd-multimedia@freebsd.org Subject: Re: Video capture Message-ID: <20010308112603.A3684@otto.oss.qwest.net> References: <20010307000411.A41216@otto.oss.qwest.net> <200103080726.f287QWM34169@teryx.bobdbob.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103080726.f287QWM34169@teryx.bobdbob.com>; from protius@bobdbob.com on Thu, Mar 08, 2001 at 02:26:32AM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for clarifying that, One more question, Can arguments be given to select a channel or frequency for the tuner part of the Bt card ? Thanks Pete On Thu, Mar 08, 2001 at 02:26:32AM -0500, Protius wrote: > > Peter McKenna wrote: > >thanks for posting this, I think I have it close to working, but am > >wonder how you told the BT8x8 card what input to use. > >I can capture and it seems happy but I end up with a blue screen. > >What input options are set by default ? and where are they. > >I'm trying to capture from the s-video in mostly. > > The default input is 0, which is composite in. videocat takes a whole > pile of arguments, specificly: > filename width height count brightness contrast input field > > filename is where to put the video > width and height are in pixels > brightness and contrast are 0 to 255, where 127 is the middle of the range > > input is: > 0 = device 0 > 1 = device 1 > 2 = device 2 > 3 = device 3 > 4 = RGB > 5 = svideo > > and field is a flag, if there is an argument at all, it will capture only > the even field only. > > my normal capture command is: > videocat somefile.ppm 352 240 57000 130 127 0 foo > > Then you can pull individual frames out with getframe: > getframe somefile.ppm 53100 1 | xv - > > The numbers are the same as on getaudio, below. > > getframe produces only grayscale images... long story... > > extract the audio with: > getaudio somefile.ppm 100 1000 | someplaybackprogram > > The first number is the frame to start on, the second number is how many > frames of audio to extract. (NTSC frames) If you extract multiple images, > the image data is just concatenated. > > Or, make an mpeg stream with compressit: > compressit somefile 100 53100 > > The first number is the start frame, the second number is the end frame. > Note that there is no extension on the filename passed to compressit. > > -Tommy "Are you alright?" "I am allergic to steel." > protius@bobdbob.com > KE4ILZ -- Peter McKenna Qwest Internet Solutions pmckenna@qwest.net Main 612-664-4000 FAX 612-664-4770 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message