Using playbin2 causes high CPU load on embedded system

Victor Manuel Jáquez Leal ceyusa at gmail.com
Tue Oct 11 02:36:23 PDT 2011


On Tue, Oct 11, 2011 at 11:06 AM, stuart68 <stuart68 at gmail.com> wrote:
> Hi,
>
> Can anyone explain why when I change my pipeline to use playbin2 instead of
> souphttpsrc, decodebin, queue2, audioconvert, audioresample, alsasink that
> my CPU load is noticeably higher.

Because playbin2, being constructed at run time depending of how the
streams are recognized, would adds more elements on the pipeline than
your predefined/optimized pipeline.

You can dump a graph of the generated playbin2 pipeline:

http://gstreamer.freedesktop.org/wiki/DumpingPipelineGraphs

vmjl

>
> For HD audio formats it is going from around 65% to a constant 99% when
> using playbin2.
>
> Thanks,
> Stuart
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-playbin2-causes-high-CPU-load-on-embedded-system-tp3893255p3893255.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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