PrashantAdesara
PrashantAdesara

Reputation: 1917

How to play video in Java Swing?

How to play a video in Java Swing? Is there any Swing components for this?

Upvotes: 8

Views: 19616

Answers (4)

Antony Ng
Antony Ng

Reputation: 797

vlcj is a very nice library for playing video in Java Swing, but it needs to have VLC installed on user's computer first:

https://github.com/caprica/vlcj

Upvotes: 0

asela38
asela38

Reputation: 4654

I suppose this will solve your problem : How to use JVLC (Java bindings for VLC)?

Upvotes: 2

Have a look at FMJ - http://fmj-sf.net/

Upvotes: 6

Codemwnci
Codemwnci

Reputation: 54944

What you are looking for is JMF (Java Media Framework).

You can find some tutorials on how to use it in the SO question below.

where can i find Java JMF tutorial

Upvotes: 0

Related Questions