Timestamp rates [was Re: [AVT] Working group last call: JPEG-2000 payload format]

Colin Perkins <csp@csperkins.org> Mon, 02 July 2007 17:01 UTC

Return-path: <avt-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1I5PHF-0008Ii-0n; Mon, 02 Jul 2007 13:01:29 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1I5PHD-0008Ax-Jx for avt@ietf.org; Mon, 02 Jul 2007 13:01:27 -0400
Received: from mr1.dcs.gla.ac.uk ([130.209.249.184]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1I5PH0-0007vn-N8 for avt@ietf.org; Mon, 02 Jul 2007 13:01:27 -0400
Received: from mangole.dcs.gla.ac.uk ([130.209.247.112]:56951) by mr1.dcs.gla.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.42) id 1I5PGz-0007O1-Qp; Mon, 02 Jul 2007 18:01:13 +0100
In-Reply-To: <p062408a3c2a679e3bba1@[17.202.35.52]>
References: <7634542FB03DC747813D67560802AEED9EB379@rennsmail05.eu.thmulti.com> <465D8C51.4080805@ericsson.com> <p06240817c28360afcce1@[17.202.35.52]> <465E8514.9080503@ericsson.com> <4666DD9A.4161A698@erols.com> <p06240887c28f9648fa12@[17.202.35.52]> <61DDFB8A-8EA0-4F26-9610-9FCA7FD3633C@csperkins.org> <46757295.C62C43BF@erols.com> <46767822.1060308@ericsson.com> <p06240843c29d41cb741b@[17.202.35.52]> <46779487.5060308@ericsson.com> <85FF4F5B-138E-4788-8009-515DD4C17EBF@csperkins.org> <4680C859.8050900@ericsson.com> <p062408a3c2a679e3bba1@[17.202.35.52]>
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <CBAEB8AB-6848-41F1-8F53-417380A61B75@csperkins.org>
Content-Transfer-Encoding: 7bit
From: Colin Perkins <csp@csperkins.org>
Subject: Timestamp rates [was Re: [AVT] Working group last call: JPEG-2000 payload format]
Date: Mon, 02 Jul 2007 18:01:15 +0100
To: Dave Singer <singer@apple.com>
X-Mailer: Apple Mail (2.752.2)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 36b1f8810cb91289d885dc8ab4fc8172
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, IETF AVT WG <avt@ietf.org>
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
Errors-To: avt-bounces@ietf.org

Dave, all,

I don't believe there is consensus to allow this much timestamp rate  
flexibility with the JPEG-2000 payload format, but I'd like to hear  
opinions from the group on how RTP timestamp rates should be  
specified in future payload formats. Should we be adding text to the  
"how to write an RTP payload format" draft to recommend that future  
video formats allow a wider choice of timestamp rates than just  
90kHz?  If so, what range?

Colin



On 26 Jun 2007, at 10:00, Dave Singer wrote:
> OK, most of this isn't really a point about JPEG 2000, but about  
> the evolution of RTP, and perhaps it needs to be disconnected from  
> the JPEG 2000 draft.
>
> * * * *
>
> The problem with the proposed text is that it is SIP-centric;  it  
> assumes negotiation and choice, neither of which are present in SAP  
> or RTSP (for example).  In a multicast or RTSP context, can I rely  
> on using the correct non-90kHz rate for my 7 fps stream, or not?   
> The requirement "must be negotiated" and "alternatives must be  
> offered" are not always achievable.
>
>
>
> The consequences of doing timestamp conversion badly vary greatly  
> between the sender and receiver, also.  If a receiver does poor  
> timestamp conversion (e.g. it introduces drift as a result of round- 
> off), it affects only itself.  If a sender does it badly, the RTP  
> packets have poorly formed timestamps and all receivers are  
> affected (e.g. in a multicast).
>
> Also, if the sender does conversion correctly for something that  
> isn't an integer division of 90kHz, the delta between successive  
> timestamps will vary, suggesting that the frame rate is variable,  
> when it is, in fact, constant.
>
> I still question the whole principle that RTP payload formats  
> should mandate anything at all about clock rates.  RTP receivers  
> are supposed to cope with arbitrary, suitable, clock rates, and the  
> RTP spec. has a statement that the resolution must be high enough  
> for the desired synchronization accuracy and for measuring packet  
> arrival jitter.
>
> Way back when a payload type (small number) was all you needed to  
> know to decode an RTP session (you didn't need an SDP file or  
> anything), it was necessary that the clockrate for a given payload  
> format be statically defined.  We don't have static payload types  
> any more and we don't need to statically associate clockrates with  
> payloads.
>
> The MPEG payload format uses 90 kHz because that clock rate is  
> mandated in the MPEG spec., so the payload format reasonably says  
> that it should match.  Not all applications of JPEG2000 RTP come  
> from a 90 kHz source, so that does not apply here.
>
> At 10:03  +0200 26/06/07, Magnus Westerlund wrote:
>> Colin Perkins skrev:
>>> Wrapping up, I believe the rough consensus is that the JPEG-2000  
>>> draft should be updated to allow non-90kHz timestamp rates, as  
>>> follows:
>>>
>>> - Senders and receivers MUST support a 90kHz RTP timestamp rate,  
>>> and MAY
>>>   support other rates.
>>>
>>> - Senders SHOULD use 90kHz timestamp where possible, and the  
>>> draft needs to
>>>   be updated to include strong guidance on choosing the timestamp  
>>> rate, and
>>>   the implications of using a rate other than 90kHz.
>>>
>>> - The timestamp rate MUST be negotiated. The offer/answer  
>>> considerations
>>>   should explain how this is done.
>>>
>>> - Senders that wish to use a non-90kHz rate SHOULD also offer the  
>>> same stream
>>>   using a 90kHz timestamp rate, with a different RTP payload  
>>> type, e.g.:
>>>
>>>     m=video 5004 RTP/AVP 98 99
>>>     a=rtpmap:98 jpeg2000/90000
>>>     a=rtpmap:99 jpeg2000/27000000
>>>
>>>   allowing graceful fallback to 90kHz if the receiver doesn't  
>>> support the high
>>>   rate.
>>>
>>> To check the consensus, please reply to this message by the end  
>>> of this week, stating if you agree or disagree with this  
>>> proposal, and giving your reasons. Please do this even if you  
>>> believe you have already stated your preference.
>>>
>>
>> I am fine with this. However, I think the SDP example should  
>> switch the priority order of the two payload formats to indicate  
>> that one does like to use 27 MHz rather then 90k. So if including  
>> an example with this, change the m= line to:
>> m=video 5004 RTP/AVP 99 98
>>
>> Cheers
>>
>> Magnus Westerlund
>>
>> IETF Transport Area Director & TSVWG Chair
>> --------------------------------------------------------------------- 
>> -
>> Multimedia Technologies, Ericsson Research EAB/TVM/M
>> --------------------------------------------------------------------- 
>> -
>> Ericsson AB                | Phone +46 8 4048287
>> Torshamsgatan 23           | Fax   +46 8 7575550
>> S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
>> --------------------------------------------------------------------- 
>> -
>
>
> -- 
> David Singer
> Apple/QuickTime
>
> _______________________________________________
> Audio/Video Transport Working Group
> avt@ietf.org
> https://www1.ietf.org/mailman/listinfo/avt



-- 
Colin Perkins
http://csperkins.org/



_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt