permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes How to play (with pause, stop, etc.) movies in a java app (or is JMF really dead?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to play (with pause, stop, etc.) movies in a java app (or is JMF really dead?)" Watch "How to play (with pause, stop, etc.) movies in a java app (or is JMF really dead?)" New topic
Author

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

Bill Doss
Greenhorn

Joined: Jan 26, 2012
Posts: 7
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

Joined: May 03, 2008
Posts: 4642
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Jan 26, 2012
Posts: 7

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to play (with pause, stop, etc.) movies in a java app (or is JMF really dead?)