Gentoo Archives: gentoo-user

From: nunojsilva@ist.utl.pt (Nuno J. Silva)
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [OT] codec for video embedded in presentation
Date: Wed, 02 Jan 2013 21:54:18
Message-Id: 87a9sr45ii.fsf@ist.utl.pt
In Reply to: Re: [gentoo-user] [OT] codec for video embedded in presentation by Stroller
1 On 2013-01-02, Stroller wrote:
2
3 > On 1 January 2013, at 15:22, Francisco Ares wrote:
4 >> ...
5 >> I've heard (or read) that before, to me it seems quite strange that
6 > one of the main products from MS to be so outdated in this area.
7 >
8 > AVI has been around a long time. It is inevitably prone to "bitrot",
9 > then.
10 >
11 > AIUI the AVI specification states a number of valid codecs that can be
12 > used; AIUI h264 (for example) is not amongst them.
13 >
14 > It will work on some systems (particularly open source) to put h264 /
15 > AAC into an AVI - that's not supported on others. So if you need to
16 > play the video on a Mac, a games console or a set-top box then you may
17 > be in trouble.
18 >
19 > As a rule of thumb, most new video-playing devices have hardware h264
20 > support; use .mp4 or .mkv for h264.
21
22 IIRC, h264 is actually one of the codecs that has issues with AVI. See
23 http://en.wikipedia.org/wiki/Comparison_of_container_formats.
24
25 >> I tried an MP4 renamed as AVI, and it worked.
26 >
27 > If you merely renamed the file then you didn't change the container.
28 >
29 > http://html5.xoofoo.org/video.html
30 >
31 > A Linux video player will probably ignore the file extension - it'll
32 > figure out what kind of container you used based on the file's header
33 > bytes and on the file structure. The default video player installed on
34 > Windows or Mac may not be so clever.
35
36 This is probably more about Microsoft Powerpoint being actually able to
37 deal with other containers (it probably merely passes the video file
38 (container and everything) to the Video for Windows or DirectShow
39 subsystem, which may or may not have handlers for other
40 containers). I guess that, although Powerpoint does not need to care
41 about the container, it does enforce some extension.
42
43 --
44 Nuno Silva (aka njsg)
45 http://njsg.sdf-eu.org/