From owner-freebsd-multimedia Sat Oct 11 01:37:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA08647 for multimedia-outgoing; Sat, 11 Oct 1997 01:37:39 -0700 (PDT) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA08642 for ; Sat, 11 Oct 1997 01:37:36 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id BAA00943 for ; Sat, 11 Oct 1997 01:37:35 -0700 (PDT) Message-Id: <199710110837.BAA00943@rah.star-gate.com> To: multimedia@freebsd.org Subject: ftp://rah.star-gate.com/pub/bt848-yuv.tar.gz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Oct 1997 01:37:35 -0700 From: Amancio Hasty Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This version of the bt848 driver can capture yuv12 frames. The yuv support is preliminary however so far it is proving to be useful. For instance we can now capture yuv12 frames to a single file and feed the file to mpeg_encode as opposed to creating N frame files of type X format . The size of a yuv12 frame is : width*height + (width*height/4)*2 so a frame of size 320x240 has this many bytes: 115200 = 320*240 + (320*240)/4 * 2 The tar ball includes: 1. bt848 driver with yuv12 functionality 2. yuv12capture.c sample program to store frames to a file. It is a very simple program. 3. foo.param mpeg_encode's param file to encode mpeg files. two steps to generate your mpeg file yuv12capture mpeg_encode -float_dct