Re: [AVTCORE] Some (SFrame RTP encapsulation) questions to ponder

Alexandre GOUAILLARD <agouaillard@gmail.com> Thu, 11 March 2021 08:46 UTC

Return-Path: <agouaillard@gmail.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9ABEB3A15F0 for <avt@ietfa.amsl.com>; Thu, 11 Mar 2021 00:46:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 QcJIWI7WU5dv for <avt@ietfa.amsl.com>; Thu, 11 Mar 2021 00:46:33 -0800 (PST)
Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (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 9A7673A15EF for <avt@ietf.org>; Thu, 11 Mar 2021 00:46:33 -0800 (PST)
Received: by mail-pg1-x52a.google.com with SMTP id t37so2443321pga.11 for <avt@ietf.org>; Thu, 11 Mar 2021 00:46:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=2GvJwm/sQMGHLTXZfGznmK2QsbiTLCl30O/fOwCMOko=; b=M+5jWXzbE4o0WSVg2MyyVREkXZO4KpnHMDawk9ZrXgpmuaOFP84t0CuRxqMx9WF0R+ fvVGNVo4o1dzef3JkraWa3Dqo0UCevIuewUNZ6UsG35By9YLpWjP9o0nfT5r/khMCjO4 SLv4j8SDvrOhekzhJNRCXXMeAUu+H7jGQI6kGJGSKUWhzERthnmY0Dl4rZw6vpptWuZB Ne0YJbH8B4ReuYBkGrUGxcPLf9KRbnjz2YXwb2evw8td15BEA8lCeKgbiAPb/vL3sODl I3AsJeI2Dc/JLbLPCxnWeq/8dVNDI8xbQ+C6BdRRnHw5lsHJx2YN9udjve8qXVWLgzMs y91A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=2GvJwm/sQMGHLTXZfGznmK2QsbiTLCl30O/fOwCMOko=; b=EphFfdNcGfXlJU2tFP3Jo19h+c8tceF/OimgBLLW+cL1QLPzu6U+mBaLZt6ij7GMwO qIDSHotiLpZ7ssJ3XBLE1TH0w/uiajqAk+TPvyvgHDBDAj33ReOmAgFsenyAV0hUiV8t fh7o+3psnbGlKkT56fRkR4oK7PbQkjJwiuG1d4+LvSeSFkEu4G3lrDd736KjDucY6fgl l9yn/sWk7sJnIU53c3NqLpsjrYMxcdfcs6QIiRPvZtEX6nL+xHK5TiwsS3/bWoc/VGXd swbKCUNOXzz6aAftjOUWIDJG2165TqnB8UfpjfhAWlPj2aaTycA/kiRjIre+EUnLjn/Y a70g==
X-Gm-Message-State: AOAM530yhZVPtFAiQTdzw0WW2uQIhWXjLQnqGCPb4S9AJRO24rfEvh8p MC8MqiLJVyPNfLpDna7gAD8=
X-Google-Smtp-Source: ABdhPJwYcVl+gv8y6HbA4Xzb9110ZAYBFs846bWlk/SMHHdfEFKecR+rmYrJ78HtyKOON7BdCNkrXw==
X-Received: by 2002:aa7:9f52:0:b029:1ee:db83:dac6 with SMTP id h18-20020aa79f520000b02901eedb83dac6mr6629922pfr.45.1615452392517; Thu, 11 Mar 2021 00:46:32 -0800 (PST)
Received: from [10.115.207.71] ([183.90.36.105]) by smtp.gmail.com with ESMTPSA id c24sm1634393pjv.18.2021.03.11.00.46.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Mar 2021 00:46:30 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail-2188C7CB-7EE4-48B8-802F-269752D0459D"
Content-Transfer-Encoding: 7bit
From: Alexandre GOUAILLARD <agouaillard@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Thu, 11 Mar 2021 15:46:28 +0700
Message-Id: <A2E8BA7B-911F-4970-B622-95D1C9F7A5BA@gmail.com>
References: <CA+ag07bVmt8j1vQ9dt7JtfpqRgqVwqWA8M42=vyP=kr771KTzA@mail.gmail.com>
Cc: Bernard Aboba <bernard.aboba@gmail.com>, IETF AVTCore WG <avt@ietf.org>
In-Reply-To: <CA+ag07bVmt8j1vQ9dt7JtfpqRgqVwqWA8M42=vyP=kr771KTzA@mail.gmail.com>
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
X-Mailer: iPhone Mail (18B92)
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/GMZV_BiIdL52t_OgIvkXWwHDeRk>
Subject: Re: [AVTCORE] Some (SFrame RTP encapsulation) questions to ponder
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2021 08:46:36 -0000

Sergio,

I think you had done this analysis for h264, vp8 and vp9 two years ago. There are some existing  slides about it.

If Apple/Intel add a slide for h265 since they support it in safari, we add av1, Stefan bring in h266, we have more or less most of the codecs of interest and enough data to judge.

We could have three sections:
1 - what do you need to use to go into a generic packetizer and how much is codec specific. 
2 - what do You need to duplicate in an rtp header extension for an SFU to work.
I see three different things:
- base for encrypted non-SVC payload (frame marking)
- scalability structure (payload encrypted or not).
a/ I have not had the time to look at Stefan a proposal for the new MPEG codecs but his messages on the list were going in the same direction (higher complexity with full SVC than with temporal scalability only). 
b/ I do not know how far appart the AV1 structure and the vvc or ecc would be, if there is a way to make it generic, and if it a even a goal we would want to have.
c/ I understand there was originally a framemarking part to the vvc rtp payload proposal, I m wondering if there was a gap when trying to represent all SVC structures the vvc bistream otherwise provides.
- sfu optimisation structures, eg for av1 the Instant decidability decision structure (payload encrypted or not), whic is not critical for sfu operation but allow much faster adaptation and smarter CC.

If we go down that path that could mean a codec specific version of each of:
- Payload format
- Sframe rtp packetizer
- rtp extension header

With the following triplet already more or less working well together already:
[h264, generic, framemarking]
[VP8, generic, framemarking]
[VP9, generic, DD]
[AV1, generic, DD]

Now in terms of security for the encrypted case, that means the presence or absence of a given rtp header extension leaks info about e.g which codec is being used. I m not sure this is something w can completely avoid anyway. 

Sent from my iPhone

> On 11 Mar 2021, at 15:15, Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> wrote:
> 
> 
> 
> 
>> El jue, 11 mar 2021 a las 7:22, Bernard Aboba (<bernard.aboba@gmail.com>) escribió:
>> 
>> I ask this because there appear to be codecs that are widely deployed (e.g. VP8) that require "hacks" for SFUs to forward, as noted in the presentation at IETF 109.  In the case of VP8, the "hack" was required because of a deficiency in the VP8 decoder specification (e.g. the requirement that PictureIDs be consecutive, not just monotonically increasing).  This means that the "hacks" described can't be eliminated just by coming up with a better RTP forwarding extension.  You'd actually need to change the VP8 specification and upgrade VP8 decoders. 
>> 
> 
> The PictureID and the TL0PICIDX  are defined in rfc7741 RTP Payload Format for VP8 Video and not on the VP8 spec. So, if using an agnostic packetizer instead of the rfc7741 one, the issue just doesn't exist.
> 
> Best regards
> Sergio
> _______________________________________________
> Audio/Video Transport Core Maintenance
> avt@ietf.org
> https://www.ietf.org/mailman/listinfo/avt