From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RKdrx-0001Zs-M7 for garchives@archives.gentoo.org; Sun, 30 Oct 2011 22:28:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9116B21C0CB; Sun, 30 Oct 2011 22:28:34 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id EDC7221C0CB for ; Sun, 30 Oct 2011 22:27:34 +0000 (UTC) Received: by faai28 with SMTP id i28so6395778faa.40 for ; Sun, 30 Oct 2011 15:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=No64sv2IeRhQmIrnfZOBqkZQXjDr1LzsqhZGGkI5d+8=; b=haqZyKmaoR2NgXT0BDspBxpsJ6FI6jDQVvsaaGF1QzNfulDUkSyIcNspJEEjwLK0IC 6UtkU0Sez/sgNI5tKGoKAw2RZpVtpTXKLjLmB1fUh7Yiud8hL9bpxU3Fg29xGgiYwLgY HH0iRzGPljKEhBAwXbFyzbRJVqAdf9Rzb/shs= Received: by 10.223.61.138 with SMTP id t10mr24476435fah.20.1320013654147; Sun, 30 Oct 2011 15:27:34 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.102.65 with HTTP; Sun, 30 Oct 2011 15:27:13 -0700 (PDT) In-Reply-To: References: From: Andrey Moshbear Date: Sun, 30 Oct 2011 18:27:13 -0400 Message-ID: Subject: Re: [gentoo-user] DVD->mp4 - handbrake vs something else To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: f1b7bdef-81b2-4f51-a062-44824f45ef17 X-Archives-Hash: 555bdf4b506d8d4c8e26f04b7f5e0394 On Sun, Oct 30, 2011 at 11:28, Mark Knecht wrote: > On Sun, Oct 30, 2011 at 4:39 AM, Andrey Moshbear wrote: >> On Thu, Oct 27, 2011 at 16:09, Mark Knecht wrote: >>> I'm getting a Kindle Fire in a few days. While I didn't get it >>> specifically to watch movies looking at the specs it does apparently >>> handle mp4 as a video format and they state online that you can watch >>> streaming movies & TV shows from Amazon's servers. I do a lot of blood >>> donations - roughly 20-25 times/year - that take 2-3 hours each so >>> either being able to read or watch a movie would be a pleasant way to >>> pass the time. Being able to hold it comfortably in one hand is >>> important to me. >>> >>> I started looking around in Google for something to encode a few DVDs >>> so that I could see how well it works. A program called handbrake was >>> showing up in a lot of links, but it requires an overlay. While I have >>> no problem adding yet another overlay (which on is best?) I wondered >>> what might be in the normal portage database that others here use for >>> this purpose? >>> >> >> I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n) >> then 2-pass ffmpeg the vob to transcode to mkv. >> >> Makes batch transcoding rather fast and painless. >> >> > > Thanks. Here's my progress so far using a Casablanca DVD as a test case. > > Again, my goal by the middle of next month is to run videos on the > Kindle Fire. The spec sheets for the Fire says it's supports mp4. I > don't see any other obvious video formats. > > 1) I tried vobcopy. I got 6GB of files. I assumed ffmpeg was the next > step but didn't easily Google how to run it in this specific case so I > set it aside for the moment. Was your vobcopy line $vobcopy -i /path/to/mountpoint -n ${TITLE_NO} -l -O ${MOVIE}_${TITLENO}.vob ? My ffmpeg lines for dvd to mkv: 2.0 audio: for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $file.vob -pass $a -vcodec libx264 -b 800k -deinterlace -acodec libfaac -ac 2 -ab 192k -y $file.mkv ;done 5.1: for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $1.vob -pass $a -vcodec libx264 -x264opts preset=slower -b 800k -deinterlace -acodec libfaac -ac 6 -ab 440k -y $1.mkv ;done I use schedtool and nice to keep ffmpeg from hogging the cpu. > > My issue now (I think) is to learn to use ffmpeg to convert from m4v > to mp4. I'd like to see about reducing the file size a bit if > possible. At the same time the native resolution of the Fire is > 1024x600 so I'm wondering about whether I can make the movies look > better by making the mp4 file somehow know about that size. Downscale hd to 480p and de-interlace DVDs and other 480i content. 720x480 will look pretty good on a 1024x600 (WSVGA) screen.