What do I put in jar with my media player application to distribute?

Hi,
Can anyone point me in the right direction on how to package my media player application with the JMF library jars?
I am trying to package my MediaPlayer application with the JMF lib jar files so that the application can run without having to install the Java Media Framework. I have unjarred all the jar files and put my code with the library files, then rejarred the whole thing as an executable jar file with the Manifest pointing to the main class.
The application will launch but will throw an error that the format of the test.avi is not supported. When the Java Media Framework is installed, it will run. So somehow I am not setting up the jar file correctly.
thanks in advance

Hello,
I think that maybe there's nothing wrong with your jar. If you don't install jmf, it will not find the codecs.
"Q: What is JMF Registry?
JMF 2.1.1 maintains a registry of available plugins, package prefixes and other settings in a file called jmf.properties. This is a binary file and should only be modified using the provided JMFRegistry application. This application is a part of the JMF 2.1.1 jmf.jar file and can be run as "java JMFRegistry". It requires that you have Swing-1.1 in your CLASSPATH (or you can use JDK 1.2 or later). "
I suppose JMF searchs for the codecs in the jmf.properties. If you don't want to install JMF, try to add only the jmf.properties to your classpath, or keep it in the same directory of your jar.
Hope it helps.
ANeto

Similar Messages

  • What operating system smartphone is compatible with Adobe Flash Player?

    What operating system smartphone is compatible with Adobe Flash Player?

    Hello,
    Flash Player is no longer supported on mobile devices.  With that said, you can manually install the last supported version of Flash Player for Android devices using the instructions here "Why can't I install Flash Player on my Tablet?" (Kindle or Samsung Galaxy). Do note that this is very old and has not been updated with any security fixes.  This FAQ offers some alternatives to Flash Player on Android devices.
    Maria

  • Problem with Windows Media Player since installing Firefox 4.0

    Problems with Window Media Player. When I am using Windows Media Player to view a video from another source I am having problems. When I hit pause and then go back to hit play it does not have any sound. The player is not on mute and it keeps going from pause to play with no sound most times. Please help. Thank-you. I have Windows Vista programs.

    What can I do to get the Windows Media Player to work properly?

  • Problem with Windows Media Player -- saving, transferring

    Operating system:   Windows 7 Home Premium       
    Product: HP Pavilion P6000 Series
    Windows Media Player
    Copy short videos onto a thumbnail drive from a different computer running Windows 7 with Windows Media Player.    Thumbnail drive accepts files, lists and can play back fine on same computer.    Take thumbnail drive to different computer also running/using Windows Media Player & Windows 7, and playback only plays back audio -- no picture.  What am I doing wrong? 

    As WMP is not a DVD player, my suggestion would be to tell your clients to never use WMP.All our DVD discs go out with a warning not to allow WMP to be used.
    In most computer setups, WMP does not play back video correctly as it does not have an MPEG codec installed, or has navigational problems.
    All computers that have a DVD drive fitted, will have a dedicated DVD software player installed, such as Win DVD or Power DVD, so why not use that?

  • Safari with Windows Media Player cannot use PHP as filename/src/url

    I'm running Windows XP Pro SP2 with Windows Media Player 11
    and Safari 3 public beta. In addition to being the absolute
    slowest browser among MSIE, Firefox, Netscape, and Opera, the
    Safari browser has two annoying WMP defects.
    1) Even with WMP 11 installed, the code below for embedding
    can use either the classid for WMP v6.4 or v7+ but Safari
    (or rather it's plugin) always displays a v6.4 looking UI.
    All other browsers display the media player using the v11 UI
    2) Safari will not download the movie if the "filename" param
    is a web url (e.g. getmovie.php?select=1234 ) rather than the
    precise name of the movie file itself (e.g. "movie.wmv"). The
    other browsers may differ in use of the param name="xxxx", where
    xxxx is "filename" or "src" or "url" or "data" ... but Safari
    will not work using any of these.
    Has anyone successfully embedded a WMP object that uses the
    URL as a PHP page (or other server-side script) ? I have already
    my server-side PHP code that works perfectly for MSIE, Firefox,
    Netscape, and opera. Safari is the only problem browser.
    ------------------------CODE------------
    //Media Player v6.4
    // CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
    //Media Player v7,9,10,11
    // CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6
    <object id="MediaPlayer"
    classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    type="application/x-oleobject"
    height="300" width="300"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab #Version=6,4,5,715"
    standby="Loading Microsoft Windows Media Player components...">
    <param name="url" value="http://www.yourdomain.com/movie.wmv">
    <!-- For other browsers * Windows Media Player -->
    <!--[if !IE]> <-->
    <object type="application/x-mplayer2" height="300" width="300">
    <param name="filename" value="http://www.yourdomain.com/movie.wmv">
    </object>
    <!--> <![endif]-->
    </object>

    I have run into several issues pointing to what you are describing...
    I fixed my Safari by installing the WMP plugin. I am able to view visualizations embedded into a webpage, one of which I created...I am able to view videos and so on.. Before I installed the plugin, All that would load is a place holder which looked like the old WMP and would not function properly. However this is what is displayed beside the media which is embedded.
    I think that I got the plugin by going to the download page for Safari and looking for plugins. Funny thing was that the plugin that I installed was the one for Firefox on its site that nobody every installs because Firefox gets the plugin if you already have WMP11 installed. Anyway this should solve your problem...with most..
    I have noticed just now that PHP served links or applications which launch in their own window and are protected by PHP script do work but still display a lack of functionality showing the Version 6.4 that you are speaking of. I checked it out using the KDGE Live Stream which opens another window, and displays version 11 properly ( in other browsers ), the link which is served is also protected and will close any media player that tries to play it on its own. It soley depends on the script which is coded into the page or window for the player. I can see this method as useful for a corporation as large and well advertised as ClearChannel Productions, because of the lack of bandwidth and cost to the company. Several sources do this and it winds up being an issue for the website administrator and designers to take care of, or update the script, or the person who has written the plugin, which could be from a number of resource; this particular instance would be the author of the WMP Plugin for Firefox.
    For any other purpose though the plugin I mentioned above should get rid of ( MOST ) of that problem.
    http://www.apple.com/safari/download/plugins.html
    Message was edited by: heath28m
    This is also a good link for sources and coding issues when embedding WMP.. Hope some of this helps..http://www.codingforums.com/showthread.php?t=50666&page=39
    Message was edited by: heath28m

  • Content Engine compatability with Windows Media Player

    I am currently running ACNS version 5.5 on our CE510 Content Engine. We want to set this box up to serve VOD requests from WMT. I think the clients on site are all using Windows Media Player version 10. Does this version of ACNS software work with Windows Media Player 10?

    Dan
    this brings up an interesting point. The content (which is canned Video on an Intranet Web site) is HTTP? I am wasting my time here by trying to use the Windows MP services?? Perhaps I already have what I need...
    Your comments appreciated.
    Kevin

  • Problems with songs i downloaded with windows media player!!!!(zen tou

    If I try to play songs i downloaded with windows media player My zen touch(20Gb) freezes and won't shut down:angry:. I have downloaded the latest firmware so that can't be the cause of the problem.
    Can someone tell me what I can do about that.
    btw I don't have problems with songs downloaded with creative's media source
    Message Edited by Lt_chill on 07-08-2005 09:24 PM

    If you mean you subscribed to iTunes Match, you have to import your music into your iTuens library in order to add it to iTunes Match.  iTunes Match (and iCloud) only works with iOS devices and computers.  It won't work with your iPod Classic; you'll have to sync that with iTunes in order to add your music.

  • Satellite A105-S2101 - Can't watch DVDs with Express Media Player

    I got this Satellite A105-S2101 notebook computer, and the LCD blew out on me within 2 years.
    Luckily, I can still make use of the VGA, and S-Video outputs, but it may as well be a desktop PC now. Anyway, I just wanted to add that because of this problem, I no longer am able to watch DVDs with Express Media Player because it wont accept VGA or S-Video as defaults just my busted-up, good-for-nothing, always blurry anyway LCD.
    It's only when I am in Windows mode that I can toggle to an external monitor.
    The reason I write is, if there ever was a need to add anything for an update to EMP--now's the time and that would be something to add to it. What the heck?

    Hi
    I think the Express Media Player does not run in Windows mode
    I mean it's not neccessary to run the Windows OSin order to run Express Media Player and therefore the video output does not work in connection with EMP.
    I think you will have to use an Windows based software player VLC player is very nice. I use it too its small, free tool and you can play almost all files audio and video.

  • Creative Zen V Plus won't sync with Windows Media Player 11?

    My Zen V Plus won't synchronize with Windows Media Player . I plug it into the USB, then an error message pops up in WMP that says "WMP has encountered a problem and needs to close" but if I just move the window aside WMP works fine. I then click 'sync" and it says "preparing to sync" but doesnt move beyond that. I have synced with WMP before, this problem has recently started occurring. I have all the firmware updates on my player, I don't know what is causing this problem.

    Stricker: As our disclaimer on several different parts of this forum and the register/sign up page states:
    [color="#FF0000">
    "These forums are primarily intended for user interaction. Read more."
    The moderators and administrator can not do technical support here, we are only here to enforce the rules (like not cursing.)
    Gi'ven the problem you describe, it would seem your best bet at this point would be to contact Customer Support. I doubt there is much the users here could help you with given your problem. If email support hasn't answered, did you get the automated reply? If so, did you reply to it's You won't get an advisor till you reply to the automated email, otherwise it is assumed the automated system solved your problem.
    Good luck,
    DaleMessage Edited by Dale-CL on 04-6-2007 0:43 AM

  • Export options for use with Windows Media Player

    In Captivate 5, what formats can be exported to (now that AVI is no longer a choice) that will work with Windows Media Player? Unfortunately a Flash based file is not an option in this instance.

    Hi there
    You could publish from Captivate as FLV or F4V, then use a conversion utility to convert to AVI if you want.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • I formatted my muvo nx 128mb with windows media player, i need he

    i accidentally formatted my player with windows media player, i cannot open it now, it doesnt show anything on my lcd when im trying to open it. my computer detected it when it is hooked to usb port but it does not show up on my windows explorer. will someone help me, pls! thanks in advance.

    Mr. jason,
    Thank you for the assistance ,sir but the problem is still there. I downloaded the driver and firmware, i did what you have told me. my muvo appears in my explorer but when the firmware scans for the hardware its doesn't find the muvo. thanks in advance hoping you can send me another help.
    xeanastin

  • While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this?

    While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this? Reinstalling the application does not clear the error, so I'm assuming the association is somewhere in Firefox.

    Never mind -- I just found it under Tools/Options.../Applications, where I changed the incorrect association of "nlmcp" from Windows Media Player to the correct one, NetLibrary Media Center. Done!

  • How do i sync my ipod with windows media player?

    how do i sync my ipod touch 4 generation 8gb with windows media player?

    123abcshay wrote:
    how do i sync my ipod touch 4 generation 8gb with windows media player?
    An iPod Touch will require iTunes.
    Stedman

  • Viewing iMovie file with Windows Media Player

    Is it possible to convert an iMovie file to allow viewing on a PC with Windows Media Player? Unable to use Quicktime on the PC due to unique reason while on mission.

    RobbieSnr wrote:
    AppleMan1958 wrote:
    You will need [Flip4Mac|http://www.telestream.net/flip4mac-wmv/overview.htm]
    I have a similar problem, which is that I want a Windows user to be able to view my iMovie file using Windows Media Player. I have Flip4Mac on my Mac but isn't that for converting the other way around - for viewing a Windows Media Player file on a Mac?
    Sorry, I see that there is a Studio version that allows conversion to wmv - I only had the free basic version for Flip4Mac - should have looked more closely at the website!

  • Can i sync with windows media player?

    Am i able to sync music to my ipod with windows Media player? or do i have to use itunes?

    iPods are only compatible with iTunes.

Maybe you are looking for