From owner-freebsd-multimedia Wed Jan 17 13:52:48 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id 2804837B6E2 for ; Wed, 17 Jan 2001 13:52:29 -0800 (PST) Received: (from mat@localhost) by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id QAA11784 for freebsd-multimedia@freebsd.org; Wed, 17 Jan 2001 16:52:28 -0500 (EST) Date: Wed, 17 Jan 2001 16:52:28 -0500 From: Mathew KANNER To: freebsd-multimedia@freebsd.org Subject: DVD: an ugly how-to Message-ID: <20010117165228.A11154@cs.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: SOCS, McGill University, Montreal, CANADA Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, There seems to be demand for this info. I don't think I'm breaking the law by submiting this... Warning: I am not an expert, I probably don't have the answer you are looking for. Please don't ask for the utilities. How I played DVDs 0.0) uname -a FreeBSD XXXX.XXXX.XX 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Dec 10 21:28:13 EST 2000 XXX@XXXX.XXXX.XX:/XXXXX/src/sys/compile/XX i386 0.1) pkg_info | grep -i mpe mpeg2play-1.1b A program to play mpeg-2 movies on X displays mpeg_lib-1.3.1 A collection of C routines to decode MPEG movies mtv-1.1.4 High-performance MPEG video player (shareware) smpeg-0.4.0 SMPEG is a free MPEG1 video player library with sound suppo xine-0.3.5 A MPEG-1 and MPEG-2 player xmovie-1.5.3.1 A movie player for MPEG-2 and Quicktime movies 0.2) dmesg | grep cd acd0: DVD-ROM at ata1-master using PIO4 0.3) xdpyinfo | grep release vendor release number: 3360 1) You need css-auth + FBSD patches and DeCSSplus. A Google search for "DeCSSplus_v1" or "+decss freebsd patch" should do. 2) Build tstdvd from css-auth and decss from DeCSS. I patched DeCSS to stop using / as a getopt token. 3) insert DVD 4) tstdvd /dev/acd0c, it appears that the DVD drive won't give sector access without this. This should authorize. 5) mount /dev/acd0c /mnt 6) cd /mnt/video_ts/ 7) DeCSS vts_06_1.vob -o /dev/stderr 2>&1 1>&- | dd obs=10m | dd ibs=1m obs=50k | xine - - the above is a bash'ism - xine doesn't last long when piped. - xmovie doesn't seem to want to use the STDIN so I spool somewhere. -- Mathew Kanner SOCS McGill University Obtuse quote: He [not me] understands: "This field of perception is void of perception of man." -- The Quintessence of Buddhism To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message