From owner-freebsd-multimedia Sat Oct 14 6:26:19 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id 0A8AC37B66D; Sat, 14 Oct 2000 06:26:14 -0700 (PDT) Received: from fwd04.sul.t-online.com by mailout06.sul.t-online.com with smtp id 13kRKF-0006Sr-01; Sat, 14 Oct 2000 15:26:11 +0200 Received: from giskard.foundation.hs (320048919767-0001@[193.159.27.119]) by fwd04.sul.t-online.com with esmtp id 13kRK2-1oEheKC; Sat, 14 Oct 2000 15:25:58 +0200 Received: from daneel.foundation.hs (daneel.foundation.hs [192.168.20.2]) by giskard.foundation.hs (8.9.3/8.9.3) with ESMTP id PAA31729; Sat, 14 Oct 2000 15:27:30 +0200 (CEST) (envelope-from hschaefer@fto.de) Date: Sat, 14 Oct 2000 15:21:56 +0200 (CEST) From: 320048919767-0001@t-online.de (Heiko Schaefer) To: multimedia@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG Subject: video cd reading on freebsd (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320048919767-0001@t-dialin.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ---------- Forwarded message ---------- Date: Sat, 14 Oct 2000 15:13:21 +0200 (CEST) From: Heiko Schaefer To: multimedia@FreeBSD.ORG Cc: freebsd-hackers@FreeBSD.ORG, Soren Schmidt , Valeriy E. Ushakov Subject: video cd reading on freebsd Hey everyone, as many of you might know (by reading -multimedia), i would like to write a video cd input plugin for xine (xine.sourceforge.net, a player for mpeg-1 and mpeg-2 video that is mainly developed on linux, which synchronizes playback of video and audio) that works on freebsd. the current video cd plugin for linux uses the linux ioctls, which we obviously don't have on freebsd (aside from luoqi's patch that is not in -stable, as far as i understand). it needs a way to read the toc of the vcd (which is a ioctl call on linux), and read the video stream off of the disc. i understand that there is a (quite straightforward) way to read the raw data off a video cd using an atapi drive and that Mike Meyer is going to make it work for scsi as well as soon as he has time to do that. now i still don't quite understand how to do read data off of video cds exactly (although probably the answer is in mails on -multimedia, which i intend to read through again looking for this information - after getting an atapi drive). if someone (uwe?) could send me some sample c-program that does that, i would be really grateful. but i have absolutely no clue about how to read the toc off a video cd. will sys/cdio.h's ioc_read_toc_entry work for that ? if so, will it work for atapi, scsi or both ?! Heiko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message