From owner-freebsd-multimedia Sun Oct 14 10:42:32 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 8ED9437B40A for ; Sun, 14 Oct 2001 10:42:29 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id f9EHgSi40764; Sun, 14 Oct 2001 19:42:28 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sun, 14 Oct 2001 19:42:28 +0200 (CEST) Message-Id: <200110141742.f9EHgSi40764@lurza.secnetix.de> From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG Reply-To: freebsd-multimedia@FreeBSD.ORG Subject: Re: aviplay with 24-bit color depth? In-Reply-To: X-Newsgroups: list.freebsd-multimedia User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Conrad Sabatier wrote: > OK, I see now that xvinfo shows 16 bits as the highest bits per pixel > format it supports, so apparently it's a limitation of the savage driver. > :-( No! The output from your xvinfo looks perfectly fine. Note that the list of "image formats" is what can be used as _input_ to the xvideo extension. This is not what can be oused as actual output to the screen. For example: > id: 0x32315659 (YV12) > guid: 59563132-0000-0010-8000-00aa00389b71 > bits per pixel: 12 > number of planes: 3 > type: YUV (planar) This is a 2x2-subsampled YUV input format, i.e. separated chrominance / luminance information, with chrominance using half the resolution. There is 8 bit of luminance (Y) information per pixel, and 16 bit of chrominance information (8 bit U, 8 bit V) per 4 pixels (2x2 square), thus you get 12 bits per pixel overall. This is exactly the format that's typically used in MPEG video streams. In fact, your list seems to be identical to mine. As I wrote, I also have an S3 Savage (MX), and it works fine with aviplay and mplayer in 32 bit mode. The important thing in the `xvinfo` output is this: > supported visuals: > depth 24, visualID 0x21 If you get the same, it _should_ work. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message