RE: [rohc] The discussion on slope(s)

zhigang.c.liu@nokia.com Fri, 03 December 2004 02:44 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA29912 for <rohc-web-archive@ietf.org>; Thu, 2 Dec 2004 21:44:38 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Ca3Wg-0006rY-9R for rohc-web-archive@ietf.org; Thu, 02 Dec 2004 21:50:31 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Ca0SA-0004m6-3m; Thu, 02 Dec 2004 18:33:38 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CZzL2-0006MR-PG for rohc@megatron.ietf.org; Thu, 02 Dec 2004 17:22:12 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA06058 for <rohc@ietf.org>; Thu, 2 Dec 2004 17:22:10 -0500 (EST)
From: zhigang.c.liu@nokia.com
Received: from mgw-x1.nokia.com ([131.228.20.21]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CZzQe-0000e9-HX for rohc@ietf.org; Thu, 02 Dec 2004 17:28:01 -0500
Received: from esdks002.ntc.nokia.com (esdks002.ntc.nokia.com [172.21.138.121]) by mgw-x1.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id iB2MM2v02552; Fri, 3 Dec 2004 00:22:04 +0200 (EET)
X-Scanned: Fri, 3 Dec 2004 00:19:22 +0200 Nokia Message Protector V1.3.31 2004060815 - RELEASE
Received: (from root@localhost) by esdks002.ntc.nokia.com (8.12.9/8.12.9) id iB2MJM8N001702; Fri, 3 Dec 2004 00:19:22 +0200
Received: from mgw-int1.ntc.nokia.com (172.21.143.96) by esdks002.ntc.nokia.com 00GtXMgf; Fri, 03 Dec 2004 00:19:21 EET
Received: from daebh001.NOE.Nokia.com (daebh001.americas.nokia.com [10.241.35.121]) by mgw-int1.ntc.nokia.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id iB2MJEa03729; Fri, 3 Dec 2004 00:19:14 +0200 (EET)
Received: from ajebe001.NOE.Nokia.com ([172.18.151.16]) by daebh001.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Thu, 2 Dec 2004 16:18:14 -0600
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [rohc] The discussion on slope(s)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Date: Thu, 02 Dec 2004 17:18:12 -0500
Message-ID: <7B5AF06E216CB74DA8A5960A3181B5B82891B8@ajebe001.americas.nokia.com>
Thread-Topic: [rohc] The discussion on slope(s)
Thread-Index: AcTYTmX+BasxjL9OQtaDUqRk7EpqDgAY0Www
To: kristofer.sandlund@effnet.com
X-OriginalArrivalTime: 02 Dec 2004 22:18:14.0592 (UTC) FILETIME=[D10C6C00:01C4D8BC]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: b4a0a5f5992e2a4954405484e7717d8c
Content-Transfer-Encoding: quoted-printable
Cc: cabo@tzi.org, rohc@ietf.org, lars-erik.jonsson@ericsson.com
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Robust Header Compression <rohc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:rohc@ietf.org>
List-Help: <mailto:rohc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=subscribe>
Sender: rohc-bounces@ietf.org
Errors-To: rohc-bounces@ietf.org
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 92df29fa99cf13e554b84c8374345c17
Content-Transfer-Encoding: quoted-printable

> http://www1.ietf.org/mail-archive/web/rohc/current/msg02081.html
> (the last one included questions to Zhigang, which were ignored)

Kristofer,

Lars-Erik pointed out that I didn't reply to your questions
(copied below) in the above email. Sorry about that. I probably 
missed them. Handing that many emails were not easy for me.

Short answers: section 4.5.3 is correct. The definition of
TS_STRIDE in section 2 is wrong.

Long answers. ROHC works at RTP packet level. That's for sure.
What section 4.5.3 says is that for video, you can still
scale the TS by TS_STRIDE (see example below). The mentioning 
of "frame delta" is to explain why and give reminder about
the special "ladder" characteristics of TS in video.

            <------ String 1 ------>  <-- String 2 --->
SN            11   12   13 ...    25   26   27   28 ...
TS          4000 4000 4000 ...  4000 7000 7000 7000 ... 
TS_SCALED      1    1    1 ...     1    2    2    2 ...
TS_OFFSET   1000 1000 1000 ...  1000 1000 1000 1000 ... 
slope       <--------  0 ---------->  <----- 0 ------->
offset      <--------- 1 ---------->  <----- 2 ------->

RE the definition of TS_STRIDE, it was probably written
with audio context - the most important application of
ROHC. But it's not generic enough to cover video.

Another note: TS scaling is optional. Of course, scaling 
by a factor of 1 is equivalent to no scaling.

BR, Zhigang

--------------------------------------------------------------------
Ok, now I see one reason that we both base ourselves on the spec but reach opposite conclusions.
This example in 4.5.3 actually explains your thinking:

In the case of video, there is usually a TS_STRIDE as well when the
video frame level is considered. The sample rate for most video
codecs is 90 kHz. If the video frame rate is fixed, say, to 30
frames/second, the TS will increase by n * 3000 (= n * 90000 / 30)
between video frames. Note that a video frame is often divided into
several RTP packets to increase robustness against packet loss. In
this case several RTP packets will carry the same TS.

That is a contradiction of 2.0:

Timestamp stride

The timestamp stride (TS_STRIDE) is the expected increase in the
timestamp value between two RTP packets with consecutive sequence
numbers.

4.5.3 talks about stride as the "frame delta" and 2.0 as the "packet delta".
So yes, if 4.5.3 "overrides" 2.0 then you're right that the stride cannot be 0, and then I can see why you think I'm silly to say we must define modulus 0. But if 2.0 overriders 4.5.3, then I still think I'm right.
That's one quite fundamental difference.

So, one is wrong. Which one?
-----------------------------------------------------------------

_______________________________________________
Rohc mailing list
Rohc@ietf.org
https://www1.ietf.org/mailman/listinfo/rohc