Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   video in java (http://www.programmingforums.org/showthread.php?t=15787)

sackarias May 6th, 2008 9:49 PM

video in java
 
I'm looking into writing a program that requires using video. Not across the Internet, and I would either like to use an already stored video file or live streaming video. I looked into the JMF (java media framework), and read about the potential of bugs becoming an issue. Also https://media4j.dev.java.net/ which is a framework on top of the JMF which simplifies the use of JMF but also has bugs due to the JMF bugs. I read this about the bugs on a different forum so how reliable the information could be is out of my realm. I was wondering if anyone worked with the JMF, how was it? buggy? what did you make?

I was also wondering if their are alternatives to the JMF to work with video in Java.

Ultimately I want to write a program that can read in video data, modify and read out specific aspects of the video data. I just am not sure where to place my footing.

Can anyone point me in some direction?

Thanks.

Fall Back Son May 12th, 2008 12:04 AM

Re: video in java
 
Its actually not very complicated. Look into the Desktop class. Google: Java Sun Desktop.

For example

Desktop.getDesktop().open( new File("c:/somewhere/aFile.txt") );
// opens the file that was passed as a String.

I'm positive that it works because I have used it. The idea is that the Desktop class allows you to use whatever default applications exist (WMP, Word, etc) in order to open certain file types. I'm pretty sure it works for video as well as text files etc.


All times are GMT -5. The time now is 9:12 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC