The moose likes Swing / AWT / SWT / JFace and the fly likes What is the best way to show a video in a swing Application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "What is the best way to show a video in a swing Application" Watch "What is the best way to show a video in a swing Application" New topic
Author

What is the best way to show a video in a swing Application

bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
would like to know what I need to learn and what API is required.
Any help would be really appreciated. Thanks.
Jason Kretzer
Ranch Hand

Joined: May 31, 2001
Posts: 280
try here. I have not completely looked through it yet but it looks promising.
http://java.sun.com/products/java-media/jmf/index.html
-Jason


Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="http://alia.iwarp.com" target="_blank" rel="nofollow">http://alia.iwarp.com</a>
bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
Is it better to have a swing application or an applet, maybe servlet? What do you think?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4120

If you're going to be showing a viseo with JMF, the best bet is probably an application... If you did this in an applet, you would have to provide JMF to the user and they would have to download it every time ( or install it so their VM could find it ) because JMF is not a standard Java package. In a Servlet, you probably wouldn't need to use JMF, you'd just generate a webpage with a QuickTime, MPEG, or whatever sort of video it was in the code, and play the video through the browser. Of course, if the plug-in to play whatever sort of video is not installed, the user will have to download that the first time. It all just depends on your requirements. If you're doing this on the web, the easiest thing to do would probably be the 3rd ( servlet ) way. Then you don't have to worry about doing it through JMF...

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
 
subject: What is the best way to show a video in a swing Application
 
Threads others viewed
Access Forbidden
Advanced Feature Wishlist for Ajax Frameworks
value submit html:select
What if there were no dinosaurs?
JAXP(SAX & DOM) vs JAXB
MyEclipse, The Clear Choice