Re: [video-codec] draft-filippov-netvc-requirements-01

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Wed, 22 July 2015 08:53 UTC

Return-Path: <mzanaty@cisco.com>
X-Original-To: video-codec@ietfa.amsl.com
Delivered-To: video-codec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 232791ACEE3 for <video-codec@ietfa.amsl.com>; Wed, 22 Jul 2015 01:53:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 KKqJ0dOTPtQG for <video-codec@ietfa.amsl.com>; Wed, 22 Jul 2015 01:53:20 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 444931ACEE0 for <video-codec@ietf.org>; Wed, 22 Jul 2015 01:53:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4096; q=dns/txt; s=iport; t=1437555200; x=1438764800; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=1kRQp515gkrdzZgUJJsRl3gjD9PibWj84yCAZvRXVRE=; b=T29mlSrJFhXnjjFPf+VJ0KIL9/rM4X7DVWeuah2+ogjHqi3TVpsfiDKo hxfB+76A/M87izuoUf6B+5DSeAajKFeIDGuKkgnNimpIUjxf1G008RAAg k6tegDPr6inCv/3qv+DTRtBjC5swSsp7J3DQiQIoReMUHNQqcud0ZJBMJ 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0APBQBUWa9V/4UNJK1bgxVUaQa7e4FrCoYBAoFGORMBAQEBAQEBgQqEIwEBAQQBAQE3NAsMBAIBCA4DAwECAR4QJwsdCAIEAQ0FiC4NzCkBAQEBAQEBAQEBAQEBAQEBAQEBAQETBIpKgQKELlgHBoQlBZRXAYR0hz2ZESaDfG+BBUKBBAEBAQ
X-IronPort-AV: E=Sophos;i="5.15,522,1432598400"; d="scan'208";a="171223093"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Jul 2015 08:53:19 +0000
Received: from xhc-rcd-x09.cisco.com (xhc-rcd-x09.cisco.com [173.37.183.83]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id t6M8rJqw026549 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 22 Jul 2015 08:53:19 GMT
Received: from xmb-rcd-x14.cisco.com ([169.254.4.112]) by xhc-rcd-x09.cisco.com ([173.37.183.83]) with mapi id 14.03.0195.001; Wed, 22 Jul 2015 03:53:19 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Thomas Daede <tdaede@mozilla.com>, "Ali C. Begen (abegen)" <abegen@cisco.com>
Thread-Topic: [video-codec] draft-filippov-netvc-requirements-01
Thread-Index: AQHQxFvbUJCwj88TPEK4pVRo7ndEBw==
Date: Wed, 22 Jul 2015 08:53:18 +0000
Message-ID: <D1D4CDD7.521A9%mzanaty@cisco.com>
References: <32AA73C5-0D17-4ECE-A02D-041C5147D9E5@cisco.com> <55AE60D0.3040201@mozilla.com> <29BD22C6-8790-451B-B754-ED55D2F41C90@cisco.com> <55AE6F5C.8000805@mozilla.com> <48DABB00-F56E-4725-B4FB-F0F91857CA1A@cisco.com> <55AE716E.8090305@mozilla.com> <8E255F2B-E72A-4634-A6AB-335C77BE2448@cisco.com> <2DECBC26-B567-420F-93EC-447E9B61169E@cisco.com> <55AF4E62.6070805@mozilla.com>
In-Reply-To: <55AF4E62.6070805@mozilla.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.5.3.150624
x-originating-ip: [64.100.32.216]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <10FD67365F79A54FAF0D06EE52C85E97@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/video-codec/xCilzhpPIKLSx-msKm6JgFHnDJo>
Cc: "video-codec@ietf.org" <video-codec@ietf.org>
Subject: Re: [video-codec] draft-filippov-netvc-requirements-01
X-BeenThere: video-codec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Video codec BoF discussion list <video-codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/video-codec>, <mailto:video-codec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/video-codec/>
List-Post: <mailto:video-codec@ietf.org>
List-Help: <mailto:video-codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/video-codec>, <mailto:video-codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2015 08:53:22 -0000

I see a much simpler distinction between high/low latency modes.
Low latency is zero frame delay, i.e. no reordering, lookahead, etc.
High latency is unrestricted, i.e. all tools / techniques enabled
to maximize quality or minimize bitrate / file size.

I don't think the definition of these modes should be tied to rate control
modes like VBR or CBR. While I agree interactive applications often have
constraints on both latency and peak bitrate (to remain below available
bandwidth), I think it is confusing to conflate them by defining low
latency in terms of bitrate control.

For example, under the current definition of low latency as CBR with a 300
ms rate control buffer (similar to MPEG VBV model), and no further
constraints, encoders could reorder 18 frames of 1080p60 and still claim
"low latency". I think this violates our goal. The true goal should be
absolute minimum delay, which means zero frame delay restrictions within
the encoder.

Mo (as individual)


On 7/22/15, 4:03 AM, Thomas Daede <tdaede@mozilla.com> wrote:

I have pending updates for a -02 version of the testing draft that
better machines the slides that I presented. I have pasted the revised
selection below. Note that the encoder parameters haven't been updated
yet, and I also plan to incorporate rate-control-less operating modes,
as per consensus in the room.

## Operating Points

Two operating modes are defined. High latency is intended for on demand
streaming, one-to-many live streaming, and stored video. Low latency is
intended for videoconferencing and remote access.

### High Latency

The encoder should be run at the best quality mode available, using the
mode that will provide the best quality per bitrate (VBR or constant
quality mode). Lookahead and/or two-pass are allowed, if supported.
Example configurations follow:

- x264: --crf=x
- x265: --crf=x
- daala: -v=x
- libvpx: --codec=vp9 --end-usage=q --cq-level=x

### Low Latency

Codecs should be run in CBR mode. The maximum allowed bitrate variance
is determined by a buffer model:

- The buffer starts out empty.
- After each frame is encoded, the buffer is filled by the number of
bits spent for the frame.
- The buffer is then emptied by (bitrate * frame duration) bits.
- The buffer fill level is checked. If it is over the limit, the test is
considered a failure.

The buffer size limit is defined by the bitrate target * 0.3 seconds.


On 07/21/2015 06:36 PM, Mo Zanaty (mzanaty) wrote:
> 300 ms (* bitrate) refers to the rate control buffer not coding latency.
> 
> I think the testing draft should define low latency as zero frame delay,
>i.e. no reordering. The high latency condition can be unrestricted.
> 
> Mo (as individual)
> 
> On Jul 21, 2015, at 6:28 PM, Ali C. Begen (abegen) <abegen@cisco.com>
>wrote:
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Thomas Daede
> Date: Tuesday, July 21, 2015 at 6:21 PM
> To: "Ali C. Begen", "video-codec@ietf.org"
> Subject: Re: [video-codec] draft-filippov-netvc-requirements-01
> 
>> On 07/21/2015 06:14 PM, Ali C. Begen (abegen) wrote:
>>
>>>>>> - All of the use cases should specify either a high latency or low
>>>>>> latency requirement.
>>>>> And where is the borderline?
>>>>
>>>> What is a borderline use case? I would much rather keep the number of
>>>> configurations as low as possible.
>>>
>>> I mean what is low latency vs high latency. And who decides that?
>>
>> It is defined in draft-daede-netvc-testing-01 [1]. And some of the
>> definition should probably be moved into the requirements draft, though
>> individual codec parameters still belong in the testing draft.
>>
>> https://datatracker.ietf.org/doc/draft-daede-netvc-testing/
> 
> I searched for latency and delay, nothing showed up. The only time
>related number seems to be 300ms in section 5.3.
> _______________________________________________
> video-codec mailing list
> video-codec@ietf.org
> https://www.ietf.org/mailman/listinfo/video-codec
>