• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Video solution(framework) in an Applet

 
Greenhorn
Posts: 2
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Clark, and welcome to the Ranch! Have you tried JMF?
 
Ray Gleeson
Greenhorn
Posts: 2
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Whatever you say buddy! And I believe this tiny ad too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic