1080p videotestsrc maxes out CPU

Stefan Sauer ensonic at hora-obscura.de
Sun Apr 15 12:27:05 PDT 2012


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
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list