[gst-devel] Performance with gst-launch pipeline and playbin

Manish Sharma manishsharma13 at gmail.com
Fri Nov 14 07:05:27 CET 2008


Thanks a lot Stefan



On Thu, Nov 13, 2008 at 9:12 PM, Stefan Kost <ensonic at hora-obscura.de>wrote:

> hi,
>
>
> Manish Sharma schrieb:
>  > Hi All,
> >
> > While using the playbin for playback I am observing more CPU usage as
> > compared to gstreamer customized pipeline.
> > I know that playbin adds some preroll queue before audio video sink.
> > But will it add so much of CPU usage.
> > I have used 'top' utility to check the CPU usage.
> >
> > Basically there are two commands which we have used:
> >
> > 1) with playbin
> >
> > gst-launch playbin uri=file:///media/sdmmc0p1/Comebacks.avi
> >
> > 2) with gst-launch specific pipeline
> >
> > gst-launch filesrc location=/media/sdmmc0p1/Comebacks.avi ! avidemux
> > name=demux { demux.audio_00 ! queue ! omx_mp3dec ! alsasink } {
> > demux.video_00 ! queue ! omx_h264dec ! xvimagesink }
> >
> > with (1) we are getting around 20% more CPU consumption wrt (2).
> >
> >
> > I need one more info is there any way to dump the pipeline created
> > using playbin? I know GST_DEBUG=GST_ELEMENT_FACTORY:3 & GST_DEBUG=*:3.
> > If there is any specific flag which can give me only the pipeline
> > elements and their connection.
> >
> you can use "gst-launch -v ..." or you can use
> GST_DEBUG_DUMP_DOT_DIR=<path> gst-launch ... and convert the generated
> dot files to e.g. png with "dot"
>
> Stefan
>  > Regards,
> > Manish
> >
> > ------------------------------------------------------------------------
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081114/63c3672e/attachment.htm>


More information about the gstreamer-devel mailing list