Menu

Problem realizing JMF player

user
2006-04-12
2013-05-09
  • Nobody/Anonymous

    Hello everyone !

    Here is my problem :

    When I start my application and I create a realized player (using Fobs4jmf), I got in the console this
    message :
      Fobs4JMF - Native shared library found
      1454.75First Position: 0, 41 Duration: 1454747
      Frame Rate: 23.9791

    And then nothing... my app wait but nothing come.

    I'll try JFFmpeg and it works but I got performance problem and people told me to use fobs
    so if someone could help.

    Thank you.

     
    • Nobody/Anonymous

      I forgot to say that I use jdk 5 on kubuntu and that
      i develop with eclipse.

       
      • Jose San Pedro

        Jose San Pedro - 2006-04-16

        Hi,

        have you tried running the JMStudio version included in the fobs package? This could help to guess if there's some incompatibility with your linux or jdk distro or it's just some buggy code in your app. I'm perfectly capable of creating and realizing a player both in Win and Mac, but haven't tried Linux yet.

        Cheers,

        Jose San Pedro

         
    • Nobody/Anonymous

      Hi,

      Have you tried FOBS 0.3? Using FOBS 0.4 and Java5, I can only get it to work on Mac OS X, it fails in Windows 2000 and Linux (Gentoo and SUSE).

      With FOBS 0.3 / Java5, it works across all three platforms.

      As Jose suggested, try the JMStudio app that ships with FOBS.

      Dawid

       
    • AkeSha

      AkeSha - 2007-08-25

      Hello.

      I have the same problem. And I tried the JMStudio app that ships with FOBS and it works OK.
      So I don't understand what it is wrong.

      File f = new File("/Users/xxxxx/Movies/BattlestarGalactica/BG_3x18.divx"); 
      MediaLocator ml = new MediaLocator(f.toURI().toURL()); 
      Player player = Manager.createRealizedPlayer(ml);
      PlayerWindow pl= new PlayerWindow(player);
      player.start();

      I tried this code, and everything is ok, but it doesn't do anything.

      I tried with createPlayer too, and then I have this error:
      Fobs4JMF - Native shared library found
      2561.64First Position: 0, 40 Duration: 2561640
      Frame Rate: 25
      java.lang.NullPointerException
          at com.omnividea.media.content.unknown.Handler.syncStart(Handler.java:74)
          at com.omnividea.media.content.unknown.Handler.start(Handler.java:140)
          at kpimedia.PruebaVideo.<init>(PruebaVideo.java:28)
          at kpimedia.PruebaVideo.main(PruebaVideo.java:113)

      Can anybody help me please????

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.