From owner-freebsd-multimedia Sat Nov 27 18:43:55 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id E06C415589 for ; Sat, 27 Nov 1999 18:43:50 -0800 (PST) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-4-198.dialup.rdu.ipass.net [209.170.134.198]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id VAA00150; Sat, 27 Nov 1999 21:43:45 -0500 (EST) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id VAA09026; Sat, 27 Nov 1999 21:43:54 -0500 (EST) (envelope-from rhh) Date: Sat, 27 Nov 1999 21:43:54 -0500 From: Randall Hopper To: Sugiura Shiro Cc: multimedia@FreeBSD.ORG Subject: Re: How to capture and save 24bpp or 32bpp Video ? Message-ID: <19991127214354.A8405@ipass.net> References: <199911270720.QAA02371@mail.kt.rim.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <199911270720.QAA02371@mail.kt.rim.or.jp> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sugiura Shiro: |I want to captune and save video 24bpp or 32bpp with bt848, bt878 |video capture card on FreeBSD3.2RELEASE. Fxtv1.02 suports capture |and display 32bpp , but save to HDD only 16bit color. | |Dose exist a "patch" to save 24ppp or 32bpp video with fxtv, |or any other software which can save data 24bpp, 32bpp ? I'm not 100% sure I know what you're looking for. Let me describe what it does. When capturing video in RGB format, for now, Fxtv always captures in 16-bpp. When saving these images (we assumes your capture target is "Images", not "MPEG" or "MPEG Ready"), it saves in either 24-bpp TIFF or 24-bpp PPM format. Admittedly this isn't that great if you want high quality images (vs images captured as fast as possible). When I wrote this, I was more interested in the latter. This was before YUV was supported, so I stuck with the lowest-bandwidth capture format: RGB16. What was needed was a convert-any-to-any image format converter. I made a first start at this in Fxtv 1.02 by separating out the code used to convert images for display so it could be shared by the image and video capture sections (see the videolib/ subdirectory in the fxtv src dist): void VIDEOLIBConvertImage( VL_IMAGE *src, VL_IMAGE *dst ); Currently it only handles RGB->RGB conversions, but my intent was to support YUV->RGB as well so, for example, one could capture images using IYUV (Planar 122:122) and then save 24 or 32-bpp, or other permutations. So is you request to be able to 'capture' images using a depth > 16, saving these images as 24-bpp TIFF or PPM images? Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message