Meaningless Drivel is fun!
The moose likes Java in General and the fly likes Play audio or video? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Play audio or video?" Watch "Play audio or video?" New topic

Play audio or video?

Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
How can you play audio (mp3) or video in a Java application? Is there an API or something for this?
Chris Stehno
Ranch Hand

Joined: Feb 26, 2001
Posts: 180
Yes you can do both of these things with the Java Media Framework (JMF). Sun has a reference implementation of it on the Java web site... just search for JMF. It works very well and is fairly easy to use.
Hope this helps.

- Chris Stehno, SCPJ
subject: Play audio or video?
It's not a secret anymore!