Gstreamer Java: How to play multiple videos one by one using playbin pipeline

21 views
Skip to first unread message

Arulmurugan Subramaniam

unread,
Feb 5, 2024, 5:13:12 AMFeb 5
to gstreamer-java
Hi friends,
I am new to gstreamer and want to write java applicatoni to play videos.

I have a set of videos to play one by one. The list will changing dynamically. 

Kindly share sample java code.

Thanks,
Arulmurugan.S


Neil C Smith

unread,
Feb 5, 2024, 5:20:40 AMFeb 5
to gstream...@googlegroups.com
Hi,

On Mon, 5 Feb 2024 at 10:13, Arulmurugan Subramaniam
<arulm...@gmail.com> wrote:
> I am new to gstreamer and want to write java applicatoni to play videos.
>
> I have a set of videos to play one by one. The list will changing dynamically.
>
> Kindly share sample java code.

Have a look at the example Swing media player, and in particular the
handling of the File... button.

https://github.com/gstreamer-java/gst1-java-examples/blob/master/SwingPlayer/src/main/java/org/freedesktop/gstreamer/examples/SwingPlayer.java

Best wishes,

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 : 3rd Floor Suite, 207 Regent Street,
London, W1B 3HH, England
Reply all
Reply to author
Forward
0 new messages