Create your own media player with Java Media Framework(JMF)  

Posted by Fast Fire Fish in ,

For those who are working with Java, you might be interested with Java's capability of playing media files with its Java Media Framework(JMF). Today I'm going to share a simple guide to get this working.

Steps

1)Get the installation software from Sun's website here.

2)You might need to restart your machine as one of my friends had this problem and it was resolved after that.

3)Copy and paste the code from here

4)If you do not have a sample mpeg file, you might want to download it here. Save the file to some location in your harddisk and remember where u save it.

5)Compile and launch the code with assuming you already have the standard jdk package installed. Select the mpeg file from the location where it is stored and it should start the video playing.

That's it! I hope I made it simpler if you are looking for a crash course.
For a more detailed explanation of the codes, I believe the source has already explained in great detail.


Related Posts by Categories



Bookmark this post:
StumpleUpon Ma.gnolia DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google

This entry was posted on Tuesday, September 16, 2008 at Tuesday, September 16, 2008 and is filed under , . You can follow any responses to this entry through the comments feed .

1 comments

Anonymous  

Thankss

February 5, 2009 at 12:09 PM

Post a Comment

Your Ad Here