Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5
Date: Fri, 16 Dec 2005 00:11:17
Message-Id: 1134691555.10992.14.camel@orpheus
In Reply to: [gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5 by James
1 Success! Partially at least (skip to the bottom if you want to know
2 how!)
3
4 On Thu, 2005-12-15 at 15:02 +0000, James wrote:
5 > Iain Buchanan <iaindb <at> netspace.net.au> writes:
6 >
7 > > Space it not too much of an issue
8 >
9 > Disc space is a relative thing. It always get's filled up. Human nature.
10 > You will never have enough disk space for adults is like
11 > candy for children, never, ever enough.
12
13 good point - same with memory, processor speed, etc. As soon as you
14 have more, something more intensive comes out to use it...
15
16 > > So, here are my questions:
17 > > 1. whats the best format to use out of the ones listed, given
18 >
19 > Well you first have to realize that 'mpeg 4' is like saying
20 > I want a car.
21 [snip]
22
23 wow. After reading your post, I realise it's much more complicated that
24 I first thought...
25
26 > Use H.264 until theora matures.
27
28 Unfortunately, with the comments from you and Uwe, I don't think H.264
29 will be suitable. Firstly, I doubt my little low powered video device
30 will decode it, secondly I doubt I can encode it properly on linux, as
31 good as it sounds.
32
33 I think I will be happy with something simpler, even though it may be a
34 lower quality (that's the human subjective perception of the quality of
35 course :) I guess it's like when people ask me for a recommendation on
36 purchasing computers. They want to buy the cheap sub-$1000 all in one
37 deals, and I say "stay away, you're better off in the long run going for
38 something more expensive, with a better quality, longer life, etc".
39 However, sometimes they purchase their sub-$1000 PC's and they're
40 perfectly happy, because they don't use it like I do, and they haven't
41 had the experience with higher quality.
42
43 > HTH,
44
45 absolutely!
46
47 ---------------------------------------------------------------
48
49 So, this is what I've come up with so far (for those following the
50 thread). Simply:
51
52 ffmpeg -i test.wmv -b 4000 -s 640x480 -an test.mp4
53
54 (It's the filename .mp4 that did it! note the -an produces no audio)
55
56 $ file test.mp4
57 test.mp4: ISO Media, MPEG v4 system, version 1
58
59 however:
60 $ ls -alh test*
61 -rw-r--r-- 1 iain users 8.5M 2005-12-16 09:18 test.mp4
62 -rw------- 1 iain users 1.8M 2005-12-15 21:51 test.wmv
63
64 as you can see, thats ~4x the size of the original... and thats without
65 sound. That's not so good...
66
67 Well, I still have a bit to go, but at least I know I can put
68 _something_ on the device! If anyone is interested, I can keep posting
69 back here with my results.
70
71 PS, can someone give me an example of how to encode divx with mencoder
72 or ffmpeg? Or any program on linux for that matter?
73
74 thanks!
75 --
76 Iain Buchanan <iaindb at netspace dot net dot au>
77
78 Mater artium necessitas.
79 [Necessity is the mother of invention].
80
81 --
82 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5 Ognjen Bezanov <ognjen@×××××××××.com>