Re: [rtcweb] H.261

Stefan Slivinski <sslivinski@lifesize.com> Mon, 25 November 2013 02:28 UTC

Return-Path: <sslivinski@lifesize.com>
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 31D4B1A1DFA for <rtcweb@ietfa.amsl.com>; Sun, 24 Nov 2013 18:28:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 U5Uu__n6PEbo for <rtcweb@ietfa.amsl.com>; Sun, 24 Nov 2013 18:28:40 -0800 (PST)
Received: from na3sys009aog111.obsmtp.com (na3sys009aog111.obsmtp.com [74.125.149.205]) by ietfa.amsl.com (Postfix) with SMTP id 004741A1F1B for <rtcweb@ietf.org>; Sun, 24 Nov 2013 18:28:39 -0800 (PST)
Received: from mail1.lifesize.com ([207.114.244.10]) (using TLSv1) by na3sys009aob111.postini.com ([74.125.148.12]) with SMTP ID DSNKUpK11+zLpQi8iTOJvA/8HK+1Z2y1e6Sx@postini.com; Sun, 24 Nov 2013 18:28:40 PST
Received: from ausmsex00.austin.kmvtechnologies.com ([fe80::edad:d9e3:99d1:8109]) by ausmsex00.austin.kmvtechnologies.com ([fe80::edad:d9e3:99d1:8109%14]) with mapi; Sun, 24 Nov 2013 20:21:49 -0600
From: Stefan Slivinski <sslivinski@lifesize.com>
To: Maik Merten <maikmerten@googlemail.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Date: Sun, 24 Nov 2013 20:21:46 -0600
Thread-Topic: [rtcweb] H.261
Thread-Index: Ac7o9VigiG9QHbpBQw68m1ooDQMzOwAjWd1Q
Message-ID: <7949EED078736C4881C92F656DC6F6C130EA9E679A@ausmsex00.austin.kmvtechnologies.com>
References: <528F9DAD.3030300@googlemail.com> <7949EED078736C4881C92F656DC6F6C130EA9E66DE@ausmsex00.austin.kmvtechnologies.com> <528FAAA8.8060807@googlemail.com> <7949EED078736C4881C92F656DC6F6C130EA9E66FE@ausmsex00.austin.kmvtechnologies.com> <528FB79F.8090405@gmail.com> <7949EED078736C4881C92F656DC6F6C130EA9E670F@ausmsex00.austin.kmvtechnologies.com> <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> <5291C305.1090302@googlemail.com>
In-Reply-To: <5291C305.1090302@googlemail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
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: Mon, 25 Nov 2013 02:28:42 -0000

All good points.  3rd party support is inconsistent, there are platforms that play nice and others that don't.  It's definitely a problem but in theory everyone could support exposing an API to hardware acceleration.  Typically error resiliency is half-hearted, generally these engines were designed for playing movies or recording videos where packet loss is impossible.  Most of the time issues can be fixed with a firmware upgrade.  As for decoding several streams in parallel, the short answer is no.  some architectures have multiple hardware acceleration engines (TI omap as an example) where this is possible, otherwise it's serial but if you are decoding say 720p30 on a hardware acceleration engine that can do up to 4Kp30 then you can do 9 720p30 streams by decoding one frame for each stream as they arrive.  Managing all the 9 independent streams will usually have some hit to performance in order to page context information in/out of memory so maybe 8 streams is more realistic.

I don't know about skype on every platform, I know one of our products supports skype and we do all the encode/decode in hardware but that's just once example.  But one thing skype didn't do was use H.261.

-----Original Message-----
From: rtcweb [mailto:rtcweb-bounces@ietf.org] On Behalf Of Maik Merten
Sent: Sunday, November 24, 2013 1:13 AM
To: rtcweb@ietf.org
Subject: Re: [rtcweb] H.261

Am 24.11.2013 05:29, schrieb Stefan Slivinski:
> What few seem to acknowledge is that companies like intel, TI, qualcomm, broadcom (just to name a few) have spent hundreds of millions (if not billions) of dollars adding hardware accelerate for H.264 to their chips.  Purpose designed hardware will always be faster and require less power than software implementations and no one is spending anything supporting H.261 hardware acceleration.

It appears that these hardware accelerators are usually not accessible to 3rd-party applications on mobile platforms (as has been discussed before). Even if they are they may not be consistent regarding available settings and performance. Can hardware accelerators, e.g., decode several incoming streams in parallel (honest question, I really don't know)? How does bitrate control of the embedded encoders behave? Do they offer options for error resilience etc. etc.?

IIRC it has been confirmed on this list that Skype deploys H.264 in software across all platforms for such reasons. So clearly, the theoretical advantages of H.264 hardware support (which works nicely in media playback, no doubt) do clearly not transfer quite easily to real-time communication on consumer devices. Given that older codecs currently in discussion are much more frugal in terms of overall computation, deployments in software don't look especially intimidating.


Maik
_______________________________________________
rtcweb mailing list
rtcweb@ietf.org
https://www.ietf.org/mailman/listinfo/rtcweb