From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 16:40:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20107106568B for ; Wed, 2 Sep 2009 16:40:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id C7F9C8FC29 for ; Wed, 2 Sep 2009 16:40:53 +0000 (UTC) Received: by vws27 with SMTP id 27so905101vws.3 for ; Wed, 02 Sep 2009 09:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=WSJq9cGphoJeCFwkAth9EKwFyyl4vN0C9loVDZ3TsY4=; b=WItXuQZauTPx1Cp4wpeZsP4nk34HqllhXuRh76X52VCxB5dWpS4aFyWYMU+HUqGxYX TPvPaTHgfNNDpZWPoQLa//3vThxtXfk3c4/PVX0QMamtvqveFnEu+PnaLZvaMuUMZdMr gWoL8/9fpifus0lEGGSydXMSmVkwuOednFlrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=o2UeMv4Axj1G2ItlIwt135INAji2+B0NNCYeEac2qVCBjvkcpJgy+SPOhv6Jkg64WR 4C2n6nNUHYR3SzahV5C+r9jZJMKC2KrDIxY+OXcMTuHvSY9lZvf4uM1TamWy0CsMu1V1 oCzxuLvuXjFvxJBHYXp58NTu5UtLdqqDkaGn0= MIME-Version: 1.0 Received: by 10.150.235.8 with SMTP id i8mr13002103ybh.329.1251909652931; Wed, 02 Sep 2009 09:40:52 -0700 (PDT) In-Reply-To: <20090902051927.GA78814@slackbox.xs4all.nl> References: <0016e64cae6a217e26047290e16e@google.com> <20090902051927.GA78814@slackbox.xs4all.nl> Date: Wed, 2 Sep 2009 11:40:52 -0500 Message-ID: <6201873e0909020940p2ccd37c8x6d2f36d4d6f07e85@mail.gmail.com> From: Adam Vande More To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" , af300wsm@gmail.com Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 16:40:54 -0000 On Wed, Sep 2, 2009 at 12:19 AM, Roland Smith wrote: > On Wed, Sep 02, 2009 at 04:41:24AM +0000, af300wsm@gmail.com wrote: > > Hi, > > > > I'm trying to make a copy of a dvd that I have, video, using a technique > > that I gleaned from this list nearly two years ago that has always worked > > but now I'm having problems. (When I say always, please bear in mind that > I > > don't do this every day or even frequently). You'll also see calls to dd. > > These were attempts at "last ditch effort." I usually just use the copy > > command (got it from a thread entitled, "copying a dvd video," from > > November of 07). If dd will work but I just forgot to get the block size > > right, what is that supposed to be. > > My preferred technique is to use mplayer: > > mplayer dvd://1 -dumpstream -dumpfile dvd.mpg > > Be sure to play the DVD with mplayer to check which track is actually the > movie. Usually it is track #1, but not always. > > After copying the stream, I tend to re-encode it for backup purposes with > the > H.264 video codec with MP3 sound, which makes it a lot smaller. The first > step > is to watch the mpeg and see if there are black stripes around the picture: > > mplayer -vf cropdetect dvd.mpg > > This will give you a continuous list of crop lines, e.g: > [CROP] Crop area: X: 1..719 Y: 74..500 (-vf crop=704:416:10:80).0 > > Next step is to re-encode the mpeg file in two steps for enhanced quality, > including the crop information, if any: > > mencoder title.mpg -ovc x264 \ > -x264encopts subq=4:bframes=3:b_pyramid:weight_b:qp=18:threads=auto:pass=1 > \ > -idx -oac mp3lame -vf crop=704:416:10:80 -o /dev/null; \ > mencoder title.mpg -ovc x264 -x264encopts \ > subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:\ > b_pyramid:weight_b:qp=18:threads=auto:pass=2 -vf crop=704:416:10:80 \ > -idx -oac mp3lame -o title.avi; > > If you want to include a specific language or subtitle, don't forget to > include the correct options for that; see the mplayer manual. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > multimedia/transcode is good option as well. tccat will dump track vob without borders, use tcprobe to find track you wish to dump. -- Adam Vande More