[theora] Theora over RTP/UPD

Silvia Pfeiffer silviapfeiffer1 at gmail.com
Mon Feb 8 14:52:00 PST 2010


If you don't mind about using RTP over UDP, you might also want to
check out Icecast and Flumotion, which both do live streaming of
Theora, but use HTTP.

OTOH, if you want to finish the RFC and provide a reference
implementation, that would be awesome, too! You could try contacting
Luca Barbato for more information on what it's at and whether there is
any code he is able to share. He was the driving force behind this
RFC, but I believe - as so often happens - other things in life took a
higher priority.

Incidentally, the codec packets that Ogg deals with are IIUC the
compressed video frames, so if you feed the video frames to libtheora
for decoding, that should work.

Good luck!

Cheers,
Silvia.

On Tue, Feb 9, 2010 at 1:24 AM, Basil Mohamed Gohar
<abu_hurayrah at hidayahonline.org> wrote:
> On 02/08/2010 08:51 AM, Gisle Sælensminde wrote:
>> Hi,
>>
>> I'm trying to get Theora working with a video conferencing application we are developing.
>> This application sends the audio content via RTP over UPD, and as one would
>> expect, there is a draft for how a Theora stream is supposed to be wrapped into an RTP
>> stream.
>>
>> http://svn.xiph.org/trunk/theora/doc/draft-ietf-avt-rtp-theora-00.txt
>>
>> The problem is that it is not obvious to me how the raw theora frames should be put
>> into the RTP format specified in that draft. More specificly, I don't understand how
>> I should extract the data from the RTP packets in a form suitable for input to the
>> decoder. Usually when you send Theora via ogg streams, via the network or files,
>> the ogg library does this for you, and there are code examples for how it can be
>> done. I have not found examples where Theora is streamed via RTP. Anyone that
>> know about
>>
>> Also the draft is quite old, and have expired. Does that mean that the work to
>> standardize it have been abandoned, so that I should not implement anything based
>> on it, or just that there have not been time to finish it, and given enough effort it will
>> eventually be finished?
>>
>> The closest I came on this list, was two threads about multicast, linked to below:
>>
>> http://lists.xiph.org/pipermail/theora/2008-August/001859.html
>> http://lists.xiph.org/pipermail/theora/2009-December/003109.html
>>
>> Here icecast was mentioned, but that does not support and UPD-based protocol,
>> as far as I could see from the docs and the source.
>>
>>
>> If anyone have any examples, I will examine these, if not I will come back with a more
>> detailed question
>>
>> Thanks in advance,
>>
>> -Gisle
>>
> Hello Gisle,
>
> I apologize that I cannot offer you much help at the moment, because I
> am not really a desktop application developer, and I have very little
> experience with network programming.  However, I am interested in
> knowing more about the application that you're developing, because this
> is an area that is important to me (i.e., realtime streaming of Theora
> video).
>
> However, one bit of help that I may be able to offer is to checkout the
> source code of Ekiga (http://www.ekiga.org) because I believe they do
> include Theora as an option for their video conferencing feature, and
> Ekiga works over SIP, which is a UDP-based protocol (if I'm not
> mistaken).  Hopefully you can find something helpful over there.  The
> developers of the Ekiga project (at least the one I connected with) are
> kind and will reply to your inquiries, so you can also try that as well.
> _______________________________________________
> theora mailing list
> theora at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora
>


More information about the theora mailing list