This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Window Media Player In Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Window Media Player In Java" Watch "Window Media Player In Java" New topic

Window Media Player In Java

Amit Sethi
Ranch Hand

Joined: May 30, 2006
Posts: 45
Q1. I want to make window media player in java, can any one please guide me the best way to play video & audio files in java, in window's application using swings.

(Is there any free code available which can help me to understand things )

Thanks and regards
Amit Sethi
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Please don't post the same question to more than one forum. See here for an explanation of why I just deleted the other copy of this thread.

[Jess in Action][AskingGoodQuestions]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41015
The two principal APIs for working with media formats in Java are Suns JMF (Java Media Framework, which is no longer developed), and Apples QuickTime. Numerous code examples are available for both of them.

If you're asking specifically about playing WMF files, though, then I think you're out of luck - neither QT nor JMF can play those, AFAIK.

Ping & DNS - my free Android networking tools app
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Amit --

You sent me a private message to ask for help. I would have replied with another private message, but your account is set to refuse them (you can change that here.)

But in any case, I think Ulf has given you the starting points for where you would begin. I personally don't have any knowledge of these APIs.
I agree. Here's the link:
subject: Window Media Player In Java
Similar Threads
suggestion for making media player in applet
Can cny one help me in making java media player
How To Develop A Designer Media Player For Java Swing Application????
How to disable mouse click on the MediaPlayer or Real Player
Window Media Player