From owner-freebsd-hardware Wed Feb 3 19:43:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA01324 for freebsd-hardware-outgoing; Wed, 3 Feb 1999 19:43:02 -0800 (PST) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from chopper.poohsticks.org (drew-to-hub.village.org [204.144.255.27]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA01310 for ; Wed, 3 Feb 1999 19:42:57 -0800 (PST) (envelope-from drew@chopper.poohsticks.org) Received: from chopper.poohsticks.org (localhost [127.0.0.1]) by chopper.poohsticks.org (8.6.12/8.6.6) with ESMTP id UAA03651; Wed, 3 Feb 1999 20:41:48 -0700 Message-Id: <199902040341.UAA03651@chopper.poohsticks.org> To: Katsushi Kobayashi cc: hardware@FreeBSD.ORG Subject: 1394/DV comments, capture program, mailing list In-reply-to: Your message of "Wed, 27 Jan 1999 15:46:37 +0900." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3648.918099706.1@chopper.poohsticks.org> Date: Wed, 03 Feb 1999 20:41:47 -0700 From: Drew Eckhardt Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 27 Jan 1999 15:46:37 +0900, Katsushi Kobayashi wrote: >But, my driver will be helpful some people for following purposes: > >- To use DV equipements. I have both professional and personal interests in DV (I use a helmet mounted PC1 for sports video), and would love to play with it on my unix boxen although there are a few impediments: 1. Matsushita (Panasonic) has patents applicable to anything which extracts video and/or audio from the a DV data stream (see US Patent 5,691,819) as well as ones on the most obvious techniques for transcoding to DV. This is a huge impediment to bazaar style development of most unix DV software, and it would be wonderful if you or some one else in geographic proximity to them were to work out some sort of compatable licensing agreement. As of 1997, their General Manager of Intellectual Property was Mr. R. Shimizu c/o AVC Products Development Lab 2-15 Matsuba-cho, Kadoma-shi Osaka 571 Japan FAX: +81-6-905-5408 2. Patent issues aside, to do anything really fun with DV you need documentation (the shuffling algorithm, code book, quantization tables), with the obvious source being the "Blue Book". Unfortunately, that carries a 50,000 yen price tag (about $440 USD at the current exchange rates). Fortunately, the subset of it embodied by DVCPRO/D7 (locked audio, 4:1:1 sampling on both NTSC and PAL) is described in the affordable ($55) SMPTE 306m standard. 3. You also need to get the data to disk. I poked at the problem for parts of two evenings (write() often blocks long enough to cause dropped packets), and came up with the following program ftp://ftp.poohsticks.org/dv/capture-0.1.tar.gz which captures a user-specified number of DV frames off a Lynx board. In theory, PAL should work too although for obvious reasons I've only tested NTSC. The two process write behind code needed to avoid dropped packets is C++, and the DV structure definitions use __attribute__((packed)) so egcs is needed to compile it. With a few changes to capture based on time code and with a matching output program, this will make it possible to do assemble edits separated by simple cuts. 4. I find this interesting, have seen a handful of comments on the dv mailing list regarding dv under unix, and have set up a mailing list for discussing the technical and legal issues of dv under free unicies frunix-dv-request AT poohsticks DOT org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message