Play video in a Java Desktop Application

自作多情 提交于 2019-12-14 02:17:13

问题


I'm trying Java Media Framework and I'm noticing that it doesn't support many video formats and it seems not to be updated enough. Is there an alternative for JMF for Windows Java Desktop Applications?


回答1:


Yes, I'd definitely recommend staying away from JMF. I've felt your frustrations! Personally I recommend VLCJ, especially if you need support for a wide range of formats - I'm using it in my application and it works very well.

The following questions may also be relevant:

Dealing with video (DVDs, .avi .mkv) in Java

Adding other video codecs / DVD support to JavaFX 2.2




回答2:


In short, it looks like a dead-end. I'd switch to JavaFX 2.1 - it's got much better support and seems to be "live" as well. There's some more information right here on Stack Overflow as well : Adding other video codecs / DVD support to JavaFX 2.2



来源:https://stackoverflow.com/questions/10598482/play-video-in-a-java-desktop-application

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