Play video in a Java Desktop Application

2019-07-18 04:41发布

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?

标签: java video jmf
2条回答
男人必须洒脱
2楼-- · 2019-07-18 05:19

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

查看更多
啃猪蹄的小仙女
3楼-- · 2019-07-18 05:22

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

查看更多
登录 后发表回答