-1

Are there any libraries to play media, such as video or audio, in Java 6 and onwards? As far as i can tell, JMF is from Java 2 and there dont seem to be any alternatives.

closed as unclear what you're asking by RockPaperLizard, unor, Tom, ᔕᖺᘎᕊ, Flyk Sep 27 '15 at 20:41

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to Software Recommendations! We will need much more information to give good recommendations here. Please take a look at What is required for a question to contain "enough information"? Then please edit your question and see if you can incorporate some of these improvements. Although I'm not a Java developer I'd recommend at least answering: Do you want/need it to be Open Source? What mime-types do you need to be able play? – Nick Wilde Apr 2 '14 at 19:39
  • 1
    What is wrong with the solution(s) you have tried so far? Also, do you need to support any patent-encumbered format/codec? – Nicolas Raoul Apr 3 '14 at 5:47
1

Wikipedia has an Alternative section of JMF. As far as I can tell JMF has some problems on handling various newer formats. I would suggest to use equivalent libraries to the kind of multimedia you want to process.
For example:
For handling audio files use implementations of the Java Sound API such as JavaLayer and/or MP3SPI. For playing videos you can use an embedded vlc player API such as this.(Those options mentioned are free and open-source, I imagine there are other proprietary libraries which might suit you better)

NOTE: I thought java7 has a media API but I'm having a hard time to find and use it as shown here.

Hope I helped a little!

Not the answer you're looking for? Browse other questions tagged or ask your own question.