• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to play (with pause, stop, etc.) movies in a java app (or is JMF really dead?)

 
Bill Doss
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I want to build a Java app to play *.avi files, including the ability to pause, stop, backup, etc. along with some application specific stuff. While asking Mr. Google for help on how to do this, I came across something called the Java Media Framework (JMF). However, I also saw references to JMF being old or dead. Well, I'm not sure I want to start down a path where I'm using an old, non-maintained software package. Is this the case? Is JMF dead? If so, is there another approach (e.g. another package) to building an app to play *.avi files? Am I going to have to figure all of this out on my own? (I admit that would be fun but I don't think the boss has the $$ and time for me to do that. Besides someone has to have done this before.)

Thanks a whole bunch,
Bill
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try JavaFX 2.0. Till now, it supports only a very limited number of audio/video formats, but that's expected to change.
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMF is dead in the sense that it has not seen development in quite some time, and will not be developed any further. It works fine for what it does, though (which may or may not cover your requirements).

The http://www.coderanch.com/how-to/java/OtherOpenSourceProjectsFaq page links to some other Java media libraries that may be helpful.
 
Bill Doss
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

From the OtherOpenSourceProjectsFaq page, suggested by Tim, I found a link titled Playing Media with Java Media Components" that looks like it might do the trick. I'm going to research that now and I will consider this question solved. Thanks for the responses!!

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic