Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Adobe flash warning and tree
Date: Mon, 11 Jan 2016 22:41:55
Message-Id: 10233802.BGdUynG7bc@dell_xps
In Reply to: Re: [gentoo-user] Adobe flash warning and tree by Stroller
1 On Monday 11 Jan 2016 20:10:53 Stroller wrote:
2 > > On Mon, 11 January 2016, at 6:48 p.m., waltdnes@××××××××.org wrote:
3 > > The other problem is that HTML5 sucks up more CPU for video. My data
4 > >
5 > > point with an ancient underpowered Atom netbook watching a Youtube music
6 > > video https://www.youtube.com/watch?v=cwqhdRs4jyA
7 > >
8 > > Flash
9 > > =====
10 > > 1) Regular (i.e. smallest) display plays OK
11 > > 2) Wide format display plays OK
12 > > 3) Fullscreen audio OK, but video stutters badly
13 > >
14 > > HTML5
15 > > =====
16 > > 1) Regular (i.e. smallest) display plays OK
17 > > 2) Wide format audio OK, but video stutters badly
18 > > 3) Fullscreen; you don't really want to know
19 >
20 > That must be the codec or the resolution or something, surely?
21 >
22 > Or possibly the way your browser implements things.
23 >
24 > My understanding is that Flash™ is a compiled bytecode. So any video player
25 > written in Flash has to go through an extra step of translation, at
26 > runtime, for its instructions to be translated into native code.
27 >
28 > I believe different plugins may be written with different security
29 > frameworks - giving a plugin permission to talk directly to the GPU has
30 > more serious implications than the browser taking a 480x360 video stream
31 > and drawing it in the window itself. And one of those (the latter, I
32 > think?) will have more processing overhead, too.
33 >
34 > But I find it hard to believe that Flash it's generally more efficient to
35 > run Flash programs than native ones.
36 >
37 > Note that the video you refer to is available in two different formats at
38 > its best resolution - vp8 and avc1:
39 >
40 > $ youtube-dl https://www.youtube.com/watch?v=cwqhdRs4jyA -F
41 > …
42 > 43 webm 640x360 medium , vorbis, vp8.0
43 > 18 mp4 640x360 medium , mp4a.40.2, avc1.42001E
44 > (best) $
45 >
46 > Undoubtedly one of these codecs is a bit more efficient than the other.
47 >
48 > Stroller.
49
50 I tried to play it with a default profile and the flash plugin disabled. This
51 is the stream that right-click/stats for nerds shows:
52
53 Video ID: cwqhdRs4jyA
54 Dimensions: 640 x 480
55 Resolution: 480 x 360
56 Volume:100%
57 Stream Host:
58 Stream Type: https
59 CPN: CRD2ZLDNKPRMg_WO
60 Mime Type: video/webm; codecs="vp8.0, vorbis"
61 DASH: no (43)
62
63 BTW, there's nothing wrong with the audio.
64 --
65 Regards,
66 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature