GStreamer Hardware Acceleration in KMS

224 views
Skip to first unread message

Sergei Vasilyev

unread,
Apr 6, 2017, 3:48:39 PM4/6/17
to kurento
Hi experts,

is it possible to activate hardware acceleration for GStreamer in KMS? The goal is to run KMS on a GPU instance and hw accelerate the Composite's tasks.

As a side question, is that possible to configure GStreamer's pipelines with config files without the need to recompile c++ code of kms elements?

Thanks,
Sergei

Micael Gallego

unread,
Apr 6, 2017, 4:34:46 PM4/6/17
to kur...@googlegroups.com
Hi Vasilievsi,

Composite is not GPU accelerated.

KMS can be controled by means a simple WebSocket Json-Rpc protocol
 There are Java and JavaScript clients that speak that protocol. You dont need recompile the C++ code to define a custom pipeline.

Regards

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/5ec6bd92-77da-4168-a86c-60e7cadcae36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sergei Vasilyev

unread,
Apr 6, 2017, 4:41:07 PM4/6/17
to kurento
Seems Composite is hard-coded in kms-elements/src/gst-plugins/kmscompositemixer.c, so I should do some coding to meet the goals.

Attached is a dot/gv and a generated pdf for someone to appreciate the Composite complexities :).

* to explore Composite in Adobe Acrobat Reader, activate View/Zoom/Pan & Zoom.

Enjoy,
Sergei
composite.gv
composite2.pdf

Micael Gallego

unread,
Apr 6, 2017, 5:05:38 PM4/6/17
to kur...@googlegroups.com
Composite needs C code to config

If you have time, you can implement a custom Composite that allows configuration via websockets. We can include it in the main codebase.

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.

Sergei Vasilyev

unread,
Apr 6, 2017, 5:29:31 PM4/6/17
to kurento
Thanks, Micael, if I take that route and succeed, I will come back with a GH pull request for your consideration.

Micael Gallego

unread,
Apr 6, 2017, 5:35:55 PM4/6/17
to kur...@googlegroups.com
Thank you very much.

Best regards

Micael Gallego
Kurento / OpenVidu Project Lead

On Thu, Apr 6, 2017 at 11:29 PM, Sergei Vasilyev <vasil...@gmail.com> wrote:
Thanks, Micael, if I take that route and succeed, I will come back with a GH pull request for your consideration.

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
Reply all
Reply to author
Forward
0 new messages