Results 1 to 6 of 6

Thread: Error playing media with JMF

  1. #1
    Join Date
    Mar 2010
    Posts
    162

    Error playing media with JMF

    Hello,
    I just tried to read a media library with the JMF and I have always the following error:
    Code:
    "javax.media.NoPlayerException: Can not find a Player for file: \ C and so on."
    It makes me more kinds of video files (avi, mpg), so I do not think it comes codecs (but I may be wrong). If I try on my computer pro, it works. If you have any idea about this error then please give me a solution for this. Any help is appreciated. Thanks in advance.

  2. #2
    Join Date
    Nov 2009
    Posts
    335

    Re: Error playing media with JMF

    Hello,
    I think JMF is a very limited number of codec read (no DivX for example). You must use a native extension to read the vast majority of codecs, such as Fobs4JMF for example. More more information on the same you can visit their official site, but I still think that if you are trying to use the Java Media Framework then you will be with a lot of low class libraries. You can try the alternative it will really help you.

  3. #3
    Join Date
    Dec 2009
    Posts
    296

    Re: Error playing media with JMF

    Hello,
    I am also think to use the JMF library, for a week now I am trying to use the JMF library but now you have said that it contains very few class libraries, so I will try the alternative that you have mentioned in your post. If this helps then well and good , if not then I will post back with the problem I get. Also, if you have an alternative to this then you can post I am the interested one here. Thanks in advance.

  4. #4
    Join Date
    Mar 2010
    Posts
    162

    Re: Error playing media with JMF

    Hello,
    I added the lib Fobs4JMF (So now I know why I was reluctant, it was actually already), but it changes nothing. I read that Fobs4JMF "added" to jmf, which would then mean that I do not need to change my code, or else I misunderstood? In this case, where can I find the doc on Fobs4JMF? Otherwise, if I understood correctly, then I am not advanced. If someone has an idea ... In any case it would be great. Thanks in advance.

  5. #5
    Join Date
    Dec 2009
    Posts
    213

    Re: Error playing media with JMF

    Hello,
    I am also looking for the same, I try to follow, but there is always something that goes wrong, I installed JMF, but it refuses to add me items (I have always this damned "could not add item" displayed) . In searching the net, all I found is the walkthroughs for linux (obviously, we must add the environment variables, but I can not read the code linux), or else ... change codecs (which, if any, will not solve my problem). So, any help on this topic will help me.

  6. #6
    Join Date
    Nov 2009
    Posts
    359

    Re: Error playing media with JMF

    Hello,
    I think, I understand what you can not do. When you install Fobs, it seems to me that you create a test project (like the one installed with JMF) which allows you to precisely whether the installation is correct or not. It is (from memory: ca will make 4 years since I've touched more!), Add a line in a properties file (or a configuration file from another format) to indicate to use JMF Fobs for the unrecognized codec. We must add in your classpath the jar library Fobs, and we must add the native dll (on windows so) in the Windows system folder, or otherwise add to the PATH environment variable the path of this dll.

Similar Threads

  1. Replies: 5
    Last Post: 07-03-2012, 02:46 AM
  2. Error while playing h.264 media Boxee Box Media Streamer
    By Clarice in forum Portable Devices
    Replies: 4
    Last Post: 13-10-2011, 08:57 AM
  3. VLC media player is not playing MPG
    By Bull50 in forum Media Player
    Replies: 3
    Last Post: 08-02-2011, 11:03 AM
  4. Replies: 6
    Last Post: 07-01-2010, 11:50 AM
  5. Playing media using C programming
    By Balamohan in forum Software Development
    Replies: 3
    Last Post: 02-12-2009, 06:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,663,528.50568 seconds with 17 queries