Re: [rtcweb] Platforms that support H264

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Wed, 06 November 2013 05:20 UTC

Return-Path: <mzanaty@cisco.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8678921E80B1 for <rtcweb@ietfa.amsl.com>; Tue, 5 Nov 2013 21:20:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.409
X-Spam-Level:
X-Spam-Status: No, score=-10.409 tagged_above=-999 required=5 tests=[AWL=0.189, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0DxZZwrjMqHL for <rtcweb@ietfa.amsl.com>; Tue, 5 Nov 2013 21:20:22 -0800 (PST)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 5AABF21E80AE for <rtcweb@ietf.org>; Tue, 5 Nov 2013 21:20:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=22964; q=dns/txt; s=iport; t=1383715222; x=1384924822; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=R2HWZ3Ll0qKu4XnLZSTMBtyseD4Gac9hoWkegNICIqE=; b=efO51CFbX5/MovcjEUUwgsfpYdBR3NLFdfNiIgZt66JQ5KM5HN0/Kzeu nsdUPPQIOv7yGJV8eaEd1cfCdo7Exe4unBQUtkZ+mH+fEYYqMRNXvTgIG 1SMLQnSEX/Ye+nV0DFZH7H+vrc5mKA0eoidoRVNKBpayvQ8nSPLMvXnH0 w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiEFAG7QeVKtJV2c/2dsb2JhbABZgkNEOFO/AUuBJRZ0giUBAQEEAQEBKkELEgEIEQQBASgoBgsUAwEFCAIEAQ0FFAeHVAMPDbRVDYlnBIxngk4gBAYBhC8DhVSQS4FrjFKFN4Mmgio
X-IronPort-AV: E=Sophos; i="4.93,644,1378857600"; d="scan'208,217"; a="281321064"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-4.cisco.com with ESMTP; 06 Nov 2013 05:20:21 +0000
Received: from xhc-aln-x11.cisco.com (xhc-aln-x11.cisco.com [173.36.12.85]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id rA65KLkp022822 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 6 Nov 2013 05:20:21 GMT
Received: from xmb-rcd-x14.cisco.com ([169.254.4.50]) by xhc-aln-x11.cisco.com ([173.36.12.85]) with mapi id 14.03.0123.003; Tue, 5 Nov 2013 23:20:20 -0600
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: "Markus.Isomaki@nokia.com" <Markus.Isomaki@nokia.com>, "juberti@google.com" <juberti@google.com>, "randell-ietf@jesup.org" <randell-ietf@jesup.org>
Thread-Topic: [rtcweb] Platforms that support H264
Thread-Index: AQHO2q/i0OsOgTLqXE2Wnbsc3UuMdA==
Date: Wed, 06 Nov 2013 05:20:20 +0000
Message-ID: <CE9F2280.1C16B%mzanaty@cisco.com>
In-Reply-To: <E44893DD4E290745BB608EB23FDDB7620A108A95@008-AM1MPN1-041.mgdnok.nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.3.8.130913
x-originating-ip: [10.82.248.188]
Content-Type: multipart/alternative; boundary="_000_CE9F22801C16Bmzanatyciscocom_"
MIME-Version: 1.0
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Platforms that support H264
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: Wed, 06 Nov 2013 05:20:27 -0000

Note that fixing the OS API issues helps all codecs. We should all be supportive of that, not using the issues as an excuse to ignore hardware benefits or abandon good engineering design. The Google Nexus 5 can encode and decode 1080p60 H.264 or VP8 fully in hardware. Why should Chrome, Hangouts or other Google apps not take advantage of a Google hardware codec on a Google phone/OS?

Forget H.264 vs. VP8 for a moment. If you have codec X available at 1080p60 in hardware, why fallback to software?

Randell, I feel your pain on getting hardware access to work reliably and universally. We have gone through this for several apps and platforms, and it is indeed a pain, and sometimes you still need software fallback. But it is better than giving up and always relying on software fallback. I applaud Firefox for wrestling with Android APIs, and encourage you and others to continue doing so for all hardware codecs. (We will get more than H.264 or VP8 in next year’s silicon, so this will pay off even more.)

Mo


On 11/5/13, 7:24 PM, Markus.Isomaki@nokia.com<mailto:Markus.Isomaki@nokia.com> <Markus.Isomaki@nokia.com<mailto:Markus.Isomaki@nokia.com>> wrote:

Hi,

I agree there is definitely a need to improve the access to the H.264  “HW” codecs so they would be realistically usable for WebRTC or other interactive video apps. But that still seems to me as the best way forward compared to the other options. I know improvements are coming at least to Windows Phone and Windows RT.

Markus


From: rtcweb-bounces@ietf.org<mailto:rtcweb-bounces@ietf.org> [mailto:rtcweb-bounces@ietf.org] On Behalf Of ext Justin Uberti
Sent: 06 November, 2013 00:58
To: Randell Jesup
Cc: rtcweb@ietf.org<mailto:rtcweb@ietf.org>
Subject: Re: [rtcweb] Platforms that support H264



On Tue, Nov 5, 2013 at 6:58 AM, Randell Jesup <randell-ietf@jesup.org<mailto:randell-ietf@jesup.org>> wrote:
On 11/5/2013 12:55 AM, Mo Zanaty (mzanaty) wrote:
I’m serious. Name a device in mass production that is relevant to rtcweb but does not have H.264 hardware.

Plenty have hardware is out there that might not be optimized (or usable) for the types of arbitrary-sized, realtime simultaneous h.264 encode/decode.  Even just handling streaming decode on Android via OMX has been a year of pain for one of our engineers, because (especially before JB) the interfaces were unsupported, randomly modified/incompatible, and with lots of restrictions on what actually is supported.  Even with "perfect" API layers exposing them, the hardware layers (especially encoders) may not have the low-latency and other realtime characteristics needed, or knobs to tell them about things like packet loss reports that require IDR generation.  How many does this affect? who knows - and the API layers on top are inconsistent enough (or non-existent at the present) that it's especially hard to tell.

And many of them can handle only a single stream at a time; which makes "hangout"/simulcast cases more fun (need to run HW and SW in parallel, or drop to SW only - makes capability signaling fun too; the LCD of the SW and HW codecs needs to be what you offer probably, unless you want real pain).

Exactly. Name a 3rd-party software application in wide use on any of today's popular platforms that uses a H.264 HW encoder for rtcweb scenarios.




Your second point is valid; hardware is useless without supporting software. OS APIs to access codecs (both hardware and software, real-time and buffered) is an important issue. Android is the dominant OS on the planet. If you are not happy with its OS APIs, just change them; it’s open source like VP8 right?

Not really.  You can't modify the underlying OS provided by the manufacturer (no rooting of phones to run webrtc should be required...)  and even custom roms are going to get much harder or virtually impossible  with kitkat.  And witness my comments about the pain of platform decoders on Android today.

   Randell




Mo


On 11/5/13, 1:10 AM, cowwoc <cowwoc@bbs.darktech.org<mailto:cowwoc@bbs.darktech.org>> wrote:


    I'm not sure if you're being sarcastic or not...

    In any case, I had a question regarding BlackBerry 10. Are you implying that every BlackBerry 10 phone includes an API for real-time encoding/decoding of H.264 video streams? If so, which API is it? I took a quick look but couldn't find it.

Thanksm
Gili

On 04/11/2013 9:52 PM, Mo Zanaty (mzanaty) wrote:
I think you meant *every* phone, tablet, laptop, desktop, set-top, camera…


On 11/2/13, 7:41 PM, Kaiduan Xie <kaiduanx@gmail.com<mailto:kaiduanx@gmail.com>> wrote:

Every BlackBerry 10 phone has H.264 hardware encoder/decoder.

/Kaiduan

On Sat, Nov 2, 2013 at 6:18 PM, Eric Rescorla <ekr@rtfm.com<mailto:ekr@rtfm.com>> wrote:


On Sat, Nov 2, 2013 at 1:01 PM, Gili <cowwoc@bbs.darktech.org<mailto:cowwoc@bbs.darktech.org>> wrote:
Martin,

    I fully understand why Firefox would be happy but as someone who plan to integrate WebRTC into a non-browser application, especially on iOS, Cisco's solution simply does not work. I appreciate their contribution, but again, it simply doesn't help my use-case.

I haven't seen  you explain how your use case is different from that of
a browser. Could you please do so?

-Ekr

Gili


On 11/2/2013 11:02 AM, Martin Thomson wrote:
On 2 November 2013 07:37, cowwoc <cowwoc@bbs.darktech.org<mailto:cowwoc@bbs.darktech.org>> wrote:
     I can't think of a single platform that supports real-time H.264
encoding/decoding natively today.
That's a very strange way to put the question.

Let me put another spin on it, and please excuse the example...

Skype runs on more platforms than you might think.  Those platforms
can all support H.264 to the extent that Skype requires.
Cisco's generous offer opens almost the same capability to anyone,
with the caveat that some platforms currently remain closed.  Of
course, you could let your ideals get in the way of progress.  Me, I'm
a pragmatist.  This gift represents a great opportunity for people who
actually care about the practical outcomes.

There's been a lot of mouth-gazing of gift horses on this list of
late.  I sure hope that this isn't representative of the real
sentiment of the community.  I'd like to think that people are better
than that.

(BTW, I understand and respect Harald's position.  From where he sits,
I'm sure that his conclusion makes perfect sense.)



--

Randell Jesup

randell-ietf@jesup.org<mailto:randell-ietf@jesup.org>

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org<mailto:rtcweb@ietf.org>
https://www.ietf.org/mailman/listinfo/rtcweb