Re: [avtext] Frame marking & VP9 SVC

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Tue, 28 March 2017 17:02 UTC

Return-Path: <sergio.garcia.murillo@gmail.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 5D650129454 for <avtext@ietfa.amsl.com>; Tue, 28 Mar 2017 10:02:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 UQ2AKGWSssBk for <avtext@ietfa.amsl.com>; Tue, 28 Mar 2017 10:02:52 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57E991292F4 for <avtext@ietf.org>; Tue, 28 Mar 2017 10:02:52 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id o81so3757690wmb.1 for <avtext@ietf.org>; Tue, 28 Mar 2017 10:02:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=pjqvjakCocZo/vFBOfnW49sl0pS7ahW+puYvKNED0y8=; b=XLWvHeBWkXJv2P1epOABqvBBVmQbvLIIbUwHP55AHBGxDfLntzrgrOVeL4jWYsBVQI 4mk567vDcWd7y9kSG29elBw1zDgFaHZjG6PNfEynhsDRXopdOdpZSxoJD0eUkH29ROQs JB+QXzGs5AfdimBoyKK9QI6IT3eYmlCWUe9wvfgisyWWljR6XLb7CX/l0JPfnov9KvK3 0+L/7A7juhoXBamNhOmT69iRt++PL191tu6XpuXExuZxmAjX2YFXijPxaL6kooZ5T5TC SYXgjn4d7MokHrSmDmfoxAmR5RSE55i1jWFQ7hdRH+runQXCUBx3g52WZFI4z/23xgC/ QVdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=pjqvjakCocZo/vFBOfnW49sl0pS7ahW+puYvKNED0y8=; b=oVmrpOz+EDKagafK2rxNC/Wt709hRkuEN/J3sR5YEBkWi4wzd6WHu1kKxaPjl9pTFT 1QVygccdJSWvXTvyl/wUpstnzdE5r9Na+8/9stwUqr8UeTpacFXRUYkrLBA8IZKO4AHY m+ruxw8pBQbCys2KlVC3xvapkF2EjK88y1tXrJjD73qKmT/YJaFcJHLNdOhlAEmRFwCK +QtTDojiYKK7aPMKwIyFaRX8ZmrJQNvB+ehg7qbZEPI7o+8TUE+K1uDIXjFagPCM7QZ5 hACYfdxjrL2ouS+BSurLlHfSq/EY4fg4Th5htw054ZD7s7YLpNK3LtGLXk4qYYvIPg3e AiCA==
X-Gm-Message-State: AFeK/H30/FJq36Z76navjCMjDoBNeZPC11SYq+/CbBFUsumnRYwOl6MYAWoLdLoNiEU60g==
X-Received: by 10.28.55.3 with SMTP id e3mr15511340wma.141.1490720570418; Tue, 28 Mar 2017 10:02:50 -0700 (PDT)
Received: from [192.168.1.37] (148.red-79-153-126.dynamicip.rima-tde.net. [79.153.126.148]) by smtp.googlemail.com with ESMTPSA id u7sm5611160wru.56.2017.03.28.10.02.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 10:02:49 -0700 (PDT)
To: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>, "avtext@ietf.org" <avtext@ietf.org>
References: <ebdc7854-b390-d0e4-cfd1-d7df9c65aba4@gmail.com> <D4FFF329.6BA66%mzanaty@cisco.com>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Message-ID: <081e824d-f986-0818-267d-7cb13e836bb4@gmail.com>
Date: Tue, 28 Mar 2017 19:02:48 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <D4FFF329.6BA66%mzanaty@cisco.com>
Content-Type: multipart/alternative; boundary="------------FF986E42EA20673B2A6C2B76"
Archived-At: <https://mailarchive.ietf.org/arch/msg/avtext/O8CAXVyWr8Q7bwAWA3bgThazH8U>
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 17:02:55 -0000

Hi Mo,

Thanks for checking it out.

Just one comment, please take into account that in PERC context the 
payload is encrypted, so the SFU will not have access to the media 
payload and will only be able to rely on the frame marking extensions to 
perform the selective forwarding.

Best regards
Sergio

On 28/03/2017 18:53, Mo Zanaty (mzanaty) wrote:
> 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 (seeSection 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