Hi,
Just a question about how CPU usage, multi-threading, etc. I use this pipeline: gst-launch videotestsrc do-timestamp="true" ! capsfilter caps="video/x-raw-yuv,width=1280,height=720" ! timeoverlay ! autovideosink my core i5 cpu shows 18% utilization ( that is about 80% or so of one core) then I try this gst-launch videotestsrc do-timestamp="true" ! capsfilter caps="video/x-raw-yuv,width=1920,height=1080" ! timeoverlay ! autovideosink my cpu shows 25% utilization (100% of 1 core). But Gstreamer warns that "There may be a timestamping problem, or this computer is too slow." and the test pattern appears to be at about 1 frame per 2 seconds. Is there a way to get Gstreamer to use the other cores? Is there any way to get this work optimized for the GPU? Thanks, Garth |
On Wednesday, April 11, 2012, gtissington wrote:
> Hi, > > Just a question about how CPU usage, multi-threading, etc. > > I use this pipeline: > > gst-launch videotestsrc do-timestamp="true" ! > capsfilter caps="video/x-raw-yuv,width=1280,height=720" ! > timeoverlay ! > autovideosink > > my core i5 cpu shows 18% utilization ( that is about 80% or so of one core) > > then I try this > > gst-launch videotestsrc do-timestamp="true" ! > capsfilter caps="video/x-raw-yuv,width=1920,height=1080" ! > timeoverlay ! > autovideosink > > my cpu shows 25% utilization (100% of 1 core). But Gstreamer warns that > "There may be a timestamping problem, or this computer is too slow." and the > test pattern appears to be at about 1 frame per 2 seconds. > > > Is there a way to get Gstreamer to use the other cores? > Is there any way to get this work optimized for the GPU? > > > Thanks, > > Garth This exact pipeline works on my dual core laptop with about 20% load. Depending on where I look I get either "cpu load 0.23" (from w) or about 30% load at 50% cpu speed from each core (kde load widget). If both cores are fully loaded my cpu load is 200%. The load numbers have become pretty meaningless unless you specify exactly what 100% means. Different tools seem to have different definitions. -- Remco Treffkorn (RT445) HAM DC2XT [hidden email] (831) 685-1201 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks for this info. My question wasn't really about how high the CPU load should read.
The point is that on my core i5 the 720p pipeline works fine and the 1080p pipe definitly maxes out on one core and can only produce about 1 frame a second. Is there any way to have GStreamer use the other cores or offload to the GPU? Thanks again. Garth
|
In reply to this post by gtissington
On 04/11/2012 10:45 AM, gtissington wrote:
> Hi, > > Just a question about how CPU usage, multi-threading, etc. > > I use this pipeline: > > gst-launch videotestsrc do-timestamp="true" ! > capsfilter caps="video/x-raw-yuv,width=1280,height=720" ! > timeoverlay ! > autovideosink > > my core i5 cpu shows 18% utilization ( that is about 80% or so of one core) > > then I try this > > gst-launch videotestsrc do-timestamp="true" ! > capsfilter caps="video/x-raw-yuv,width=1920,height=1080" ! > timeoverlay ! > autovideosink > > my cpu shows 25% utilization (100% of 1 core). But Gstreamer warns that > "There may be a timestamping problem, or this computer is too slow." and the > test pattern appears to be at about 1 frame per 2 seconds. > > > Is there a way to get Gstreamer to use the other cores? Add a queue infront of timeoverlay and it will use another thread. > Is there any way to get this work optimized for the GPU? Write variants of all the above functions to use your gpu, or how do you think would your GPU magically execute code compiled for x86? Stefan > > Thanks, > > Garth > > > > > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/1080p-videotestsrc-maxes-out-CPU-tp4548326p4548326.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |