Re: [rtcweb] H.261

Ron <ron@debian.org> Sun, 24 November 2013 06:40 UTC

Return-Path: <ron@debian.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A537C1AE00B for <rtcweb@ietfa.amsl.com>; Sat, 23 Nov 2013 22:40:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LE3NZf1GPmwI for <rtcweb@ietfa.amsl.com>; Sat, 23 Nov 2013 22:40:46 -0800 (PST)
Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:6]) by ietfa.amsl.com (Postfix) with ESMTP id 11A4D1ADFE3 for <rtcweb@ietf.org>; Sat, 23 Nov 2013 22:40:45 -0800 (PST)
Received: from ppp14-2-50-7.lns21.adl2.internode.on.net (HELO audi.shelbyville.oz) ([14.2.50.7]) by ipmail06.adl6.internode.on.net with ESMTP; 24 Nov 2013 17:10:15 +1030
Received: from localhost (localhost [127.0.0.1]) by audi.shelbyville.oz (Postfix) with ESMTP id 015634F8F3 for <rtcweb@ietf.org>; Sun, 24 Nov 2013 17:10:13 +1030 (CST)
X-Virus-Scanned: Debian amavisd-new at audi.shelbyville.oz
Received: from audi.shelbyville.oz ([127.0.0.1]) by localhost (audi.shelbyville.oz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id E9D1tRaFd8ih for <rtcweb@ietf.org>; Sun, 24 Nov 2013 17:10:11 +1030 (CST)
Received: by audi.shelbyville.oz (Postfix, from userid 1000) id 5C0084F902; Sun, 24 Nov 2013 17:10:11 +1030 (CST)
Date: Sun, 24 Nov 2013 17:10:11 +1030
From: Ron <ron@debian.org>
To: rtcweb@ietf.org
Message-ID: <20131124064011.GK3245@audi.shelbyville.oz>
References: <528FBD13.5040801@gmail.com> <528FD429.7090002@nostrum.com> <528FDE5E.5080301@librevideo.org> <CE523335-0146-4FA5-A735-1EB4A8B3F1EF@apple.com> <20131123003548.GD3245@audi.shelbyville.oz> <529006BB.609@nostrum.com> <7949EED078736C4881C92F656DC6F6C130EA9E6760@ausmsex00.austin.kmvtechnologies.com> <529057EB.3060704@bbs.darktech.org> <7949EED078736C4881C92F656DC6F6C130EA9E677A@ausmsex00.austin.kmvtechnologies.com> <CAGgHUiTE31Fes8Dhw5ZttfxhonzyTd_x0Vt-jLh2+C3U+mkVDw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAGgHUiTE31Fes8Dhw5ZttfxhonzyTd_x0Vt-jLh2+C3U+mkVDw@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: Re: [rtcweb] H.261
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Nov 2013 06:40:47 -0000

On Sun, Nov 24, 2013 at 08:02:36AM +0200, Leon Geyser wrote:
> If we fallback to a software H.261 encoder/decoder then will it really use
> so much CPU that devices will be unusable or the battery will deplete
> early?

No, it won't.  You're pretty much certain to get better battery life
doing software H.261 than hardware H.264 on all but the most retarded
of architectures (ie. something with _no_ powersaving ability at all).
And both of them pale into insignificance against the power your
display will use.

http://www.yosefk.com/blog/its-done-in-hardware-so-its-cheap.html

tldr;  something that take 100x more operations to perform _still_
takes ~100x more operations to perform, and about the same amount of
power, regardless of whether it's run on a "custom processor" (aka
'hardware acceleration') or a general purpose processor (aka CPU).

If you want it to actually go faster too, that will generally use
MORE power, not less.  Ye cannae change the laws o' physics.


Nobody who has actually measured this, or understands anything about
the details of it peddles this kind of snake oil about hardware accel.


> I didn't know that H.261 was so CPU intensive...

It's so CPU intensive that it ran on phones from 25 years ago ...


So I guess we can add "power saving and longer battery life" to
the list of pros for H.261, and reasons someone might deliberately
choose to use it, even if other options are available!

If we keep thinking, the list just keeps growing :)

  Ron