1 |
Iain Buchanan <iaindb <at> netspace.net.au> writes: |
2 |
|
3 |
|
4 |
> I have lots of different types of video files - from short funny ads, to |
5 |
> 1/2 hr tv episodes, to full movies, in all sorts of formats - wmv, avi, |
6 |
> mpeg, etc. |
7 |
|
8 |
yes we all suffer from numerous types of video. Often the differences |
9 |
are trite, just enough to intice cosumers(microsoft victims) to |
10 |
go out and spend money unnecessarily. |
11 |
|
12 |
> I want to find a program (hopefully only 1!) that will help convert them |
13 |
> to a format playable by the device. I'm happy if thats a command line |
14 |
> only program. I will probably copy them 1 by 1 as I want to watch them. |
15 |
|
16 |
yes well that's the dream we all share. Currently, it a work in progress |
17 |
and to be robust, your going to use many different pieces of code. |
18 |
When ffmpeg hits 1.0 your dream might be close.... |
19 |
|
20 |
> Space it not too much of an issue (I'll eventually have about 60Gb on |
21 |
> the device) - I'd rather not lessen the quality any more than it is |
22 |
> already. |
23 |
|
24 |
Disc space is a relative thing. It always get's filled up. Human nature. |
25 |
You will never have enough disk space for adults is like |
26 |
candy for children, never, ever enough. |
27 |
|
28 |
|
29 |
> So, here are my questions: |
30 |
> 1. whats the best format to use out of the ones listed, given |
31 |
|
32 |
Well you first have to realize that 'mpeg 4' is like saying |
33 |
I want a car. It has numerous classifications and profiles that |
34 |
allow a vendor to deliver 'mpeg 4' which is a virtual blend of mathematical |
35 |
technologies that are slightly incompatible with other vendor's equipment |
36 |
and software. |
37 |
|
38 |
Take remote video surveillance. 'MPEG 4 ASP', is often referred to |
39 |
as the simple profile. The last time I look Mpeg4 has 18 visual object |
40 |
types and 19 different visual profiles: Nine of the visual profiles are defined |
41 |
my MPeg4 visual version one: simple, simple scalable, main, n-bit, core, |
42 |
Scalable texture, basic animated texture, simple face animation and hybrid.... |
43 |
It goes on and on and on. In essence when a vendor tells you, it's |
44 |
mpeg4 it may be interoperable mpeg4 based video and it may not be. |
45 |
Enter REVERSE ENGINEERING..... |
46 |
|
47 |
Good news. Mpeg4 porfile 10 AVC is the same as ISO's H.264, except for |
48 |
some minor header differences. Currently. H.264 delivers the highest quality |
49 |
for a given level of compression (that's the natural trade off for |
50 |
all video and images, i.e. quality vs size. Human perception of quality |
51 |
does not mimick mathematical measurements of quality, i.e. quality |
52 |
as perceived by humans is subjective, interspersed with some established |
53 |
proven techniques. That's why video is so complicated. The perception |
54 |
of quality is mostly subjective with some mathematical tendencies. |
55 |
|
56 |
H.264 is the best (current consensus of experts) but, it is licensed and |
57 |
owned by nefarious video moguls. Still there are filters in the public |
58 |
domain that allow for conversion (ffmpeg for one) others exist. H.264 |
59 |
which the same as 'mpeg4 part 10 AVC' is still a work in progress |
60 |
as the various mathematical tools available are staggering. Kalman |
61 |
filters is my favorite.... H.264 is CPU intensive, particularly |
62 |
on the encoding side of compression. |
63 |
|
64 |
However, there are those that believe 'theora' will be dominant or |
65 |
dam close, in the not to distant future. MJpeg makes nice video streams, |
66 |
but for broadcast in uses twice as much bandwidth to an equivalent |
67 |
(remember based on subjective human evaluations) h.264 video stream. |
68 |
This may not be a factor on a LAN, but it dominates WAN considerations. |
69 |
|
70 |
> a) Good quality (not much less than, or the same as original) |
71 |
|
72 |
Use H.264 until theora matures. |
73 |
|
74 |
> b) Size reasonable - large files ok, but compression is always a |
75 |
> bonus) |
76 |
|
77 |
H.264 |
78 |
|
79 |
> 2. what program will convert 'anything' to said format. |
80 |
|
81 |
Ah, well, being a computer scientist, I dabble in things that are, |
82 |
incomplete. If/when you find a simple package to do robust video |
83 |
manipulations of all sorts, do drop me a line. For now, plan |
84 |
on using a palate of code and packages. |
85 |
|
86 |
All things video are a work in progress. I can run (2) color |
87 |
video streams over a 56 kbps frame relay link, with acceptable |
88 |
quality for a utility. For their needs, nothing is close to |
89 |
H.264, at this time, as we have evaluated dozens of formats. |
90 |
H.264 is also the most efficient in raw video storage. Still |
91 |
I stuggle with a software package that will run on linux; |
92 |
one day. H.264 is largely being ignored by the 'open source' |
93 |
community, for obvious reason, but, it does yeild stunning |
94 |
results. |
95 |
|
96 |
|
97 |
HTH, |
98 |
James |
99 |
|
100 |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 |
-- |
106 |
gentoo-user@g.o mailing list |