From owner-freebsd-multimedia Tue Oct 10 1:29:46 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 581B137B66D for ; Tue, 10 Oct 2000 01:29:43 -0700 (PDT) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id KAA80962; Tue, 10 Oct 2000 10:37:00 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <200010100837.KAA80962@freebsd.dk> Subject: Re: vcd In-Reply-To: <20001010020651.B4051@snark.ptc.spbu.ru> from "Valeriy E. Ushakov" at "Oct 10, 2000 02:06:51 am" To: uwe@ptc.spbu.ru (Valeriy E. Ushakov) Date: Tue, 10 Oct 2000 10:37:00 +0200 (CEST) Cc: 320048919767-0001@t-online.de (Heiko Schaefer), freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Valeriy E. Ushakov wrote: > On Mon, Oct 09, 2000 at 23:40:08 +0200, Heiko Schaefer wrote: > > > now i gathered that sys/cdio.h is where the action is. > > Funny thing is that the required ioctl is in (note the R). Well, I didn't wnat to clobber the "standard" cdio.h file with my ioctl's :) > > what i am really confused about is: is there any way to read raw > > data off a video cd that works on both ide and scsi ? > > As I already reported, I changed atapi-cd.c (acd_start) on my system > from: > > ccb[0] = ATAPI_READ_CD; > ! ccb[9] = 0x10; > > to > > ccb[0] = ATAPI_READ_CD; > ! ccb[9] = 0xf8; Ugh! I have this in there too noe that I checked, triggered by blocksize = 2352... > With that one line patch to the driver I wrote a simple program that > uses CDRIOCSETBLOCKSIZE, just as Soren described, and I can grab/view > VCDs happily. I plan to work more on this as soon as I have a couble of VCD's here to test it with... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message