Resource usage on pipelines

Russel Winder russel at winder.org.uk
Sat Jan 19 16:38:25 UTC 2019


Hi,

I have a Rust program that implements:

gst-launch-1.0 -e uridecodebin uri=dvb://<channel> name=d ! queue ! x264enc ! mp4mux name=m ! filesink location=<output-path> d. ! queue ! avenc_ac3 ! m.

it does the job asked of it and so in that sense is successful.

However, there seems to be between 25 to 35 Linux tasks (as reported by htop)
with one always being 60% to 80% CPU usage, three or four in the 10% to 20%
region and the rest in the 4% to 6% region. This seems like an awful lot of
processing power being used on this four core with hyperthreads laptop. Is all
that computation actually needed or am I just doing something wrong in the
pipeline that means more resources than required are being employed?

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190119/42f183fa/attachment.sig>


More information about the gstreamer-devel mailing list