Re: Java Media Framework cross platform installation / setup on Mac / UNIX

JMF cross-platform doesn't support everything that the native performance pack versions support. I found this out the hard way too because pure Java JMF can't play AVI's from my digital camera but the Win32 enhanced JMF can. In particular, with my case pure Java JMF doesn't support all the frame rates that the others do.
I know Apple has been releasing some of the other APIs lately, like JAI. We might want to check over at apple.com and see if they have a native JMF impl.

Hi,
JMF work well on OS(32bits) and Java(32bits)
Octavian.
Edited by: user7659448 on Feb 28, 2012 10:42 AM

Similar Messages

  • Java Media Framework (JMF) Installation on Linux platform

    Currently I'm developing a Cross-Platform Media Player. My application runs properly on my machine running Windows. But I'm unable to test my application on my machine running Linux just because I'm unable to Install and configure Java Media Framework (JMF) on Linux.
    Can somebody tell me how to Install and Configure Java Media Framework (JMF) on Linux platform? Please tell me about all the required steps in detail.

    Are you perhaps trying to install a specific verion of Oracle on a specific verison of Linux?
    Both sets of specific version information are useful.
    For example, Fedora Core 5 has made a lot of changes in the stdandard c/C++ libraries and is incompatible with an regular Oracle install. (You would need to install the 'compatible' libraries in Fedora Core 5 before attempting to install Oracle..)

  • Silent installation Java Media Framework

    Anyone knows the parameters to install the Java media framework 2.1.1 in silent mode?
    Thanks

    Abra-Cadabrah!
    There is no such option. Though you might deploy JMF using JWS, for a less painful experience for your users.

  • Java Media Framework silent install

    Hi,
    When I install JMF on HP laptop, in JM studio File->Capture i donot get "use video device" portion so i am not able to capture video with the help of WebCam :( on other hand if i install JMF on Dell laptop, JM studio->File->Capture is disabled may i know what can be possible reason of this?
    Please guide me help.

    983818 wrote:
    I need to install the Java Media Framework to over 1000 windows computers. How to do this. MSI package does not exist. Oracle does not change this installer since 1998. Oracle spit of the fact that someone is forced to use this software. I hate proprietary software.You should take the hint: it is abandoned, don't use it.

  • Java Media Framework fails on Windows 7

    I wrote a Java program to manage and play my MP3 files. This program works fine on Windows XT and Windows Vista but does not work on the new laptop I just purchased with Windows 7. The Java Media Framework cannot play my MP3 files running on Windows 7. Does anyone know of a fix? I saw some very old forum posts where the poster asked if anyone knew how to obtain the source code for the Java Media Framework. If I could get my hands on the source, I would debug the problem and provide the fix to the Java community. So does anyone know of a fix to Windows 7 problems or know how to get the Java Media Framework source code????

    I believe you are right. I didn't know how much native support the JMF code requires but that must be the problem because it doesn't work on Windows 7. I think I would get some other error if the native libraries needed by JMF were not available on Windows 7. Appears that the native code is invoked but fails for some reason resulting in the JMF ControllerEventError that I get when attempting to play my MP3 files. I always had an error on a very few MP3 files that I have downloaded using LimeWire but the songs were playable by Windows Media. So whatever native support JMF uses, it is not the same as Windows Media or JMF is just not using the native MP3 support correctly. I guess I will just have to keep my Music Library on one of my older computers and not use my Java program on Windows 7 to play my MP3 files. Do you have any idea if the programmers who wrote the JMF code are still maintaining it? Perhaps they would be interested in fixing the Windows 7 problem in a new release??

  • Cross-platform installs or upgrades

    If I understand the license agreement correctly (and correct
    me if I'm wrong), I'm able to install my copy of DW (and the rest
    of the Suite) on both my PC and on my laptop, provided I don't use
    them both at the same time. That's also provided that both my PC
    and my laptop are on the same platform. I have a Windows PC and a
    Mac laptop, so I'm out of luck. It seems a little unfair, and I
    know there must be some kind of anti-piracy thing that they don't
    allow this, but is there any consideration for changing this so us
    legitimate users can do cross-platform installs without having to
    purchase a second copy of the suite?

    easthollow wrote:
    > I have a
    > Windows PC and a Mac laptop, so I'm out of luck. It
    seems a little unfair, and
    > I know there must be some kind of anti-piracy thing that
    they don't allow this,
    > but is there any consideration for changing this so us
    legitimate users can do
    > cross-platform installs without having to purchase a
    second copy of the suite?
    Your understanding of the licence agreement is correct. The
    question of
    a dual platform licence is raised in this forum on a regular
    basis
    because many indpendent developers are in the same situation.
    However,
    the answer is no - the licence is for one operating system
    only.
    At the moment, the Studio 8 CD-ROM contains both Mac and
    Windows
    versions, but I suspect that this may not always be the case.
    Adobe
    software is sold on separate disks.
    I raised the question of dual licensing with an Adobe
    executive at Adobe
    Live in London a few months ago. He was sympathetic to the
    problems of
    an individual developer, but from the business point of view
    the
    situation was clear. It costs twice as much to create
    programs for both
    Windows and OS X, so if you want to use it on both systems,
    you must
    contribute towards both sets of development costs.
    If you need to run the Windows version on your Mac, you can
    always use
    Virtual PC or one of the dual boot methods.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Is the Java Media Framework still supported by Sun or not ??

    Hello my name is Michael.
    I have questions about the JFM, are there any person who can response it, please post it.
    I don't know if the technology is up to date if there is no release or bug fix since 2003.
    Please tell me something about the plan from Sun about the Java Media Framework.
    Is there any substitute java framework to work with ??
    Thank you for your benefit !!
    Michael

    Doug,
    Your iPod should work with no issues on 10.4.11 and iTunes 8+.
    When the iPod "locks up" do you hear any clicking noises? Your symptoms sound like the hard drive is having hardware issues.
    Here's a trick I used to use to fix the older iPods. It involves opening up the iPod, so if you don't feel comfortable, you might want to go to someone who does.
    Take a blade from a box cutter and gently move it along where the plastic meets the metal on the iPod. Use the blade to pry open the iPod from the metal case for the back.
    Once you get the iPod out, look towards the bottom of the iPod, and you should see the hard drive with a wide cable attached to it. Take that cable out of the hard drive (gently). Find a Bic pen cap (or something similar) and push it in between the two rows of pins on the cable. Try to make sure the pins are spread apart evenly and all pointing directly out. Once you get that in place, firmly push the cable back into the hard drive and gently put the iPod back together.
    You may then want to restore just to be safe, and try loading your music again. I've used this trick on many old iPods to bring another couple of years of life into them. (sometimes this cable comes loose, causing the issues you're describing)
    Justin

  • Request: Java Media Framework

    http://java.sun.com/products/java-media … nload.html
    OpenOffice.org 2,x uses the Java Media Famework (JMF) to render media such as film and sound under Linux.
    It would be very usefull in Impress presentations
    I tryed but was unable to make a package
    Thanks in advance

    Try this package:
    http://aur.archlinux.org/packages.php?d … 1&ID=11728
    Give me feedback please
    See you
    You also have to:
    Set up OpenOffice.org to use Java Media Framework
    Use the Tools > Options > OpenOffice.org > Java menu
    Click the Class Path... Button.
    Click the Add Archive... Button.
    Browse to the /opt/java/jre/lib/ext/jmf.jar file to add it.
    More info at http://www.oooforum.org/forum/viewtopic … mfhome+sun
    Last edited by darzephyr (2007-06-20 19:23:47)

  • Please HELP !!! Signed Applet & Java Media Framework(JMF)

    Hi,
    I have written a self signed applet that is used for Recording voice running in browser:
    The tag that I've given is as follows:
    <OBJECT
    classid = "clsid:CAFEEFAC-0014-0001-0000-ABCDEFFEDCBA"
    id="recordApplet"
    codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_1-windows-i586.cab#Version=1,4,1,0"
    WIDTH = 268 HEIGHT = 27>
    <PARAM NAME = CODE VALUE = "RecWindow">
    <PARAM NAME = ARCHIVE VALUE = "jmf.jar,sound.jar,SignedRecWindow.jar">
    <PARAM NAME = "soundtrack" VALUE="testFile.mp3">
    <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.1">
    <PARAM NAME = "scriptable" VALUE = "true">
    <PARAM NAME = "MAYSCRIPT" VALUE = "true">
    </OBJECT>
    I've also signed jmf.jar as well as sound.jar that come in JMF 2.1 and am including it the archive. These jars are downloaded on client machine.
    My code works perfectly BUT only when JMF 2.1 is installed on the clients machine else I get a RunTime Exception stating "no permission to capture from applet".
    JMF FAQ states that If a user chooses to allow playing back locally stored media files or saving media files locally, he/she can do so by making use of a policy file. http://java.sun.com/products/java-media/jmf/2.1.1/faq-jmf.html#jmf2-applet-run
    My requirement is that once the user has agreed to the signed applet to run then there should be no need to install JMF rather use the jmf.jar that is downloaded on client machine.
    Also how can I grant the permission (permission javax.sound.sampled.AudioPermission "record";) to my applet in client computers ?
    The client should not be asked to add any files (policy) by itself, all must be transparent for him.
    Thanks in advance.
    Vipin.

    I too have been trying to get Java JMF sound recording to work via webstart. No luck so far.
    I even tried playing (security.AllPermissions) with .java.policy file in the user's home directory and even modifying java.policy in the JRE/lib/security directory. No luck there too!
    I also added security.AllPermissions to the javaws.policy in the JRE/jawas/javaws.policy file. Still no luck!
    Any idea, anyone?

  • Java media framework

    the browser is not able to pick the jmf classes.the same piece of code is running fine in the applet viewer but not in the browser.
    errors are
    class not found exception

    HAva a look at http://java.sun.com/products/java-media/jmf/2.1.1/solutions/ and look at "RTP Streaming Transmitting/Receiving media over RTP"

  • Using Java media framework

    I am look at this source code and it imports java.media when i compile it it says there is no such package. So i installed the JMF and it still doesn't work. Srry i am new to this and thanx fot the help.

    Hi,
    did you mean that you got some program's source code and they have javax.media imported?? That is the JMF package. Pls check if your installing of JMF is correct? Like for me, I am using eclipse. You can check in the JRE System lib. You will see the jmf.jar etc in there.
    Hope this help.
    Best Regards
    Ferdinand Ng

  • Java media framework plugin...

    Hi There...
    Am developing an Audio/Video site using java media framwork...
    Isn't there any i HTML code i can put so that wen a client logs on into my site and doesn't have JMF installed it will send him to the sun's website to download the JMF....or if u got any other solution it will also be great...
    thx....

    Java Web Start (From JavaSoft) should do what you want

  • Java Media Framework + jipCam + IP Cam

    Hi everyone,
    I maked an aplication using JMF, its connect to a USB cam and shouw the video, it's can snapshot the video too.. and record the video. Now i'm studding a JMF integration with a IP CAM, using the jipCam [http://jipcam.sourceforge.net]
    But, i having some difficulty to do it.
    Someone here has axperiency with jipCam?
    My main question is how to prepare the MediaLocator using jipCam.
    Thanks, and sorry the poor english language..
    ---- portuguese version
    Sauda��es,
    Fiz um aplicativo utilizando JMF que se conecta a uma camera USB e exibe sua imagem, podendo tirar 'fotografias' da imagem e/ou gravar o v�deo. Agora estou estudando a integra��o do JMF com uma Camera IP, para tanto estou estudando o jipCam http://jipcam.sourceforge.net/ que � um framework que auxilia exatamente neste tipo de comunica��o: conectar uma camera ip em um aplicativo jmf. Por�m, estou com dificuldades para encontrar documenta��o, ou c�digo de exemplo, nem se quer um Hello World encontrei.. Em fim, algo que facilite minha vida. Algu�m j� trabalhou, ou estudou algo a respeito?

    I build a simple code to play a IP Cam:
    But i have the fallow error:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Category
         at ipcam.PlayerManager.main(PlayerManager.java:115)
    import java.awt.Component;
    import javax.media.ConfigureCompleteEvent;
    import javax.media.ControllerEvent;
    import javax.media.ControllerListener;
    import javax.media.EndOfMediaEvent;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.Player;
    import javax.media.PrefetchCompleteEvent;
    import javax.media.Processor;
    import javax.media.RealizeCompleteEvent;
    import javax.media.ResourceUnavailableEvent;
    import javax.media.SizeChangeEvent;
    import javax.media.protocol.DataSource;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    * @author cassio
    * @since December 2007
    public class PlayerManager extends JFrame implements ControllerListener {
         private static final long serialVersionUID = 1L;
         private Player p;
         private Object waitSync = new Object();
         boolean stateTransitionOK = true;
         public void play(DataSource ds) {
              try {
                   p = Manager.createPlayer(ds);
              } catch (Exception e) {
                   System.err.println("Failure to create the player: " + e);
               * turn on the listeners and realize the player
              p.addControllerListener(this);
              p.prefetch();
              if (!waitForState(Processor.Prefetched)) {
                   System.err.println("Failure to realize the player: ");
              JPanel painel = new JPanel();
              Component cc; // control component
              Component vc; // visual component
              if ((vc = p.getVisualComponent()) != null)
                   painel.add(vc);
              if ((cc = p.getControlPanelComponent()) != null)
                   add(cc);
              this.setContentPane(painel);
              p.start();
              this.setVisible(true);
         public void addNotify() {
              super.addNotify();
              pack();
         private boolean waitForState(int state) {
              synchronized (waitSync) {
                   try {
                        while (p.getState() < state && stateTransitionOK)
                             waitSync.wait();
                   } catch (Exception e) {
              return stateTransitionOK;
          * Controller Listener implementation
         public void controllerUpdate(ControllerEvent evt) {
              if (evt instanceof ConfigureCompleteEvent
                        || evt instanceof RealizeCompleteEvent
                        || evt instanceof PrefetchCompleteEvent) {
                   synchronized (waitSync) {
                        stateTransitionOK = true;
                        waitSync.notifyAll();
              } else if (evt instanceof ResourceUnavailableEvent) {
                   synchronized (waitSync) {
                        stateTransitionOK = false;
                        waitSync.notifyAll();
              } else if (evt instanceof EndOfMediaEvent) {
                   p.close();
              } else if (evt instanceof SizeChangeEvent) {
          * Main program
         public static void main(String[] args) {
              MediaLocator ml = new MediaLocator("http://192.168.0.100:80");
              net.sf.jipcam.axis.media.protocol.http.DataSource ds = null;
              try {
                   // DataSource configuration
                   ds = new net.sf.jipcam.axis.media.protocol.http.DataSource();
                   ds.setLocator(ml);
                   // i'm not using password
                   ds.setUsername(null);
                   ds.setPassword(null);
              } catch (Exception e) {
                   System.err.println("Impossp�vel criar dataSuource para: " + ml);
                   e.printStackTrace();
              PlayerManager p = new PlayerManager();
              p.play(ds);
    }someone has any idea?
    this code can work with an local cam or a local file. you only need to substitute the MediaLocator and the DataSource settings in the main method:
    using jipCam (the current main code):
         public static void main(String[] args) {
              MediaLocator ml = new MediaLocator("http://192.168.0.100:80");
              net.sf.jipcam.axis.media.protocol.http.DataSource ds = null;
              try {
                   // DataSource configuration
                   ds = new net.sf.jipcam.axis.media.protocol.http.DataSource();
                   ds.setLocator(ml);
                   // i'm not using password
                   ds.setUsername(null);
                   ds.setPassword(null);
              } catch (Exception e) {
                   System.err.println("Impossp�vel criar dataSuource para: " + ml);
                   e.printStackTrace();
              PlayerManager p = new PlayerManager();
              p.play(ds);
         }accessing a local device (new main code):
         public static void main(String[] args) {
              MediaLocator ml = new MediaLocator("vfw://3"); //use the jmf registry to see the correct location
              DataSource ds = null;
              try {
                   // DataSource configuration
                   ds = Manager.createDataSource(ml);
              } catch (Exception e) {
                   System.err.println("Impossp�vel criar dataSuource para: " + ml);
                   e.printStackTrace();
              PlayerManager p = new PlayerManager();
              p.play(ds);
         }Edited by: cassioso on Dec 10, 2007 11:25 AM
    add the cod to run as a local application

  • The problem about Java media framework

    Excuse me, How to use Real Time Protocol Vedio with web camera?
    My program can use MIC, but can't found camera?
    Please Help me

    Hi,
    You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
    JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
    The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
    In the simplest case, one line of Java code can solve your problem.
    Good luck!

  • Simulate camera input with Java Media Framework

    I'd like to ask, if there is a way to simulate camera input with JMF?
    I'd like to write a program that registers (somehow) in Windows a new camera device, and I can create a video stream in Java that supplies data of what is "visible" through that "software camera".
    Is it even possible with pure Java (with JMF)?

    Bump!
    The question is sill open and Dukes are waiting.

Maybe you are looking for

  • Encoding Project to HD Quality

    Hello all, We are a small high school in Massachusetts in deep with HD Video...with shallow knowledge of Premiere CS4/Encoding/etc. We are shooting great quality AVHCD video with the new Panasonic HMC-40 Camcorder.(football/basketball games) We have

  • Need help!!!!alot of it

    will some one msn me..please it will be easier to explain [email protected]

  • An error occurred while installing OS X.

    I am getting error message, but no indication of what to do next. Thank you.

  • How to back-up ibook g4 on time capsulef

    Hi, I have a 1Tb time capsule that i use to back-up my mbp with no problems -- runs great and I am very happy with the system. However, I would also like to use time capsule to back-up my wife's mac. She has an ibook g4 and runs mac os 10.4.11 so she

  • RAT Testing

    Hi Our applications are currently hosted on a SAN on HP UX boxes. We have SAN migration from 1 DC to another DC. The hardware infra might remain the same on new boxes. Please advise if we can use Real Application testing for DB performance testing. w