Re: [rtcweb] compressed codec-free webrtc?

Magnus Westerlund <magnus.westerlund@ericsson.com> Wed, 30 October 2013 07:20 UTC

Return-Path: <magnus.westerlund@ericsson.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 5FFEA21F9FB7 for <rtcweb@ietfa.amsl.com>; Wed, 30 Oct 2013 00:20:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.372
X-Spam-Level:
X-Spam-Status: No, score=-105.372 tagged_above=-999 required=5 tests=[AWL=0.877, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 yPJT5aZTMgAJ for <rtcweb@ietfa.amsl.com>; Wed, 30 Oct 2013 00:20:05 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 08B1E21F9FB6 for <rtcweb@ietf.org>; Wed, 30 Oct 2013 00:19:47 -0700 (PDT)
X-AuditID: c1b4fb2d-b7f738e000003ee3-4f-5270b310d0cf
Received: from ESESSHC019.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 14.24.16099.013B0725; Wed, 30 Oct 2013 08:19:44 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.77) with Microsoft SMTP Server id 14.2.328.9; Wed, 30 Oct 2013 08:19:44 +0100
Message-ID: <5270B349.4070603@ericsson.com>
Date: Wed, 30 Oct 2013 08:20:41 +0100
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: Randell Jesup <randell-ietf@jesup.org>, rtcweb@ietf.org
References: <CAA93jw72QwmwQ1+wqG9soa8joiuLGRiaKuYnTvkHqkQ20FQ+gg@mail.gmail.com> <52700D33.30102@nostrum.com> <CAA93jw5LxJbbt6y8W_aFHt7Sumd=taLfx21q960JvDQxvHZDpg@mail.gmail.com> <52707641.6090501@jesup.org>
In-Reply-To: <52707641.6090501@jesup.org>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphluLIzCtJLcpLzFFi42KZGfG3Rldgc0GQwbYnshZnt2VZrP3Xzu7A 5LFkyU8mjw/L17EFMEVx2aSk5mSWpRbp2yVwZex/t4ytoFmn4ltvL0sD42HlLkZODgkBE4nH 374wQ9hiEhfurWfrYuTiEBI4xCixdFYzE4SznFFiX88jVpAqXgFtie3//7KB2CwCqhI7P/Wx gNhsAhYSN380gsVFBYIlbiw7xAZRLyhxcuYTsBoRAVuJd382gMWFBYwlZrT2skAsOM8o8fDG B7AzOAU0JXZt+gFkcwCdJC7R0xgEEmYW0JOYcrWFEcKWl2jeOhusXAjonoamDtYJjIKzkKyb haRlFpKWBYzMqxjZcxMzc9LLDTcxAkPy4JbfujsYT50TOcQozcGiJM774a1zkJBAemJJanZq akFqUXxRaU5q8SFGJg5OqQbGzGdPJio7Xl7yXC6CV+zn0d6te9YL7PG9XlPK/Yr7ac1Wrcdi 3P7+pvar1z5dsjg3b4fj3PPee5oYe/+vOr5d80jCH7fcUxXbluoLOn0JfHB/m3z+gruRthon Ozb8EppmnL5ams8lcMezlvVlTZc6L6pcE+m84b6hOn/vu0hdy6WN1psjnvZ8V2Ipzkg01GIu Kk4EAFGx3EgXAgAA
Subject: Re: [rtcweb] compressed codec-free webrtc?
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, 30 Oct 2013 07:20:10 -0000

Hi,

I think using RAW video is completely out of the question for general
WebRTC usage, however I would note that the specification needed to
encapsulate RAW video is available as RTP payload formats, so you are
free to implement and offer them in signalling.

RTP Payload Format for Uncompressed Video
Which supports up to 32768 scan lines and pixels per line. It also
supports various samplings and color spaces.

http://tools.ietf.org/html/rfc4175
Data rate will depend on resolution, frame-rate and sampling.

RTP Payload Format for Society of Motion Picture and Television
Engineers (SMPTE) 292M Video

http://tools.ietf.org/html/rfc3497

Total data rate be either 1.485 Gbps or 1.485/1.001 Gbps.

Cheers

Magnus


On 2013-10-30 04:00, Randell Jesup wrote:
> On 10/29/2013 4:00 PM, Dave Taht wrote:
>> On Tue, Oct 29, 2013 at 12:32 PM, Adam Roach <adam@nostrum.com> wrote:
>>> On 10/29/13 13:33, Dave Taht wrote:
>>>
>>> In having my eyes glaze over at the codec debate I found myself
>>> wondering to what extent anyone was pursuing truly low latency video
>>> and audio, along the lines of what the lola project has been doing for
>>> collaborative concerts.
>>>
>>> See:
>>>
>>> http://www.conts.it/artistica/lola-project
>>>
>>> They ship raw audio and raw video, they actually use cameras where
>>> they can get at scanlines and ship that (saving 16ms)
> 
> Yeah, such things are not the norm unless you build hardware at a low
> level; OS-level access is only at the frame level generally. Also, there
> are costs to pushing that many bits around, even in a local network. 
> (Check your network interface overhead when pushing that many bits!) 
> However: You could use slicing or equivalent to get almost the same
> delay characteristics at HUGELY lower datarates.
> 
> For example, use one-MB high slices with current-tech codecs or
> something very similar.  Compression will kinda suck (well, not so much
> if you let it reference previous slices in the same frame and later
> slices in previous frames), but for standard def (480/60p let's say) the
> inherent delay would be on the order of 0.5ms, perhaps with another
> 0.5ms for encode time (max, otherwise we aren't keeping up with 60fps. 
> For 30p it would be 2ms max.  I don't know about you, but I would have
> trouble seeing 2ms delay.  And how are you guaranteeeing you're not
> seeing a 16/33ms sync delay at the other end?  Are you somehow
> genlocking the displays?  Not *impossible*, but pretty unlikely.
> 
> Memory bandwidth >>> network bandwidth, even fiber, though realistic
> interfaces.   And display tech matters.  I think there must be some FUD
> out there about how compression delays everything and makes it
> problematic.  The one place where such tight latencies matter is audio
> (distributed bands, etc), and there speed-of-light (and
> speed-of-interfaces) are what trip you up generally.  There are video
> equivalents (coordinated remote dance, etc) - but you still have to
> solve the capture and display problems, and compression per se isn't the
> major problem (no new tech is needed, just correct use of current
> tech/codecs I think).
> 
> Brings to mind "Racing the beam".... ;-)
> 
>>>
>>> So I'm ignorant of what webrtc can do is there a codec selection (yuv?
>>> 48 bit audio? for the rawest video and audio possible?)
>>>
>>>
>>> In theory, what you're looking for is this:
>>> http://tools.ietf.org/html/rfc4175
>> Thank you!
>>
>>> However, the caveats in that document are pretty huge:
>>>
>>>     It is important to note that uncompressed video can have immense
>>>     bandwidth requirements (up to 270 Mbps for standard-definition
>>> video,
>>>     and approximately 1 Gbps for high-definition video).  This is
>>>     sufficient to cause potential for denial-of-service if transmitted
>>>     onto most currently available Internet paths.
>>>
>>>
>>> Given the risk of Destroying The Internet Forever[tm] if any major
>>> browser
>>> vendor implemented this, I don't expect you'll see much deployment
>>> any time
>>> soon.
>> I don't see people doing videoconferences in the same qty as we do,
>> say, torrents (famous last words!). Certainly the panopticon might
>> take over the internet (but in that case delays from encoding should
>> be acceptable to our new robotic panoptic overloads, it's just the
>> pesky humans that have trouble with latency)
>>
>> So, maybe running at rates like this would trouble the "Internet" a
>> bit now, but on internal networks, not so much.
>>
>> 270Mbits is a trivial amount of bandwidth for a modern switched
>> network. Homes and businesses that are wired are probably close to
>> universally switched GigE, so internal conversations could possibly
>> run at max speed and minimal latency.
>>
>> Internet-wise, Gfiber delivers GigE, upcoming docsis standards go well
>> above 200Mbit, 802.11ac goes past a gig, 802.11ad goes to 7gig.
>>
>> Removing a serious delay-inducing-encoding step makes things like echo
>> cancellation unneeded, and live lola-like-collaboration possible.
> 


-- 

Magnus Westerlund

----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------