Re: [codec] WGLC of draft-ietf-codec-opus-07

Jean-Marc Valin <> Sun, 24 July 2011 16:59 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 2778C21F8551 for <>; Sun, 24 Jul 2011 09:59:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id TyG5j8xZZBse for <>; Sun, 24 Jul 2011 09:59:19 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 866E921F8A23 for <>; Sun, 24 Jul 2011 09:59:19 -0700 (PDT)
Received: from localhost ( []) by (8.13.8/8.13.8) with ESMTP id p6OGx3R2020491; Sun, 24 Jul 2011 12:59:04 -0400
Received: from ([]) by (Horde Framework) with HTTP; Sun, 24 Jul 2011 12:59:03 -0400
Message-ID: <>
Date: Sun, 24 Jul 2011 12:59:03 -0400
From: Jean-Marc Valin <>
References: <> <> <000001cc4920$4a72cb40$df5861c0$> <000001cc49a3$328ed4a0$97ac7de0$> <>
In-Reply-To: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.7)
X-UdeS-MailScanner-ID: p6OGx3R2020491
X-UdeS-MailScanner: Aucun code suspect =?ISO-8859-1?Q?d=E9tect=E9?=
X-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (not cached, score=-7.499, requis 5, autolearn=not spam, BAYES_00 -2.60, RDNS_NONE 0.10, UDES_MONBUREAU02 -5.00)
Subject: Re: [codec] WGLC of draft-ietf-codec-opus-07
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Codec WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sun, 24 Jul 2011 16:59:20 -0000

Hi Jehan,

Thanks for the feedback. See below.

Jehan Pagès <> a écrit :
> * Section "3. Codec Modes" (page 11):
> « For code 2 packets, the TOC byte is followed by a one or two byte
>    sequence indicating the the length of the first frame (marked N1 in
>    the figure below), followed by N1 bytes of compressed data for the
>    first frame. »
> => there is a "the the" repetition.

Will fix.

> * Just below, in the same paragraph:
> «
> The
>    length of the first frame, N1, MUST be no larger than the size of the
>    payload remaining after decoding that length for all code 2 packets.
> »
> => I am not sure what it means? Aren't we simply telling that the
> advertised length must not be larger than the actual length (which
> appears logical to be by "definition" of "length")?

Pretty much. It means that if a packet contains two frames, then the  
first can't be bigger than the packet.

> * At the beginning of section "4. Opus decoder", the little graph has
> a block which says "SILK encoder". I think it was supposed to say
> "SILK decoder", no?

Will fix.

> Also probably a stupid question for someone new here, but I wondered:
> what is exactly the role of padding? Is there an interest to have a
> fixed size of packets on some platform for instance?

There's many potential uses. One example is that in some cases, it may  
be desirable to take an existing VBR stream and turn it into a CBR  
stream. For example, this can be done to prevent information leakage  
over SRTP as suggested in . Now,  
this could be done via RTP padding *except* that the RTP padding bit  
is not encrypted. So if we wanted to use RTP padding, we'd have to pad  
*every* frame to avoid leaking information. Keep in mind that the  
padding feature is also using a single bit that would otherwise be  

> That's all from me. Sorry for not being more helpful.

Any review is useful.