Re: [payload] Addressing comments on 2nd WGLC of draft-ietf-payload-rtp-ancillary-08

Thomas Edwards <Thomas.Edwards@fox.com> Thu, 04 May 2017 22:38 UTC

Return-Path: <Thomas.Edwards@fox.com>
X-Original-To: payload@ietfa.amsl.com
Delivered-To: payload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4CE8E128B38 for <payload@ietfa.amsl.com>; Thu, 4 May 2017 15:38:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.621
X-Spam-Level:
X-Spam-Status: No, score=-2.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=foxgroupinc.onmicrosoft.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 kpGB6jUUcdsm for <payload@ietfa.amsl.com>; Thu, 4 May 2017 15:38:46 -0700 (PDT)
Received: from mx0a-00195501.pphosted.com (mx0b-00195501.pphosted.com [67.231.157.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55A7B129457 for <payload@ietf.org>; Thu, 4 May 2017 15:38:46 -0700 (PDT)
Received: from pps.filterd (m0087372.ppops.net [127.0.0.1]) by mx0b-00195501.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v44MbEsQ008293 for <payload@ietf.org>; Thu, 4 May 2017 15:38:45 -0700
Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp0180.outbound.protection.outlook.com [216.32.180.180]) by mx0b-00195501.pphosted.com with ESMTP id 2a87j9a6bx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <payload@ietf.org>; Thu, 04 May 2017 15:38:45 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=FoxGroupInc.onmicrosoft.com; s=selector1-fox-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HZNb9Sj9ZfdiEcwl32MWTx6JEobIPBQUdyIva091tos=; b=CEonQ5tw9OHQ+6PFeGhitXIN2bemQc2QkXYt56J+B3af9cppkAsfWIez02iWzq+kB52eX0PWuZOgLI9p5pfr6ocMxqxE4oZgMKRtBj+7Hc/WvPlybofgQ+VJe/bsyihSOchIt7tj9AKtJYFYKVFoeYuDMBVDlRqD4geOM9ux0qA=
Received: from CY4PR05MB3109.namprd05.prod.outlook.com (10.172.157.7) by CY4PR05MB3110.namprd05.prod.outlook.com (10.172.157.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.1; Thu, 4 May 2017 22:38:43 +0000
Received: from CY4PR05MB3109.namprd05.prod.outlook.com ([10.172.157.7]) by CY4PR05MB3109.namprd05.prod.outlook.com ([10.172.157.7]) with mapi id 15.01.1075.014; Thu, 4 May 2017 22:38:43 +0000
From: Thomas Edwards <Thomas.Edwards@fox.com>
To: "payload@ietf.org" <payload@ietf.org>
Thread-Topic: Addressing comments on 2nd WGLC of draft-ietf-payload-rtp-ancillary-08
Thread-Index: AQHSw6cKJHsTJYrHE0yJGid5ElJJq6HissNP///+xwCAATe//IAAaGwA
Date: Thu, 04 May 2017 22:38:43 +0000
Message-ID: <54FEE4EC-5366-4086-B656-820510264769@fox.com>
References: <26ED0D58-E6D6-4DD7-9801-4556FF67AAC2@fox.com> <B1D49063AD5FBD4688F3EEDEC68B2017C38150C0@bgb01xud1011> <5963166F-3FCC-4B88-8F60-1CBF4F5CFC0C@fox.com> <B1D49063AD5FBD4688F3EEDEC68B2017C3815690@bgb01xud1011>
In-Reply-To: <B1D49063AD5FBD4688F3EEDEC68B2017C3815690@bgb01xud1011>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.1b.0.161010
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=fox.com;
x-originating-ip: [216.205.246.227]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR05MB3110; 7:euCnPXNv/+yFu+p+AI1mp90PbjLPWTrd3OR2kET7mLPH7TKxeAJays4f2C8jN9hmUb9fVluuI7NeILkX6PmDugDqLcl0FTyTCj/FDV0G/0tNNjNnlAgeqOl5HKUiM7ed2I9e7al8Sk7f+EkZUnAdHP/iFI9UMJNjkOusUEENsK2ziudvHz43Wv+vKpAPq7BNG0CgFIUEAYpWxAGPQyzRQpbLNeWtLmsZpKNUGHYOzaFgeHI4RsyWF1r1gIpaqUYZiIgxYR9qx/4Mq8MYrARF99+lx94OgcI+xAuGwjBY+vjz9ZYwJPG+2TCWY3k4rkwU54ostilJGacwNNBHf2uAnA==
x-ms-office365-filtering-correlation-id: b845d2f6-bcab-4e58-f837-08d4933e51e5
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081); SRVR:CY4PR05MB3110;
x-microsoft-antispam-prvs: <CY4PR05MB31108B633254403684512C1394EA0@CY4PR05MB3110.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162)(127952516941037)(177823376758907);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148); SRVR:CY4PR05MB3110; BCL:0; PCL:0; RULEID:; SRVR:CY4PR05MB3110;
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400002)(39410400002)(39450400003)(39860400002)(39840400002)(39400400002)(377454003)(24454002)(2351001)(83506001)(1730700003)(99286003)(82746002)(81166006)(5640700003)(6246003)(50986999)(6506006)(8936002)(77096006)(305945005)(76176999)(6486002)(54356999)(3280700002)(6436002)(8676002)(7736002)(2906002)(3660700001)(66066001)(83716003)(86362001)(5660300001)(25786009)(110136004)(575784001)(230783001)(478600001)(38730400002)(53546009)(189998001)(3846002)(6116002)(102836003)(36756003)(93886004)(229853002)(2900100001)(6306002)(33656002)(6916009)(2950100002)(4001350100001)(2501003)(53936002)(6512007)(122556002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR05MB3110; H:CY4PR05MB3109.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <5D16BA8BFC09354B90B41DD006511279@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: fox.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2017 22:38:43.4331 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: de99ade3-81db-4070-ae0d-3c1562041b30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR05MB3110
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-04_15:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705040315
Archived-At: <https://mailarchive.ietf.org/arch/msg/payload/abxTj09C5zcuqldhR-QWqY9svdE>
Subject: Re: [payload] Addressing comments on 2nd WGLC of draft-ietf-payload-rtp-ancillary-08
X-BeenThere: payload@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Audio/Video Transport Payloads working group discussion list <payload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/payload>, <mailto:payload-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/payload/>
List-Post: <mailto:payload@ietf.org>
List-Help: <mailto:payload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/payload>, <mailto:payload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2017 22:38:49 -0000

>On 5/4/17, 4:16 AM, "John Fletcher" <John.Fletcher@bbc.co.uk> wrote:
> Regarding the C bit, I suggest deleting "for HD or UHD signals" because those those formats do not always map to an interface with luma and color-difference data channels.
> I also think you should use the term "data channel" as in ST 292-1 section 4.2

That would leave the description as:

“C: 1 bit
           This flag, when set to "1", indicates that
           the ANC data corresponds to the color-difference data channel (C).
           When set to "0", this flag indicates that the ANC data
           corresponds to the luma (Y) data channel.  For SD signals, this
           flag SHALL be set to "0".  For ANC data packets that do not
           originate from SDI sources, if the ANC data type definition
           requires the use of the C or Y data channel, the C flag SHALL
           reflect that requirement, otherwise the C flag SHALL be set
           to "0".”

Does that address your concerns?

>The link number change looks good.  It would be nice to add the data stream number as well using the other 4 bits (current max is 8 data streams in 12G SDI).  
>To make sense of link number and data stream number, you really need to know the interface format (e.g. whether it is ST 372 dual-link 1.5G or ST 425-1 single-link 3G).  Could this be >included in the payload format parameters?
  
Actually your comment on stream number and reading through all of the various dual and quad-link interfaces has lead me to believe that stream number is the key, not link number.  A stream number, for a given video format standard, should define the link number, thus there is no reason to signal both.  We need to handle up to 32 data streams for the extreme case of SMPTE ST 2082-12: 4320-line and 2160-line Source Image and Ancillary Data Mapping for Quad-link 12G-SDI.

So let’s forget the “Channel Assignment” field, and instead have a “Data Stream Number” field:

    “Data Stream Number: 6 bits
    
    This field can indicate the data stream number of a multi-stream data mapping used to transport the ANC data packet.
    If the first bit of this field is ‘0’, then this field provides no guidance regarding the data stream number of the ANC data packet.
    If the first bit of this field is ‘1’, then the following five bits MUST carry the data stream number minus one of the ANC data packet.

    For multi-stream interface formats that do not have numbered data streams, but instead have lettered data stream links 
    (such as SMPTE ST 372), the following numbers SHALL be used in this field: ‘0’ for link A data stream, ‘1’ for link B data stream.

    For stereoscopic multi-stream interface formats that do not have numbered streams, the following numbers SHALL be used in
    this field: ‘0’ for left eye stream, ‘1’ for right eye stream.”

And I think it is reasonable to have the Video Payload Identification Codes as an optional parameter in the Media Type Definition:

“VPID_Code:
	This integer parameter specifies the Video Payload ID (VPID) Code of the source interface of ANC data packets using the value
from byte 1 of the VPID as defined in SMPTE ST 352.  The integer SHALL be made with bit 7 of VPID byte 1 being the most significant bit,
and bit 0 of VPID byte 1 being the least significant bit.  For example, 132 shall refer to SMPTE ST 292-1, 720-line video payloads on a 1.5 Gbps
(nominal) serial digital interface.”

-Thomas
  
    John
    ________________________________________
    From: payload [payload-bounces@ietf.org] on behalf of Thomas Edwards [Thomas.Edwards@fox.com]
    Sent: 03 May 2017 22:49
    To: payload@ietf.org
    Subject: Re: [payload] Addressing comments on 2nd WGLC of draft-ietf-payload-rtp-ancillary-08
    
    Sorry, for some reason the C bit change did not get noted.
    
    The original text from SMPTE ST 2038-2008 is:
    
    “c_not_y_channel_flag: For HD, this flag, when set to ‘1’, indicates the ANC data corresponds to the color difference channel. When set to ‘0, this flag indicates the ANC data corresponds to the luminance channel. For SD, this flag shall be set to ‘0’.”
    
    I think it is best to keep the description close to this proven data model, so I suggest that we simply change the first sentence of the C bit ANC data packet header field to read:
    
    “For HD or UHD signals, this flag, when set to "1", indicates that the ANC data corresponds to the color-difference channel (C).”
    
    Regarding the link number, I see your argument that it really should be carried in the ANC data packet header fields.  We have a few reserved bits now after Horizontal_Offset, so I guess we can use them.
    
    To try to do this correctly, I think we should reference the SMPTE ST 352 use of bits b7 to b5 of byte 4 of the default payload identifier as a channel assignment field for channels 1-8.
    
    This would result in a new ANC data packet payload header field:
    
    “Channel Assignment: 4 bits
    
    This field can indicate the channel number of a multi-channel link used to transport the ANC data packet.
    If the first bit of this field is ‘0’, then this field provides no guidance regarding the channel placement of the ANC data packet.
    If the first bit of this field is ‘1’, then the following bits MUST carry the channel identification information of section 5.5.1 of SMPTE ST 352 contained in byte 4 of the payload identifier.
    The second bit of the channel assignment field carries bit b7 of byte 4 of the payload identifier, the third bit carries bit b6, and the fourth bit carries bit b5.”
    
    With the addition of the Channel Assignment ANC data packet header field, I think it is appropriate to remove LinkNumber from the Media Type Definition.  In truth, looking through various multi-link SDI interfaces and their use of SMPTE ST 352, I’m not 100% sure the current definition of LinkNumber would always be clear & appropriate, but the bits in Byte 4 from SMPTE ST 352 will always be clear.
    
    -Thomas
    
    On 5/3/17, 7:55 AM, "John Fletcher" <John.Fletcher@bbc.co.uk> wrote:
    
        Regarding the C bit, I don't see any change.
        I suggest: "If the data corresponds to the color-difference data channel of the SDI interface, the C flag shall be set to "1".  If the data corresponds to the luma data channel of the SDI interface, or the interface does not have separate luma and color-difference data channels, or the data is not associated with an SDI interface, the C flag shall be set to "0"."
    
        And a further comment...
        The LinkNumber parameter cannot be used if there is data from more than one link in the RTP stream.  And a single number is inadequate for interfaces that mave multiple links and multiple data streams per link.  If it is a requirement to  reproduce link/data stream when going SDI->RTP->SDI then link number and data stream number need to be in the payload header for each ANC packet.
    
        John
    
    
    _______________________________________________
    payload mailing list
    payload@ietf.org
    https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_payload&d=DwIF-g&c=uw6TLu4hwhHdiGJOgwcWD4AjKQx6zvFcGEsbfiY9-EI&r=lekNOOM5noV61zrPH3rwPyhtNnLLWoLEHgd0quQxly8&m=__cAFj6LOkUA89j9fGP9CGciM2-M4ExhUSqjK-175QM&s=pAmH8LqbSlkQikYxG71ieJyiPcxIFxBQWQ4kqGgKbKo&e=