From owner-freebsd-firewire@FreeBSD.ORG Sun Jul 4 14:00:12 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C058516A4CE; Sun, 4 Jul 2004 14:00:12 +0000 (GMT) Received: from tora.nunu.org (YahooBB219003182029.bbtec.net [219.3.182.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10C8443D49; Sun, 4 Jul 2004 14:00:12 +0000 (GMT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id 8BB544B24C; Sun, 4 Jul 2004 23:00:07 +0900 (JST) Date: Sun, 04 Jul 2004 23:00:07 +0900 Message-ID: <87d63bswig.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Alexander Nedotsukov In-Reply-To: <40E4C710.1040702@FreeBSD.org> References: <40E4C710.1040702@FreeBSD.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: freebsd-firewire@FreeBSD.org Subject: Re: Block noise? when trying to send dv stream to video camera X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 14:00:12 -0000 At Fri, 02 Jul 2004 11:23:12 +0900, Alexander Nedotsukov wrote: > > Hi, > > I have Sony DCR-HC40 video camera and trying to use firewire link to > download->edit->upload movie form it. I used fwcontrol -R test.dv > command to download data. Whole process went just fine. I can play raw > dv data and content looks correct. But if I try to send dv video (either > unmodified) back to the camera with fwcontrol -S test.dv command picture > get corrupted quickly. Corruption looks like whole image splitted into How log does the noise-less image last? a few seconds or shorter? > square blocks and some parts of those blocks stay gray while > another contains correct image. Blocks are moving. The size of blocks > may vary. Time before video get corrupted as well from 0 to 50 sec. Do > you have any idea what it can be and what is much better how to fix the > situation? > I running one week old -CURRENT world+kernel. > > Thanks, > Alexander. Every DV frame has a timestamp on the packet. The DV specification said that the timestamp must be synced with the bus cycle timer. Some DV equipments are very sensitive to it and if it's out of sync, we often observe block noises. Current iso transmit code start transmit at specific bus cycle to ensure that the timestamp must be synced at the start. The following packets have timestamps which are calculated under the assumption that a packet is sent for each bus cycle. If the assumption is broken for some reason(bus is busy to transmit a packer, the host is too slow to feed the packet and etc.), the timestamp will be out of sync. Do you use PAL or NTSC? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html