rtspsrc cpu optimization

Edward Hervey bilboed at bilboed.com
Wed Oct 15 04:46:32 PDT 2014


Hi,

  We name the threads in GStreamer.

  Once your program is running, you can run top then show threads
(capital H).

  You can then put the list of those threads here and we might be able
to tell you which threads they are exactly.

    Edward


On Tue, 2014-10-14 at 16:25 -0400, Eloi Bail wrote:
> On Tue, Oct 14, 2014 at 3:40 PM, Olivier Crête
> <olivier.crete at collabora.com> wrote:
> > For each receive pipeline, you should only have two threads involved in
> > the streaming, one taking packets from the network socket to the
> > jitterbuffer. And one taking packets from the jitterbuffer. If you have
> > audio and video, then that's a total of 4 threads.
> >
> 
> We are only dealing with video. According to gdb on X86, I see lot of
> thread creation  and only some exiting !
> http://fpaste.org/141895/17469141/
> So you think it is not a normal behavior ?
> I will look deeper on it.
> 
> 
> > There is also a rtpbin containing all of those. The number of elements
> > doesn't really affect the number of threads or the performance much.
> 
> we are already using rtpbin in rtspsrc. It looks like rtpbin take a
> "lot" ( comparing to live555) of CPU.
> If you say that pipeline design does not affect the performance,
> that's good to know.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list