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 ) id 1GI1ME-0001Gd-H0 for garchives@archives.gentoo.org; Tue, 29 Aug 2006 11:02:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7TAxn44016199; Tue, 29 Aug 2006 10:59:49 GMT Received: from mail.netspace.net.au (lightening.netspace.net.au [203.10.110.77]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7TAu9tj004029 for ; Tue, 29 Aug 2006 10:56:11 GMT Received: from orpheus (dsl-203-113-239-189.SA.netspace.net.au [203.113.239.189]) by mail.netspace.net.au (Postfix) with ESMTP id 5BB12375970 for ; Tue, 29 Aug 2006 20:56:07 +1000 (EST) Subject: Re: [gentoo-user] mencoder did nothing all night at 100% CPU! From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <200608281416.57169.uwix@iway.na> References: <1155247592.21041.9.camel@orpheus> <200608110821.27162.uwix@iway.na> <1156768772.27666.20.camel@orpheus> <200608281416.57169.uwix@iway.na> Content-Type: text/plain Date: Tue, 29 Aug 2006 20:25:31 +0930 Message-Id: <1156848931.10691.6.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: e439de97-f354-41e1-9df2-8dfc6d390e39 X-Archives-Hash: 5d2dfb69928c9965e73731e8e2245f91 On Mon, 2006-08-28 at 14:16 +0100, Uwe Thiem wrote: > On 28 August 2006 13:39, Iain Buchanan wrote: > > On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote: > > > On 10 August 2006 23:06, Iain Buchanan wrote: > > > > Hi all, > > > > > > > > I'm trying out mencoder to try a few different codecs and formats for > > > > 1. dvd authoring and 2. just compressing to keep on my HD. > > > > > > 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 > > > > wow! I just got around to trying that a couple of days ago and it > > produces great output: fast, small file size, and no noticeable > > difference in quality between the mpeg and the original dv! (I watched > > many different clips many times over to make sure! on TV and on my LCD) > > > > 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! > > > > Is this just a _player_ issue, or is it a problem with the encoding of > > the mpeg itself? > > > > I noticed the command line has aspect=4/3 in it already, which is the > > aspect of the original dv file... > > Maybe, the "scale" is wrong for you. How many frame lines do your originals > have? ummm.... blue :P ie. I wouldn't have a clue... how do I tell (not an expert here). I tried without the aspect option and the aspect seems to be correct again. > I actually overlooked "compressing to keep on my HD" in your original post. > For that purpose, try: > > > === begin script === > #! /bin/sh > > BITRATE="730" > > INFILE="dvd://" [snip] that seems to capture from dvd though? I may [not] have mentioned that I'm capturing from video camera through kino to raw dv files. I'm happy with the mpeg2 format for storing on HD. > Obviously, you have to adjust INFILE (can also be a real file) oh, I should read the whole post first! > and OUTFILE. > You should set "br" to 128 for music movies. Play with BITRATE for higher > quality or smaller file size. Beware that it takes *ages* but look at the > result! I'll play with it. thanks again! -- Iain Buchanan Luck, that's when preparation and opportunity meet. -- P.E. Trudeau -- gentoo-user@gentoo.org mailing list