Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 1999 21:43:54 -0500
From:      Randall Hopper <aa8vb@ipass.net>
To:        Sugiura Shiro <sugiura@kt.rim.or.jp>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: How to capture and save 24bpp or 32bpp Video ?
Message-ID:  <19991127214354.A8405@ipass.net>
In-Reply-To: <199911270720.QAA02371@mail.kt.rim.or.jp>
References:  <199911270720.QAA02371@mail.kt.rim.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991127214354.A8405>