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.
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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
You can dump the pipeline in XML with the GstXML api but you will have
to do it from an application using playbin. (write a small hello world for this) it cannot be done from gst-launch atm, but will be a nice feature imho :) Manish Sharma wrote: > 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. > > 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Manish Sharma-5
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. > 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Manish Sharma-5
1.
playbin will always link ffmpegcolorspace and videoscale into the
pipeline, it will impact the performance compare to customized pipeline. 2.
man gst-launch-0.10 you will see the option “―gst-debug=STRING”,
next “gst-launch-0.10 �Cgst-debug-help” you will see the category for example: gst-launch-0.10
--gst-debug=GST_AUTOPLUG:5,xvimagesimk:5,GST_DATAFLOW:5,playbin:5
--gst-debug-no-color playbin uri=file:///home/ume/work/test.m2v From:
Manish Sharma [mailto:[hidden email]] 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. 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Thanks to all for replying back.
2008/11/14 Zhao, Halley [hidden email]
1. playbin will always link ffmpegcolorspace and videoscale into the pipeline, it will impact the performance compare to customized pipeline. Hi Zhao,
I apologize for not mentioning this in advance. We are doing this testing on ARM platform. We have disabled ffmpegcolorspace and videoscale inside playbin code. so that our video pipeline should look similar to the one which I have mentioned in customized 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 }
One more behaviour I have observed while debugging with PowerTrace hardware that playbin creates 12 threads for the following command while similar specific pipeline creates 10 thread. What are these extra 2 threads created by playbin? Is there any clue on the same?
1) with playbin (12 threads)
gst-launch playbin uri=file:///media/sdmmc0p1/Comebacks.avi 2) with gst-launch specific pipeline (10 threads) 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 } Regards, Manish
2008/11/14 Zhao, Halley <[hidden email]>
------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Stefan Sauer
Thanks a lot Stefan
On Thu, Nov 13, 2008 at 9:12 PM, Stefan Kost <[hidden email]> wrote: hi, ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |