Playing Live streamed audio through Java
Are there any java libraries out there that can handle live streamed audio such as an internet radio stream that can then be played back using Java? I've looked into stuff like Xuggler/FFMpeg but I'm开发者_开发知识库 not sure if they can handle the fact that I'm just trying to play a live stream. It would have to be able to handle most/all of the formats that internet radio stations usually stream in.
Thanks a lot.
You can have a look at JMF - Java Media Framework
http://en.wikipedia.org/wiki/Java_Media_Framework
http://www.oracle.com/technetwork/java/javase/tech/index-jsp-140239.html
On the Wikipedia site is also a list of alternatives:
- Freedom for Media in Java (FMJ) An API-compatible with JMF alternative !
- JavaSound
- QuickTime for Java
- IBM Toolkit for MPEG-4
- Jffmpeg
- jvlc
- vlcj
- gstreamer-java
- Cortado, a complete player for Ogg Vorbis and Theora in a Java applet
- Directshow <> Java Wrapper
- Fobs4JMF
- JLayer MP3 library
- Xuggler
- Video4Linux4Java
精彩评论