7

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

Jonas
  • 121,568
  • 97
  • 310
  • 388
PrashantAdesara
  • 1,897
  • 3
  • 22
  • 41

4 Answers4

6

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

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
2

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

Community
  • 1
  • 1
asela38
  • 4,546
  • 6
  • 25
  • 31
0

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

Community
  • 1
  • 1
Codemwnci
  • 54,176
  • 10
  • 96
  • 129
0

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

Antony Ng
  • 767
  • 8
  • 16