RTP and Theora

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RTP and Theora

Fran Rogers
My team is having issues using RTP and Theora with GStreamer 0.10. A
pipeline that works properly with H.264 starts failing when we swap in
theora(enc|dec) and rtptheora(de)?pay.

This is the server code that triggers the error:
http://pastebin.com/jYTGKb8d
This is the client: http://pastebin.com/4v2FR8B8
This is the output (GST_DEBUG=5) of the server:
http://pastebin.com/GhDwpDnt
This is the client log, where the errors pop up:
http://pastebin.com/1JgSXNbe

Any ideas as to what may be the issue? A helpful user in IRC suggested it
may be related to the bug
https://bugzilla.gnome.org/show_bug.cgi?id=574416 ; I can't tell if
there's a workaround, though.

Thanks,
Fran Rogers

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTP and Theora

Olivier Crête-2
Hi,

On Thu, 2010-05-06 at 13:10 -0400, Fran Rogers wrote:
> My team is having issues using RTP and Theora with GStreamer 0.10. A
> pipeline that works properly with H.264 starts failing when we swap in
> theora(enc|dec) and rtptheora(de)?pay.
> [...]
> Any ideas as to what may be the issue? A helpful user in IRC suggested it
> may be related to the bug
> https://bugzilla.gnome.org/show_bug.cgi?id=574416 ; I can't tell if
> there's a workaround, though.

You definitely want to carry the "configuration" parameter from Theora
(or Vorbis) in a  reliable channel, no in RTP. It can be pretty big (up
to 8k). And if you don't receive it entirely, you can't decode anything.
If you have the latest git of gst-p-good, it should be able to parse the
config from the stream. Btw, the same applies to Vorbis.


You also want to do the same thing for the sprop-* paramters of H.264,
especially sprop-parameter-sets (but its smaller there, so you can work
around that by resending it regularly with the config-internval property
of rtph264pay).

--
Olivier Crête
[hidden email]

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (205 bytes) Download Attachment