3

I've been googling how to play video files. Firstly, I came across JMF but then realized it is nowadays obsolete.

Then, I found "xuggle" but it seems quite difficult to use that with my knowledge.

Could anyone of you tell me how do you usually play video using java?

Thank youuu!

Marie
  • 141
  • 1
  • 2
  • 6
  • Go with JavaFX2: http://stackoverflow.com/questions/18758041/play-a-video-using-javafx – PeterMmm Nov 04 '14 at 15:14
  • this works for java 8, right? I'm not using java 8... – Marie Nov 04 '14 at 15:22
  • Or use (VLC player)[http://stackoverflow.com/questions/16962013/play-an-avi-video-file-in-java-swing/16962305#16962305] with VlcJ. It needs the player to be downloaded as well, but then you can do all the VLC can, i.e. connect to streamings. – Stefan Nov 04 '14 at 15:25
  • JavaFX can work starting with Java 7. – PeterMmm Nov 04 '14 at 16:00
  • after watching this video: https://www.youtube.com/watch?v=uRK6MHlBi-0 I got something working! thanks a lot! – Marie Nov 05 '14 at 14:59

0 Answers0