Any simple (and up to date) Java frameworks for embedding movies within a Swing Application?

前端 未结 3 789
执笔经年
执笔经年 2020-11-29 10:59

I am building a small Swing application that I would like to embed a movie within. Importantly, this application is a WebStart application - and the library should be able t

3条回答
  •  清歌不尽
    2020-11-29 11:18

    ..have tried JMF but the format compatibility I believe to be relatively poor when compared to other frameworks out there.

    You are right about the lack of support for modern codecs, but it works just fine for older codecs. It might be a viable option if:

    1. You control the format (as opposed to the user opening 'any old video' in it). Which you apparently do.
    2. Bandwidth is not a huge problem. The more modern codecs improved compression markedly.

    While the 'performance pack' version of the JMF which uses natives supports more formats, the core Java JMF API also provides some basic formats.

提交回复
热议问题