Gentoo Archives: gentoo-user

From: Calvin Walton <calvin.walton@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mencoder did nothing all night at 100% CPU!
Date: Mon, 28 Aug 2006 13:41:44
Message-Id: 5c751a230608280635g39208a71pef5eb6696b4e3e09@mail.gmail.com
In Reply to: Re: [gentoo-user] mencoder did nothing all night at 100% CPU! by Iain Buchanan
1 On 8/28/06, Iain Buchanan <iaindb@××××××××××××.au> wrote:
2 > On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote:
3 > > For DVDs, try this:
4 > >
5 > > mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
6 > > -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
7 > > -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
8 > > vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
9 > > -ofps 25 -o outfile.mpeg infile
10
11 Note that this is for a PAL DVD - if you want NTSC you need to change
12 to -vf scale=720:480 and set the -ofps to "24/10001" or "30/10001"
13 (the first for movies, second for tv shows)
14
15 > But: the mpeg doesn't seem to scale right. My laptop display is
16 > 1680x1050, and hence the original dv output (4:3) has black edges on
17 > each side, but the converted mpeg plays "stretched", so that everybody
18 > looks fat!
19
20 You could try dropping the -aspect option from the mencoder command
21 line and let mplayer calculate the aspect itself, it's normally pretty
22 good at that.
23
24 --
25 Calvin Walton
26 --
27 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mencoder did nothing all night at 100% CPU! Uwe Thiem <uwix@××××.na>