Gentoo Archives: gentoo-user

From: Dan <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] large .avi video files, re-encode ?
Date: Thu, 28 Dec 2006 19:41:09
Message-Id: 20061228133619.2d205d30@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] large .avi video files, re-encode ? by Dave S
1 On Thu, 28 Dec 2006 18:27:16 +0000
2 Dave S <gentoo@××××××××.net> wrote:
3
4 > On Thursday 28 December 2006 17:40, Strong Cypher wrote:
5 > > could you give us the original format of your video ?
6 >
7 > The .avi files were directly generated by a screen capture program
8 >
9 > Dave
10 the avi format is a container format that can work with multiple codecs
11 (see below). perhaps you just need to re-encode them so that either
12 they use a better codec or they are lower qualilty in the same codec
13 (quality is directly proportional to size). Or use a better file format
14 alltogether if you wish.
15
16 to do video stream editing i recommend the transcode package, as that's
17 the only one I know if.
18
19 some quick info on avi's
20
21 http://en.wikipedia.org/wiki/Audio_Video_Interleave says:
22
23 (quotes)
24
25 Audio Video Interleave, known by its acronym AVI, is a multimedia
26 container format introduced by Microsoft in November 1992 as part of
27 the Video for Windows technology. AVI files contain both audio and
28 video data in a standard container that allows simultaneous playback.
29 Like DVDs, AVI files support multiple audio and video streams, although
30 these features are rarely used. Most AVI files also use the file format
31 extensions developed by the Matrox OpenDML group in February 1996.
32 These files are supported by Microsoft, and are known unofficially as
33 "AVI 2.0".
34 ...
35 By way of the RIFF format, the audio/visual data contained in the
36 "movi" chunk can be encoded or decoded by a software module called a
37 codec. The codec translates between raw data and the data format inside
38 the chunk. An AVI file may therefore carry audio/visual data inside the
39 chunks in almost any compression scheme, including: Full Frames
40 (Uncompressed), Intel Real Time Video, Indeo, Cinepak, Motion JPEG,
41 Editable MPEG, VDOWave, ClearVideo / RealVideo, QPEG, MPEG-4 and others.
42 ...
43 AVI is considered by many to be an outdated container format.There is
44 significant overhead when used with popular MPEG-4 codecs ...The
45 container has no native support for those codecs' modern features...
46 cumbersome hacks (in a programming context) are used,
47 causing incompatibilities in some players. Hacks are also used to
48 implement subtitles. The highly efficient H.264 codecs use even more
49 compression tricks, and thus are even more ill-suited to the format,
50 particularly Main and High Profile.
51 (end quotes)
52 --
53 gentoo-user@g.o mailing list