1 |
On Mon, 2006-08-28 at 14:16 +0100, Uwe Thiem wrote: |
2 |
> On 28 August 2006 13:39, 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 |
> > But: the mpeg doesn't seem to scale right. My laptop display is |
24 |
> > 1680x1050, and hence the original dv output (4:3) has black edges on |
25 |
> > each side, but the converted mpeg plays "stretched", so that everybody |
26 |
> > looks fat! |
27 |
> > |
28 |
> > Is this just a _player_ issue, or is it a problem with the encoding of |
29 |
> > the mpeg itself? |
30 |
> > |
31 |
> > I noticed the command line has aspect=4/3 in it already, which is the |
32 |
> > aspect of the original dv file... |
33 |
> |
34 |
> Maybe, the "scale" is wrong for you. How many frame lines do your originals |
35 |
> have? |
36 |
|
37 |
ummm.... blue :P |
38 |
|
39 |
ie. I wouldn't have a clue... how do I tell (not an expert here). |
40 |
|
41 |
I tried without the aspect option and the aspect seems to be correct |
42 |
again. |
43 |
|
44 |
> I actually overlooked "compressing to keep on my HD" in your original post. |
45 |
> For that purpose, try: |
46 |
> |
47 |
> |
48 |
> === begin script === |
49 |
> #! /bin/sh |
50 |
> |
51 |
> BITRATE="730" |
52 |
> |
53 |
> INFILE="dvd://" |
54 |
[snip] |
55 |
|
56 |
that seems to capture from dvd though? I may [not] have mentioned that |
57 |
I'm capturing from video camera through kino to raw dv files. I'm happy |
58 |
with the mpeg2 format for storing on HD. |
59 |
|
60 |
> Obviously, you have to adjust INFILE (can also be a real file) |
61 |
|
62 |
oh, I should read the whole post first! |
63 |
|
64 |
> and OUTFILE. |
65 |
> You should set "br" to 128 for music movies. Play with BITRATE for higher |
66 |
> quality or smaller file size. Beware that it takes *ages* but look at the |
67 |
> result! |
68 |
|
69 |
I'll play with it. |
70 |
|
71 |
thanks again! |
72 |
-- |
73 |
Iain Buchanan <iaindb at netspace dot net dot au> |
74 |
|
75 |
Luck, that's when preparation and opportunity meet. |
76 |
-- P.E. Trudeau |
77 |
|
78 |
-- |
79 |
gentoo-user@g.o mailing list |