Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tweaking mencoder
Date: Thu, 31 Aug 2006 10:31:44
Message-Id: 200608311114.20539.uwix@iway.na
In Reply to: Re: [gentoo-user] tweaking mencoder by Iain Buchanan
1 On 29 August 2006 13:55, Iain Buchanan wrote:
2 > On Mon, 2006-08-28 at 22:09 +0930, Iain Buchanan wrote:
3 > > On Fri, 2006-08-11 at 08:21 +0100, Uwe Thiem wrote:
4 > > > On 10 August 2006 23:06, Iain Buchanan wrote:
5 > > > > Hi all,
6 > > > >
7 > > > > I'm trying out mencoder to try a few different codecs and formats for
8 > > > > 1. dvd authoring and 2. just compressing to keep on my HD.
9 > > >
10 > > > For DVDs, try this:
11 > > >
12 > > > mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
13 > > > -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
14 > > > -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
15 > > > vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
16 > > > -ofps 25 -o outfile.mpeg infile
17 > >
18 > > wow! I just got around to trying that a couple of days ago and it
19 > > produces great output: fast, small file size, and no noticeable
20 > > difference in quality between the mpeg and the original dv! (I watched
21 > > many different clips many times over to make sure! on TV and on my LCD)
22 >
23 > Hmm, on closer inspection, I _do_ notice the output is slightly lower
24 > quality. (Don't know why I didn't see it before...) Is there any way I
25 > can tweak the quality? Can I change vbitrate, or is 5000 a dvd standard?
26
27 You can play with srate, lavresample, vrc_maxrate and vbitrate.
28
29 Uwe
30
31 --
32 Mark Twain: I rather decline two drinks than a German adjective.
33 http://www.SysEx.com.na
34 --
35 gentoo-user@g.o mailing list