Re: [AVTCORE] Finishing up framemarking....

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Mon, 12 July 2021 15:40 UTC

Return-Path: <mzanaty@cisco.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 B3C9A3A1FCD for <avt@ietfa.amsl.com>; Mon, 12 Jul 2021 08:40:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.595
X-Spam-Level:
X-Spam-Status: No, score=-7.595 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTP_ESCAPED_HOST=0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 header.b=ViTgWucQ; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=rxs6HkN6
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 UJoOp0D-O3SN for <avt@ietfa.amsl.com>; Mon, 12 Jul 2021 08:40:30 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 162393A1FD2 for <avt@ietf.org>; Mon, 12 Jul 2021 08:40:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=35295; q=dns/txt; s=iport; t=1626104429; x=1627314029; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=4o6ezqR0C7XgNwhIn046f7TE9MI9ef52Jx+pWhcmhuI=; b=ViTgWucQC7Kt6B3yD4pkOq/H1MC0QV5dPQLQtF3v+miVA1PE4mw+Nsfj pFTJXXxmfVLcH81M8zi10OE7dlOJqx7hvJOMIx0dRpDpzpKwS1X7PWjaR VthKAAYJ5KIeyuQQZQ9Nin9oJFl7MWm054rOwYKq/7IAVrL0R54+T7vgo k=;
IronPort-PHdr: A9a23:5uNQIR938HaCFv9uWDvoyV9kXcBvk+Xkbkge7Z90w75Nc6H2+ZPkMQSf4Ph2l1bGUM3d7O4MkOvZta3sGAliqZaMuXwPatpAAhkCj8hFzxxwRsWCDB6zIPvjdSdvGsNEWRds9G26Nk4AHsH4ahXSr3S+4CRUFA/4MF9+J//+HcjZiMHkv90=
IronPort-HdrOrdr: A9a23:tRvvb6kFJsnt/OnmpacBg6aGj5HpDfOrimdD5ihNYBxZY6Wkfp+V/cjzhCWbtN9OYh4dcIi7Sda9qXO1z+8T3WBjB8bdYOCGghroEGgG1+vfKlLbalbDH4JmpMJdmu1FeaHN5DtB/IbHCWuDYqwdKbC8mcjC74qzvhQdLz2CKZsQkjuRYTzrdHGeMTM2fabRY6Dsn/avyQDQHUg/X4CePD0oTuLDr9rEmNbNehgdHSMq7wGIkHeB9KP6OwLw5GZcbxp/hZMZtUTVmQ3w4auu99uhzAXH6mPV55NK3PP819p4AtCWgMR9EESvtu/oXvUlZ1SxhkFznAid0idtrDAKmWZ4Ay1H0QKUQohym2q05+Cv6kd015ao8y7ovZKqm72IeNt9MbsauWqcGSGpt3bJe7pHof92Niuixuhq5VmrplWP2/HYEx5tjUa6unwkjKoaiGFeS5IXbPtLoZUY5149KuZMIMvW0vFtLABVNrCX2B+WSyLtU1nJ+m10hNC8VHU6GRmLBkAEp8yOyjBT2HR01VERysATlmoJsMtVcegK283UdqBz0L1eRM4faqxwQO8HXMusE2TIBRbBKnibL1jrHLwOf3jNt5n06rMo4/zCQu1F8HLzouWIbLp8jx99R6vDM7z74HR7yGGFfIzmZ0WZ9ih33ekPhoHB
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D/GwBvYexg/5xdJa1QCh4BAQsSDIIOC4EjMFEHd1o3MQOEBz6DSAOFOYhYA4EQD4k1j1aBLhSBEQNUCwEBAQ0BATcKBAEBhFQCF4JhAiU0CQ4CBAEBARIBAQUBAQECAQYEcROFaA2GRQEBAQQMBhEdAQEpDgEPAgEGAhECAQECIQcDAgICHxEUCQgCBA4FGweCTwGBflcDLwEOjW2PNAGBOgKKH3qBMoEBggcBAQYEBIE1ARNBgykNC4IyCYE6gnuEDAEBgReFSwgfHIFJRIEVJwwQgis3PoIgQgEBAgGBMBM6DQmCYTaCLoIpEVsGIxsmBEMOAQEXCQlQHzgOGgsCAzcLLZEsgntHiDKNM5B9O1sKgySKMYc4hmqFYQUmg2Oib5gdihODMZUhAgQCBAUCDgEBBoFbO4FZcBVlAYIKAQEyCUcZDo4fDBaDToUUhUpzAgE1AgYBCQEBAwmMMwEB
X-IronPort-AV: E=Sophos;i="5.84,234,1620691200"; d="scan'208,217";a="817381338"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 12 Jul 2021 15:40:28 +0000
Received: from mail.cisco.com (xbe-rcd-005.cisco.com [173.37.102.20]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 16CFeSlA017420 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Mon, 12 Jul 2021 15:40:28 GMT
Received: from xfe-aln-003.cisco.com (173.37.135.123) by xbe-rcd-005.cisco.com (173.37.102.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Mon, 12 Jul 2021 10:40:28 -0500
Received: from xfe-rcd-002.cisco.com (173.37.227.250) by xfe-aln-003.cisco.com (173.37.135.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Mon, 12 Jul 2021 10:40:27 -0500
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-002.cisco.com (173.37.227.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Mon, 12 Jul 2021 10:40:27 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R03+RNpJ+ZMV2DnCJ53jrrtaQQlNXwSlHhM9234Wo0kyUjseSgbEyXbFLmt7gravTWATGMam8ODtWacipSrFgTk0m/1ialsmIAggdaF6ZhC1UG3P1ctFmh9fNTCRWBjtO7ty5s9d1NwuqiDpl+1Z3yPBfSJEAIBL/y8U41AjN2JZMZa+ODjBLEsEE17EFSBs9Fr+ihBj1juP8IHRTcGBCzCqX7efgN2TXGktzKRPwBeBgKsaLXV7QRh5Mm0ruKjpfD2e0wZf9gkb2p7yE2utp4Lnl8O6Ix6d7LU8bRJrUn4WRA/eHpGQBOX6Ksj4cVy18uJ7kzzDE4QY7vSa4d42Zw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4o6ezqR0C7XgNwhIn046f7TE9MI9ef52Jx+pWhcmhuI=; b=D04e4uen109otiuwhxXUaxFWfa+7SFuryM0V8NbYwoPe/wwZnVnnxjBv76PurTbm17vnieuiHJiK3z0/7jHbs9IeMRSxMRVq0y1mKFtEd4hFChGHvG1gHvqbk2mgu1nJ/6tTnBC8kZZTg7cYUuip0rs/TMGkwXrtx12IW4A6/7zbKchaV9ZiPRMpGr6bmEseK5BtEMbLoHaHSyvchnHtSIRbDgQHyOkXpqA2ytiXFS56RIPdlELMvAiZ7fOkE5C720i9K46A3tqJDvaVHRJe3wpAgLwX6KKBiF78o5XsHbQm5Yit5xutDsBPwUy+in/lBjqOKbCECHAKtbUhYcg92Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4o6ezqR0C7XgNwhIn046f7TE9MI9ef52Jx+pWhcmhuI=; b=rxs6HkN6i00rS4/5kUGdRequmcaaxUqIiXi6axAQwkSxnDr6VachxA9GwHT4/eOvQQizl7Y7thzIPncsUreybIMmKoxFxKf7nR3ehwUzOjTuMxQ0y9SYvFJkdTK462/t7kwTQV/3P+xWp77OeG7W86HwSrME6VXr4LeB7x3iJFQ=
Received: from BN7PR11MB2753.namprd11.prod.outlook.com (2603:10b6:406:b0::23) by BN6PR11MB3892.namprd11.prod.outlook.com (2603:10b6:405:80::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.23; Mon, 12 Jul 2021 15:40:26 +0000
Received: from BN7PR11MB2753.namprd11.prod.outlook.com ([fe80::60ad:59f5:e98d:2d8e]) by BN7PR11MB2753.namprd11.prod.outlook.com ([fe80::60ad:59f5:e98d:2d8e%3]) with mapi id 15.20.4308.026; Mon, 12 Jul 2021 15:40:26 +0000
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Jonathan Lennox <jonathan.lennox@8x8.com>
CC: Bernard Aboba <bernard.aboba@gmail.com>, IETF AVTCore WG <avt@ietf.org>, Justin Uberti <juberti@gmail.com>
Thread-Topic: [AVTCORE] Finishing up framemarking....
Thread-Index: AQHXdmYzNIk5/l8EzUiCtCqjiCKidas94qOAgACg9QCAAPHFAP//wz+A
Date: Mon, 12 Jul 2021 15:40:26 +0000
Message-ID: <2B271AC3-755F-4067-BDF1-022960C19FF5@cisco.com>
References: <CAOW+2dvLjy-XyCP6=nKKYM-Kveb=RLjEWNVVYKtaoje5bo_fmQ@mail.gmail.com> <CAOW+2dvAWdGFC0DwtiKpVoe+9HZckCZuGy=BZsRuhrfHrvhshg@mail.gmail.com> <ABFEF187-9BDF-4FA4-B6A9-D56010B23637@cisco.com> <192A935C-B243-49D6-BD74-8C2C428EC7C3@8x8.com>
In-Reply-To: <192A935C-B243-49D6-BD74-8C2C428EC7C3@8x8.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.50.21061301
authentication-results: 8x8.com; dkim=none (message not signed) header.d=none;8x8.com; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 414055cd-513e-4448-e558-08d9454b5ea1
x-ms-traffictypediagnostic: BN6PR11MB3892:
x-microsoft-antispam-prvs: <BN6PR11MB3892D5A5F252E27264BD1EC9B4159@BN6PR11MB3892.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: dBrQXbIO5LuNF0BxiWfWL6pc3SsEIRebE5xsUlyu3TUKXBMvLtX75n9YC8iPy99P7Qr1zeeXTX5OLj9xl43xLtTobBzlBGCEbMYZHEWzs1WMPUPP+0KZ4ykAbBPOxpRG0Tsgicnhv811W9dseLzIcQGu38JcJhe0BiVElQR6rUskNy1VSnq1Zac3EjObDUFQOgKPimLCEcg+RQWxa6RTjFe9X1t9PC+8A51L2egqVHXc+3KgdH6dtiKW6MaOk3lTMLNf40BO/gPoL5ruZsY54HFypNQzqLg7rkEEpu/mLERl8Q6OQSBYz5Sf36zBEQdPEIiwAdJtSU/eoHdaeRlNr68ou0K5d7iejPf97AcWdyXpfP8i5tnFU4UO0HIaxOQBpnLUoF0Lsmp1hYrD1Tdj5opM3AzK8L7wBT/dbjXFu8hMyJ0cPF/kwVLxRYTGo6MGQoZXjzlU0qQPIqYRxoQAm35CXrmS1JnC4AGkgWHjkMhhwYaFd99BNfxl35FpFxsDcHnSO8upTB3Yrdiu9lDSTQ+jOe7VvkRzZFFYxVEEqcxgfZzJTXifHpzR2i5KK71lIA94O0CELADHDPgSf/7fKM2TMrxM7vi3sclWuQ1+kjPi2vWiFIa4NtyOtVcRm8sQMKYKTIVw1rspdaqcybne5+2PXZktm1b8xzzRLqqqoYLrs7OxkKUDYXrRqUNArexXb38akvS5je7HyxdvAiC69Vgtq41ko14dtsupfnoZuq1tFyQfBjCddd/6tSoArcQHZc3frz2U7qW8Cp1XEYnx7yrtNftIsqzomrXj1+LoX3A8X7HJBZiOKGE48I0eVcJv
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR11MB2753.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(39860400002)(396003)(136003)(366004)(66446008)(66476007)(33656002)(966005)(71200400001)(6506007)(53546011)(64756008)(86362001)(76116006)(66946007)(6512007)(5660300002)(38100700002)(8676002)(2616005)(186003)(66556008)(478600001)(316002)(6916009)(4326008)(166002)(54906003)(6486002)(83380400001)(36756003)(122000001)(8936002)(2906002)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 9aVHjAsbdpQZi9uvCyjyB86J2MKJAZ2NP15FLy0lH3ZNI7JVaaA+rKLgbpSYKDc8GzjAEMLVNFun+D6I3jOS682oBXA+dRJHFfFnSUQSM4o93DGxdff4SXDPDA5UjpUiuqnqJYbyKTiZGbjNYNtzgKgXb1tMOCHm28mCm14LNucDTUP+OOv8DfEs8fkBINMmCGaTGRxnafDtx1lQPIaVBzS6T0iAi2DikUAIvJ7ZufsO3tRQ/Rp3acinddjee0ldbn/kmgRJCeDTU8l0qYWIA9AdOE18uL+CEzUmAlTWc+JnrhuXKdRiPkUHapHJtcyYYEcM3Kjvf2PCXOpw3yO+XQ7ZJ9Mj1J+O2Y4c50GNdq6jfjfzKbYx+7rEJAD9yViAQMXTOWxqXTnWYz2+VM818wVMeQj9UpT1pkF4ooiqCg7/OGXXXnFHAD60EnLJrjqWU7q1G3fDZH+v3WrAFStdtsljkxieCXI2h2CGoVn8rb33Vm6ePvzIPoxp+1S7iWQXCn7euZSshMcn3STjbVvTI2+uu9HBMPTI/fmIm9wr5jv9GZaCqV1DKM8Qr4EGIW7QGEgXQ6OIyNlFkFu+OH6Ih0fureciyDB1BQOHikUVoaytwfyoMLGDtE6kScGqvevyVCn8cx0poDXxR2W1M3hCJ2E1UYZJWo+30DDYCXw2vOWo9fu/avPa/ywoatdsRRYtcHLSV3FZryc3mpmMmg/IWtANBLtn0u02U81fuYbF5jdokvYO9wfO9N4T72ZjRzAYpKZgPz2XkrcGHUif3SweDw8qFScb4t7wOPXLIxAyZE+SYIDB6ArVBhFO/61yXYhxTvonlLtqZ4Tt8Y0JE3dMeT66ZO+y13pO0FCFUh5sPmsuQ/q2IuGlTAkcW2N2KqUCbHYeWkTttM1xBr0c7ZsDh5eI4KfBz72E5reyF4llY/O7MOJtl/IlhBKxp7VGLKxjfXCRCd1YAzM61LNzxkhhC8CaWrDAPPWxiNOOraHNW1McNZwwLIJgzJwm/eJIQREb+RrhQvQQeGC+yICR5eHKKtQUXE9AzzZFaPXaTWJVNXdlLicXajCdO9Gfw7zG7vqpLGPMRsetNNnzffxF2PDM1Zr0Ab6lbmUkfyueyHz/nejMCsui0c3unli6WS2mP3o7E4o06JoJdylY9/kFYchaX/Wq7FSUadWp1/kf6pIsNOZJRl18mCSJxK1UPVdciSaG6N3Nc4YB/mS9/0ilhVrNtTF126ET65JaRagI0GYaCpCzY9ONGmvzUkdEY1HZUDX8Tof/zm1am0t12rcQ3pzoFlssUpVT6hFPFazM3E6EZDTpF068anMBzqgaGIvhZBQJahVUw+xuv25j7R2gRlusBAaNTxMjv/nm8wCirAXr5ANCIHIE/nGjUUKKmGobbm9E
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_2B271AC3755F4067BDF1022960C19FF5ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN7PR11MB2753.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 414055cd-513e-4448-e558-08d9454b5ea1
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2021 15:40:26.1508 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: S76lBMSKt+6Vk/Hf7vPpTBt8IB8Wn37hpRied6JKOzizfn7PUg0NZOzVCedigET1dimW4ibzythrunn7kculvQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB3892
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.20, xbe-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/7cqqYgG4vPeG5ZFPcNoyWmzmZdE>
Subject: Re: [AVTCORE] Finishing up framemarking....
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: Mon, 12 Jul 2021 15:40:36 -0000

Unless anyone objects to the current text in the VP9 draft or Frame Marking draft, then we can consider this issue resolved for both drafts.

Regards,
Mo


From: Jonathan Lennox <jonathan.lennox@8x8.com>
Date: Monday, July 12, 2021 at 11:18 AM
To: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
Cc: Bernard Aboba <bernard.aboba@gmail.com>, "avt@ietf.org" <avt@ietf.org>, Justin Uberti <juberti@gmail.com>
Subject: Re: [AVTCORE] Finishing up framemarking....

I agree it’s unfortunate that it’s not directly possible to determine discardability from the RTP payload header, but as you say, a marker can parse the uncompressed VP9 header.  (It’s a fairly straightforward structure to parse, at least as video codecs go.)

Also, I’d imagine that in many cases the frame marking header is being generated by the original generator of the VP9 bitstream; in this case, if it knows the encoding structure in use, it can know what’s discardable that way.

In the worst case, it’s always safe to conservatively mark nothing at all as discardable, of course.

I don’t think doing a substantive change to VP9 would be a good idea.


On Jul 12, 2021, at 12:52 AM, Mo Zanaty (mzanaty) <mzanaty@cisco.com<mailto:mzanaty@cisco.com>> wrote:

Thanks, Bernard, for reiterating this VP9 issue so we can resolve it.

Note the latest VP9 draft N bit is unrelated to the VP8 N bit or the Frame Marking D (Discardable) bit. The VP9 N bit signals which other frames this frame refers to, not whether or not any future frames will refer to this frame. It does NOT signal if the current frame is a discardable (non-reference) frame or a non-discardable (reference) frame, as in VP8 and Frame Marking.

VP9 currently requires using the refresh_frame_flags in the VP9 payload uncompressed header to determine if a frame is a discardable non-reference frame (when all bits are zero). The Frame Marking draft describes this. If that is acceptable to all, we can resolve both VP9 and Frame Marking as-is. If VP9 users want an easier way to determine if a frame is discardable without parsing everything before the refresh_frame_flags, that would need a substantive change in the VP9 draft, which would then be referenced in the Frame Marking draft.

Regards,
Mo

From: avt <avt-bounces@ietf.org<mailto:avt-bounces@ietf.org>> on behalf of Bernard Aboba <bernard.aboba@gmail.com<mailto:bernard.aboba@gmail.com>>
Date: Sunday, July 11, 2021 at 11:17 AM
To: "avt@ietf.org<mailto:avt@ietf.org>" <avt@ietf.org<mailto:avt@ietf.org>>
Cc: Justin Uberti <juberti@gmail.com<mailto:juberti@gmail.com>>, Jonathan Lennox <jonathan.lennox@8x8.com<mailto:jonathan.lennox@8x8.com>>
Subject: Re: [AVTCORE] Finishing up framemarking....

An update. The VP9 RTP payload no longer references framemarking, so framemarking is not holding up publication (LRR is the MISREF).

The text that Mo references is now in Section 9 of the VP9 spec (https://datatracker.ietf.org/doc/html/draft-ietf-payload-vp9-16#section9)


9<https://datatracker.ietf.org/doc/html/draft-ietf-payload-vp9-16#section-9>.  Congestion Control



   Congestion control for RTP SHALL be used in accordance with RFC 3550<https://datatracker.ietf.org/doc/html/rfc3550>

   [RFC3550<https://datatracker.ietf.org/doc/html/rfc3550>], and with any applicable RTP profile; e.g., RFC 3551<https://datatracker.ietf.org/doc/html/rfc3551>

   [RFC3551<https://datatracker.ietf.org/doc/html/rfc3551>].  The congestion control mechanism can, in a real-time

   encoding scenario, adapt the transmission rate by instructing the

   encoder to encode at a certain target rate.  Media aware network

   elements MAY use the information in the VP9 payload descriptor in

   Section 4.2<https://datatracker.ietf.org/doc/html/draft-ietf-payload-vp9-16#section-4.2> to identify non-reference frames and discard them in

   order to reduce network congestion.  Note that discarding of non-

   reference frames cannot be done if the stream is encrypted (because

   the non-reference marker is encrypted).





Section 4.2 now includes definition of an N bit:



   Reference indices:  When P and F are both set to one, indicating a

      non-key frame in flexible mode, then at least one reference index

      MUST be specified as below.  Additional reference indices (total

      of up to 3 reference indices are allowed) may be specified using

      the N bit below.  When either P or F is set to zero, then no

      reference index is specified.



      P_DIFF:  The reference index (in 7 bits) specified as the relative

         PID from the current picture.  For example, when P_DIFF=3 on a

         packet containing the picture with PID 112 means that the

         picture refers back to the picture with PID 109.  This

         calculation is done modulo the size of the PID field, i.e.,

         either 7 or 15 bits.  A P_DIFF value of 0 is invalid.



      N:  1 if there is additional P_DIFF following the current P_DIFF.

On Sun, Jul 11, 2021 at 8:04 AM Bernard Aboba <bernard.aboba@gmail.com<mailto:bernard.aboba@gmail.com>> wrote:
On Thursday, March 11, 2021, Mo posted a question relating to VP9:
https://mailarchive.ietf.org/arch/msg/avt/JA4b0XAllPtrSiTRxr8JIeGWR7E/

I believe this is the only remaining issue on the framemarking document. Since framemarking is holding up publication of the VP9 RTP payload as an RFC, it would be good to move this toward resolution at IETF 111 (or ideally, before).

--------------

VP9 experts,



While updating frame marking to add back VP9, I had difficulty finding an indicator for discardable non-reference frames in the VP9 RTP payload draft to map to the frame marking “D” bit. VP8 has the “N” bit for this in the first payload byte (payload descriptor). But VP9 lacks anything similar, although section 8 thinks this should be in section 4.2 (but there is nothing there or elsewhere).



https://tools.ietf.org/html/draft-ietf-payload-vp9-11#section-8

   ...Media aware network elements MAY use the information in the VP9 payload descriptor in Section 4.2<https://tools.ietf.org/html/draft-ietf-payload-vp9-11#section-4.2><http://4.2%3Chttps/tools.ietf.org/html/draft-ietf-payload-vp9-11#section-4.2%3E> to identify non-reference frames and discard them in order to reduce network congestion.  Note that discarding of non-reference frames cannot be done if the stream is encrypted (because the non-reference marker is encrypted).



Is this an oversight? Or was the non-ref indicator intentionally removed? If so, why?



>From my work on AV1, I know how the 8 reference frames work in AV1/VP9, so I devised a solution for frame marking. But it seems like a hack to require this knowledge and go deep into the bitstream uncompressed header (not RTP payload descriptor) to extract this information. Is this really what we must do for VP9? Here is what I put in frame marking version -12, which seems like a hack:



https://tools.ietf.org/html/draft-ietf-avtext-framemarking-12#section-3.3.1

   The D bit MUST be 1 if the refresh_frame_flags in the VP9 payload uncompressed header are all 0, otherwise it MUST be 0.



Reading the refresh_frame_flags from the payload requires some payload parsing and checks since it’s not a fixed offset, and requires knowing subtle nuances like key frames implicitly force all 8 flags to 1. If implementers have been confused by something as simple as TL0PICIDX++, they will likely stumble on this as well.



Is it possible to revive the VP8 N bit? This would simplify frame marking, AV1 DD, GCC, L2/L3 QoS mappings, or anything else that wants to know about discardable data.



Regards,

Mo