Re: [AVT] Vorbis RTP issues list for Vienna

Aaron Colwell <acolwell@real.com> Thu, 10 July 2003 00:26 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA00606 for <avt-archive@odin.ietf.org>; Wed, 9 Jul 2003 20:26:06 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19aPFi-000579-3D for avt-archive@odin.ietf.org; Wed, 09 Jul 2003 20:25:38 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id h6A0PcX5019658 for avt-archive@odin.ietf.org; Wed, 9 Jul 2003 20:25:38 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19aPF7-00050M-LD; Wed, 09 Jul 2003 20:25:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19aPEq-000502-1L for avt@optimus.ietf.org; Wed, 09 Jul 2003 20:24:44 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA00602 for <avt@ietf.org>; Wed, 9 Jul 2003 20:24:41 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19aPEn-0005gE-00 for avt@ietf.org; Wed, 09 Jul 2003 20:24:41 -0400
Received: from goodfellas.real.com ([207.188.7.218]) by ietf-mx with esmtp (Exim 4.12) id 19aPEm-0005gB-00 for avt@ietf.org; Wed, 09 Jul 2003 20:24:40 -0400
Received: from raven.dev.prognet.com ([::ffff:172.23.22.246]) (TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by goodfellas.real.com with esmtp; Wed, 09 Jul 2003 17:24:04 -0700
Date: Wed, 09 Jul 2003 17:31:18 -0700
From: Aaron Colwell <acolwell@real.com>
To: philkerr@elec.gla.ac.uk
cc: John Lazzaro <lazzaro@CS.Berkeley.EDU>, avt@ietf.org
Subject: Re: [AVT] Vorbis RTP issues list for Vienna
In-Reply-To: <1057793135.3f0ca46f5ad99@dlana.elec.gla.ac.uk>
Message-ID: <Pine.LNX.4.51.0307091652330.13047@raven.dev.prognet.com>
References: <200307092202.h69M2gb27052@snap.CS.Berkeley.EDU> <1057793135.3f0ca46f5ad99@dlana.elec.gla.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: avt-admin@ietf.org
Errors-To: avt-admin@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
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>
Content-Transfer-Encoding: 7bit


On Thu, 10 Jul 2003 philkerr@elec.gla.ac.uk wrote:

> Hi John / Aaron / Ross,
>
> John, yes you are right when you state that the codebooks can change quite
> frequently, between tracks, and this is a function of the codec which the RTP
> stream must cope with.  Your draft-lazzaro-avt-rtp-framing-contrans-01 looks
> like it could offer a good solution and I should track its development more
> closely.
>
> Ross / Aaron, the number of codebooks that can be found 'in the wild' is a
> reasonably large, but not infinite, number and the caching mechanism is
> meant to
> reduce the need to retransmit them each time.  Having a general purpose
> streaming codebook is a reasonable suggestion, John and I discussed
> when we met,
> but it is uncertain if a fully generic one can be produced which will
> cater for all scenarios.

Could a set of codebooks help? Perhaps you could predefine a set of
standard codebooks that are close to ones that are in the wild. For any
codebooks that don't match one of these, a predefined codebook could be
specified, plus some sort of codebook diff. My guess is that if the
predefined codebooks are pretty representative of codebooks in the wild,
the diff should be rather small.

There is still the problem of sending the diff when codebook changes
mid-stream. I can't see a way around this other than either using a
reliable transport for transmitting it or sending the diff's periodically.
The diffs should be much smaller than the actual codebook so periodic
sending of diffs won't be as bad as doing the same with the actual
codebooks. I'll have to think about this a little more.

I think my idea of a codebook translation tool could also help deal with
all the files that are out in the wild. Whoever wants to stream the file
can convert any existing file to one that uses one of the predefined
codebooks.

Aaron

>
> Regards
>
> Phil
>
> Quoting John Lazzaro <lazzaro@CS.Berkeley.EDU>:
>
> >
> > > Aaron Colwell <acolwell@real.com> writes:
> > > I agree with Ross on this. It seems that these codebooks are causing too
> > > many problems that aren't worth dealing with. People have been suggesting
> > > getting the codebooks via HTTP, alternate TCP links, and all sorts of
> > > other methods. If your going to go that far why not just use HTTP to
> > > deliver the data. That way you are guaranteed to get everything in the
> > > right order.
> >
> > I think its just an instance of a general problem -- transport of
> > hybrid streams with two components:
> >
> >   -- A steady flow of media information that can handle the
> >      occassional packet loss episode gracefully and without
> >      retransmission
> >
> >   -- Occassional chunks of data, which can be sent well ahead of
> >      its need, which needs reliability, and which is synchronous
> >      to the media flow.
> >
> > So, I think its a good idea for RTP to offer solutions that work
> > in this domain.  There are some studio-oriented uses of RTP MIDI
> > which fit into the model, and my motivation for doing
> > draft-lazzaro-avt-rtp-framing-contrans-01 is to support those in
> > a general way, so that when things like Vorbis codebooks come
> > along, RTP has a way to support them.  I really don't think that
> > posing the question as all-or-none -- RTP streaming or Shoutcast-esqe
> > pseudo-streaming -- benefits AVT, it will just spawn more HTTP
> > streaming implementations.
> >
> > That said:
> >
> > > The Vorbis folks
> > > should come up with a "streamable" profile that encodes the audio using
> > > predefined codebooks.
> >
> > This is a good option too -- my guess is that most Vorbis setups
> > will only need one codebook for the life of the stream, and that
> > need will be known in advance.  A URL in the session description
> > to support HTTP download of that one codebook would be a way to
> > go, with perhaps a known set of "standard codebooks" codable by
> > speak tokens or by GUIDs for the MIME HTTP codebook object.
> >
> > -------------------------------------------------------------------------
> > John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
> > lazzaro [at] cs [dot] berkeley [dot] edu     www.cs.berkeley.edu/~lazzaro
> > -------------------------------------------------------------------------
> >
> > _______________________________________________
> > Audio/Video Transport Working Group
> > avt@ietf.org
> > https://www1.ietf.org/mailman/listinfo/avt
> >
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> _______________________________________________
> Audio/Video Transport Working Group
> avt@ietf.org
> https://www1.ietf.org/mailman/listinfo/avt
>

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