This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes Video solution(framework) in an Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Video solution(framework) in an Applet" Watch "Video solution(framework) in an Applet" New topic
Author

Video solution(framework) in an Applet

Ray Gleeson
Greenhorn

Joined: Jun 22, 2011
Posts: 2

Hi,

I'm looking for a way to play a video stream (MJPEG and DivX Codec) through an applet. My project involves an RTSP server that streams mjpeg/divx/h.264 video files and I need an applet that shows the stream.

I started with vlcj ( http://code.google.com/p/vlcj/ ) but it doesn't work when I launch it in a browser because it needs the native vlc library. Is there a solution to get access to the native VLC library without using Java WebStart?

Or is there a pure java framework that supports those codecs? Or have you any idea how can I do this? What libraries to use?

Thanks.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Hi Clark, and welcome to the Ranch! Have you tried JMF?


luck, db
There are no new questions, but there may be new answers.
Ray Gleeson
Greenhorn

Joined: Jun 22, 2011
Posts: 2

Yes, but JMF doesn't support those codecs and Oracle stopped developing it since 2003 and I couldn't make it work to play simple mjpeg file.
Another problem is that the client needs to install JMF on their system..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41134
    
  45
JMF doesn't need to be installed; it can be shipped with the applet.

As to vlc: native libraries can be shipped with signed applets. There's a useful helper class for that on dev.java.net called "jnlp... launcher... applet... jni... native" - some combination of these. It's used there for JOGL, but works for other native libraries as well.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Video solution(framework) in an Applet
 
Similar Threads
streaming video
Retrieving any frame from the video in the database.
Creating MJPEG-stream/video with servlet, is this even possible?
Starting a third-part app consumes 50% CPU!
video streaming into the internet