Playing video in Java

血红的双手。 提交于 2019-11-29 10:04:46
Matt Ball

JMF is basically dead.

I don't have first-hand experience with playing video with Swing, but here's a list of alternatives to JMF you might try. There are also a number of SO questions about this already:

Based on those, it looks like Xuggler is the solution.

For the casual reader, Xuggler is now deprecated. Use Humble video instead: https://github.com/artclarke/humble-video.

On the other hand, you can have a look at the vlcj project. It permits you embedding a native VLC media player in a Java AWT Window or Swing JFrame.

UPDATE Feb 04 '16

  • The Humble Video project seems inactive. There's no new updates since Janury the 3rd 2015.

  • vlcj is still active. The last update was done on Feb 03 '16.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!