Re: [avtext] Frame marking & VP9 SVC

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Tue, 28 March 2017 16:53 UTC

Return-Path: <mzanaty@cisco.com>
X-Original-To: avtext@ietfa.amsl.com
Delivered-To: avtext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 480571294D0 for <avtext@ietfa.amsl.com>; Tue, 28 Mar 2017 09:53:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 34OSX_QKVZSU for <avtext@ietfa.amsl.com>; Tue, 28 Mar 2017 09:53:41 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C84A129468 for <avtext@ietf.org>; Tue, 28 Mar 2017 09:53:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10908; q=dns/txt; s=iport; t=1490720021; x=1491929621; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=AFWJlGF2PoOVIQFve8S1AK8nR5sJbMiIRt/t+COnSgY=; b=QY/JMtcMWFsOjcSUwywtXcvq8hPgujdJ245Hflgc1AAylLXQj8admteA Wo9pd2xN+aHXL7CikJiWfUj6wZL4J/4SSYa/iDKMQHIP/tABmjNEPLE08 QiMspzTHKsJF8gGuJwgUT3UEntsZDHUFfXXMI27ALNQtfdlhyxpYakRpK 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DtBAARlNpY/5tdJa1TChkBAQEBAQEBAQEBAQcBAQEBAYJuOythgQsHg1uKD5FRhiSBc4gEhTGCDiyCGwGDWgKDIT8YAQIBAQEBAQEBayiFFQEBAQEDBBwEZQIBCBEDAQIoBAMhCQgUCQgCBAEQAolvAxUOrH8MgiUrhwUNgxEBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYZOhG+CUYFbSIJngl4FnCY6AYZ7gyqDcYQ4kTOKb4h6AR84PkZZFYUZHYFjQzIBiESBDQEBAQ
X-IronPort-AV: E=Sophos;i="5.36,237,1486425600"; d="scan'208,217";a="400349036"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 16:53:40 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v2SGre8O023882 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 28 Mar 2017 16:53:40 GMT
Received: from xch-aln-005.cisco.com (173.36.7.15) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 28 Mar 2017 11:53:39 -0500
Received: from xch-aln-005.cisco.com ([173.36.7.15]) by XCH-ALN-005.cisco.com ([173.36.7.15]) with mapi id 15.00.1210.000; Tue, 28 Mar 2017 11:53:39 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>, "avtext@ietf.org" <avtext@ietf.org>
Thread-Topic: [avtext] Frame marking & VP9 SVC
Thread-Index: AQHSp+PZCuZf8O8boky9hNFKfq9hdg==
Date: Tue, 28 Mar 2017 16:53:39 +0000
Message-ID: <D4FFF329.6BA66%mzanaty@cisco.com>
References: <ebdc7854-b390-d0e4-cfd1-d7df9c65aba4@gmail.com>
In-Reply-To: <ebdc7854-b390-d0e4-cfd1-d7df9c65aba4@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.2.170228
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.82.224.245]
Content-Type: multipart/alternative; boundary="_000_D4FFF3296BA66mzanatyciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/avtext/Dg3WfiMxX9o_pSGdqit6uJhO8NU>
Subject: Re: [avtext] Frame marking & VP9 SVC
X-BeenThere: avtext@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Audio/Video Transport Extensions working group discussion list <avtext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avtext>, <mailto:avtext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avtext/>
List-Post: <mailto:avtext@ietf.org>
List-Help: <mailto:avtext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avtext>, <mailto:avtext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Mar 2017 16:53:43 -0000

Hi Sergio,

Good catch. The VP9 payload format has changed since the Frame Marking LID extensions were defined. The VP9 authors expect it may change further. Based on discussion during today's AVT session, we will remove VP9 from the Frame Marking draft (which will help avoid MIS-REF later), and move that information to the VP9 payload format so it can evolve without diverging.

The discussion on U and P bits was more nuanced. The main point is Frame Marking should help identify when layer refresh has occurred and when layer up switching is possible. We will add some text on this for simple, fixed scalability structures, and note that complex, non-fixed structures require payload-specific inspection and logic that no extra bits will completely eliminate.

Cheers,
Mo

From: avtext <avtext-bounces@ietf.org<mailto:avtext-bounces@ietf.org>> on behalf of Sergio Murillo <sergio.garcia.murillo@gmail.com<mailto:sergio.garcia.murillo@gmail.com>>
Date: Tuesday, March 28, 2017 at 9:54 AM
To: "avtext@ietf.org<mailto:avtext@ietf.org>" <avtext@ietf.org<mailto:avtext@ietf.org>>
Subject: [avtext] Frame marking & VP9 SVC


Hi,

I have been implementing the framemarking for PERC and I have some doubts regarding the VP9 LID mapping.

First, is that according to https://tools.ietf.org/html/draft-ietf-payload-vp9-03 there are no quality layers on VP9 SVC they are considered as case of spatial layers:

   VP9 supports quality layers as spatial layers without any resolution
   changes; hereinafter, the term "spatial layer" is used to represent
   both spatial and quality layers.

So, shouldn't the LID reference to the spatial layer ID only  and omit the quality layer id completely? Also, the spatial layer id is 3 bits on that draft.

Also, in order to be able to implement VP9 SVC layer selection, the SFU needs the information of the P and U bits of the VP9 header description:

   P: Inter-picture predicted layer frame.  When set to zero, the layer
      frame does not utilize inter-picture prediction.  In this case,
      up-switching to current spatial layer's frame is possible from
      directly lower spatial layer frame.  P SHOULD also be set to zero
      when encoding a layer synchronization frame in response to an LRR
      [I-D.ietf-avtext-lrr<https://tools.ietf.org/html/draft-ietf-payload-vp9-03#ref-I-D.ietf-avtext-lrr>] message (see Section 5.4<https://tools.ietf.org/html/draft-ietf-payload-vp9-03#section-5.4>).  When P is set to
      zero, the T bit (described below) MUST also be set to 0 (if
      present).



   U: Switching up point.  If this bit is set to 1 for the current
      frame with temporal layer ID equal to T, then "switch up" to a
      higher frame rate is possible as subsequent higher temporal
      layer frames will not depend on any frame before the current
      frame (in coding time) with temporal layer ID greater than T.


Without that info, the SFU won't be able to upscale, so it would be required to add that information on the VP9 LID.
Including that changes, it would be something like this:


    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  ID=2 |  L=2  |S|E|I|D|B| TID |0|0|0|P|U| SID |    TL0PICIDX  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


Best regards
Sergio