Updatable Text Overlay On Gstreamer Video Pipeline on Java

144 views
Skip to first unread message

Ozan Şenyayla

unread,
Sep 10, 2021, 3:03:46 AM9/10/21
to gstream...@googlegroups.com
Hi All, 

I need help on adding text overlay onto running pipeline video on Java. This overlay will be able to be updated using a button etc. Could any one have a suggestion for example code samples?

Thanks,
Ozhan 

Neil C Smith

unread,
Sep 11, 2021, 7:39:01 AM9/11/21
to gstream...@googlegroups.com
On Fri, 10 Sept 2021 at 08:03, Ozan Şenyayla <ozan.s...@opsin.com.tr> wrote:
> I need help on adding text overlay onto running pipeline video on Java. This overlay will be able to be updated using a button etc. Could any one have a suggestion for example code samples?

The only thing currently in our examples that might be useful is
https://github.com/gstreamer-java/gst1-java-examples/blob/master/Controllers/src/main/java/org/freedesktop/gstreamer/examples/Controllers.java

You can set the text property dynamically, although I'd recommend
using Gst.invokeLater to do so.

Neil

--
Neil C Smith
Codelerity Ltd.
www.codelerity.com

Codelerity Ltd. is a company registered in England and Wales
Registered company number : 12063669
Registered office address : Office 4 219 Kensington High Street,
Kensington, London, England, W8 6BD
Reply all
Reply to author
Forward
0 new messages