Screen capture high CPU load

BogdanS bodyaf at gmail.com
Thu Aug 2 22:08:54 UTC 2018


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/


More information about the gstreamer-devel mailing list