From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-49383-garchives=archives.gentoo.org@gentoo.org>)
	id 1GHhN2-00060L-4s
	for garchives@archives.gentoo.org; Mon, 28 Aug 2006 13:41:44 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7SDd85E002412;
	Mon, 28 Aug 2006 13:39:08 GMT
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7SDZZ5S014958
	for <gentoo-user@lists.gentoo.org>; Mon, 28 Aug 2006 13:35:35 GMT
Received: by wx-out-0506.google.com with SMTP id r21so1830757wxc
        for <gentoo-user@lists.gentoo.org>; Mon, 28 Aug 2006 06:35:34 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=hzDje9KYA0ZWyTBhow4mN7Q1sfF5pYWKeyULSvKwF2awNrBcrDh65wsTETbcoDYDJddrvwm34khjzQlMkMjucpBG3VsH8hVlgWUjYC92+8p2l24sZG+u0syMNcWfEADY4GNFac194cnMgb5XKcI6mjZtH7a48nkvMqIV+J/0Evg=
Received: by 10.90.117.11 with SMTP id p11mr214713agc;
        Mon, 28 Aug 2006 06:35:34 -0700 (PDT)
Received: by 10.90.72.15 with HTTP; Mon, 28 Aug 2006 06:35:34 -0700 (PDT)
Message-ID: <5c751a230608280635g39208a71pef5eb6696b4e3e09@mail.gmail.com>
Date: Mon, 28 Aug 2006 09:35:34 -0400
From: "Calvin Walton" <calvin.walton@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mencoder did nothing all night at 100% CPU!
In-Reply-To: <1156768772.27666.20.camel@orpheus>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <1155247592.21041.9.camel@orpheus>
	 <200608110821.27162.uwix@iway.na> <1156768772.27666.20.camel@orpheus>
X-Archives-Salt: b5ed20ab-dd3e-4dee-befc-1f07f49b2802
X-Archives-Hash: 5acf80fc7d81117dd1d3edfd451f0926

On 8/28/06, Iain Buchanan <iaindb@netspace.net.au> wrote:
> On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote:
> > For DVDs, try this:
> >
> > mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
> > -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
> > -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
> > vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
> > -ofps 25 -o outfile.mpeg infile

Note that this is for a PAL DVD - if you want NTSC you need to change
to -vf scale=720:480 and set the -ofps to "24/10001" or "30/10001"
(the first for movies, second for tv shows)

> But: the mpeg doesn't seem to scale right.  My laptop display is
> 1680x1050, and hence the original dv output (4:3) has black edges on
> each side, but the converted mpeg plays "stretched", so that everybody
> looks fat!

You could try dropping the -aspect option from the mencoder command
line and let mplayer calculate the aspect itself, it's normally pretty
good at that.

-- 
Calvin Walton
-- 
gentoo-user@gentoo.org mailing list