Screen capture high CPU load

pin4nip bodyaf at gmail.com
Fri Aug 3 01:11:50 UTC 2018


Windows.
After some tests with videotestsrc and fakesink I sink that encoding to
h264 it is heavy operation.
So I can't reach normal cpu load with this scripts and better to buy h264
hardware encoder?



On Fri, Aug 3, 2018, 02:34 P S <my_dates at gmx.net> wrote:

> Hello,
>
> I do the same, thats a normal performance with this load. I have about 50
> to 60% cpu load with full hd.
> Do you use windows or Linux?
>
> Peter
>
> *Gesendet:* Freitag, 03. August 2018 um 00:08 Uhr
> *Von:* BogdanS <bodyaf at gmail.com>
> *An:* gstreamer-devel at lists.freedesktop.org
> *Betreff:* Screen capture high CPU load
> Hello Iam trying to do some screen capture and send via udp(windows)
>
> pipeline for example.
>
> dx9screencapsrc monitor=0 ! videoconvert ! x264enc ! rtph264pay ! udpsink
> host=127.0.0.1 port=5004
>
> pipeline are working but it loads cpu up to 40%
>
> with openh264enc it works much better
> x9screencapsrc ! videoconvert ! openh264enc complexity=0 usage-type=0
> bitrate =500000 ! rtph264pay ! udpsink host=127.0.0.1 port=5004
> loads cpu up to 15%
>
> I need 4 like this for 4 monitors
>
>
> I see that dx9screencapsrc output format BGR, so I need videoconvert before
> x264enc or openh264enc (don't recieves BGR).
>
> So my question is there some practices to make this script works better?
>
> Newer version of gstreamer(I am using 1.8.0) works better?
>
> Thank you for advices!
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180803/5cd7070c/attachment.html>


More information about the gstreamer-devel mailing list