JMF on Macbook under OS/X Tiger?

I'm trying to create a webcam-using app using JMF, and for the first time in my life I'm writing a nontrivial program that actually needs to run on a Mac (recent-vintage Macbooks running OS/X, in particular). I have a couple questions about it (and Java in general ) on Macbooks...
1. Is there a concise web site/whitepaper/tutorial somewhere aimed at showing experienced PC Java developers how to build executable Jarfiles suitable for running from a Mac shell prompt that goes into details like what's part of OS/X, what has to be installed separately, where things actually get installed, etc?
2. What's the Macbook webcam's video-source name? For example, on my PC, it's "vfw://0".
3. Is JMF already installed by Apple, or does it need to be downloaded & installed from Apple or Sun?
4. Is it safe to assume that the Mac's implementation of JMF supports H263_RTP?
5. Is it safe to assume that any Macbook made within the past two years is going to be at least as fast as a notebook w/1.6GHz Pentium M, 2 gigs of ram, running Vista?

Well, it's been a depressing morning. Apparently, JMF on a Mac can't encode h.263 video at all, let alone in realtime. Sigh.
Is there any thirdparty native video codec (free or otherwise) that can be wrapped up so that JMF thinks it's one of its natively-supported RTP codecs and used instead of H263RTP at both the Mac and PC ends? I have a hunch that it's probably possible, if not easy, to do under Windows (assuming there's a JMF wrapper that can work with any DirectShow-compatible codec), but I have no idea at this moment whether there's anything comparable to DirectShow in the OS/X universe. Is there?

Similar Messages

  • I cannot print after updating my MacBook Pro from OSX Tiger 10.4 to OSX Snow Leapord 10.6.  Can anyone help me?

    I cannot seem to print after updating my MacBook Pro from OSX Tiger 10.4 to OSX Snow Leapord 10.6.  Can anyone help me?

    Try re-adding your printer in System Preferences/Print & Fax. Not sure what type of printer you have, but if it was old and relying on an Appletalk connection, Snow Leopard dropped that support.

  • When lock My MacBook under Maverick i want to prevent Display sleep. How to to this?

    When lock My MacBook under Maverick i want to prevent Display sleep. How to to this?

    I agree this is works when MacBook is locking after some time. Once I press keyboard shortcut to lock, Display also is set to sleeping mode, So question is how to prevent this in this case?
    Thank you!

  • Speedport 900 wireless w/ macbook under windows xp and 10.5.2

    I have a mackbook dual boot. When I book in 10.5.2 the wireless connection with a speedport 900 is erratic disappearing at times. If I re boot the macbook under windows XP.....the signal is strong and does not waver....seems like 10.5.2 may not be such a good idea in this area, right???

    I have been using the 597e for about a month now. One thing I have found almost consistently is that using the 'Watcher Lite' Software seems to give me a 20% - 30% slower connection than just connecting with the network console. I don't even bother to use it anymore. I am not sure why this is....but there has never been a time where it showed me an advantage to use it.

  • DrawRect method called more often under Leopard than Tiger?

    I have 2 identical versions of a graphics app, one compiled with Xcode 2.5 on a PPC running 10.4.11, the other compiled with Xcode 3.0 on a MacBook Pro running 10.5.6. Running the app under Leopard, the -drawRect method of my custom view is called every time I change focus. This results in excessive, unnecessary redraws. Under Tiger, this does not happen. Any ideas as to what's happening under Leopard that's different than running under Tiger? And how can I suppress the excessive redraws under Leopard?

    They're not identical if they're built in completely different environments. Look at the stack traces and see why it's being invalidated.

  • JMF code working under linux but not windows XP

    Hello everyone,
    I'm currently working on a nice cross-platform project involving sound producing. I decided to take a look at JMF and test it a bit to know if its features can suit me. I tried to make it works under windows, using a very simple sample of code. The system seems to play the sound as some console output detects the start and the end, but all i hear is a very short noise ( 1/2second ) like a "CLIK" and nothing else. I tested the code under linux, using the same computer and it works just fine, playing the same wave nicely and entirely.
    some info:
    -i used the cross platform JMF, no performance pack ( i tried it , but still no result )
    -the code just opens a file dialog and plays the selected file
    -the selected file was always a very simple .wav
    -i did not use system classpath variables because i don't like it, i rather use local classpath ( which works fine too, no doubt about it )
    -i tested this little soft on 2 other computer using windows XP, and still got the same result.
    Please, have you got an idea about what's going on ?
    Thanks a lot for any answer!
    Maxime - Paris . France
    Code Sample:
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import javax.media.*;
    import javax.swing.JDialog;
    import javax.swing.JFileChooser;
    import javax.swing.JOptionPane;
    public class JMFSound extends Object implements ControllerListener {
         File soundFile;
         JDialog playingDialog;
         public static void main (String[] args) {
              JFileChooser chooser = new JFileChooser();
              chooser.showOpenDialog(null);
              File f = chooser.getSelectedFile();
              try {
                   JMFSound s = new JMFSound (f);
              } catch (Exception e) {
                   e.printStackTrace();
         public JMFSound (File f) throws NoPlayerException, CannotRealizeException,     MalformedURLException, IOException {
              soundFile = f;
              // prepare a dialog to display while playing
              JOptionPane pane = new JOptionPane ("Playing " + f.getName(), JOptionPane.PLAIN_MESSAGE);
              playingDialog = pane.createDialog (null, "JMF Sound");
    playingDialog.pack();
              // get a player
              MediaLocator mediaLocator = new MediaLocator(soundFile.toURL());
              Player player =     Manager.createRealizedPlayer (mediaLocator);
    player.addControllerListener (this);
    player.prefetch();
    player.start();
    playingDialog.setVisible(true);
         // ControllerListener implementation
         public void controllerUpdate (ControllerEvent e) {
    System.out.println (e.getClass().getName());
         if (e instanceof EndOfMediaEvent) {
                   playingDialog.setVisible(false);
                   System.exit (0);
    Message was edited by:
    Monsieur_Max

    Hello everyone,
    I'm currently working on a nice cross-platform project involving sound producing. I decided to take a look at JMF and test it a bit to know if its features can suit me. I tried to make it works under windows, using a very simple sample of code. The system seems to play the sound as some console output detects the start and the end, but all i hear is a very short noise ( 1/2second ) like a "CLIK" and nothing else. I tested the code under linux, using the same computer and it works just fine, playing the same wave nicely and entirely.
    some info:
    -i used the cross platform JMF, no performance pack ( i tried it , but still no result )
    -the code just opens a file dialog and plays the selected file
    -the selected file was always a very simple .wav
    -i did not use system classpath variables because i don't like it, i rather use local classpath ( which works fine too, no doubt about it )
    -i tested this little soft on 2 other computer using windows XP, and still got the same result.
    Please, have you got an idea about what's going on ?
    Thanks a lot for any answer!
    Maxime - Paris . France
    Code Sample:
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import javax.media.*;
    import javax.swing.JDialog;
    import javax.swing.JFileChooser;
    import javax.swing.JOptionPane;
    public class JMFSound extends Object implements ControllerListener {
         File soundFile;
         JDialog playingDialog;
         public static void main (String[] args) {
              JFileChooser chooser = new JFileChooser();
              chooser.showOpenDialog(null);
              File f = chooser.getSelectedFile();
              try {
                   JMFSound s = new JMFSound (f);
              } catch (Exception e) {
                   e.printStackTrace();
         public JMFSound (File f) throws NoPlayerException, CannotRealizeException,     MalformedURLException, IOException {
              soundFile = f;
              // prepare a dialog to display while playing
              JOptionPane pane = new JOptionPane ("Playing " + f.getName(), JOptionPane.PLAIN_MESSAGE);
              playingDialog = pane.createDialog (null, "JMF Sound");
    playingDialog.pack();
              // get a player
              MediaLocator mediaLocator = new MediaLocator(soundFile.toURL());
              Player player =     Manager.createRealizedPlayer (mediaLocator);
    player.addControllerListener (this);
    player.prefetch();
    player.start();
    playingDialog.setVisible(true);
         // ControllerListener implementation
         public void controllerUpdate (ControllerEvent e) {
    System.out.println (e.getClass().getName());
         if (e instanceof EndOfMediaEvent) {
                   playingDialog.setVisible(false);
                   System.exit (0);
    Message was edited by:
    Monsieur_Max

  • How can I register my daughter's Macbook under my name?

    We have three machines, a 21 inch IMAC, a 27 inch IMAC and a Macbook Pro. The two IMACS are registered under my Apple ID, along with two ipods. The Macbook Pro is not showing up. We can't remember if we registered at setup.
    1. How can you tell if a machine is registered by looking at the OS?
    2. If it was registered under HER name, how can I change it?
    The reason I ask is because I want to upgrade all three machines to Lion, and I obviously only want to pay once (for the USB - download option too slow) on an understanding the USB upgrade is good for three licences provided they are all under the same name?
    Cheers.

    1. How can you tell if a machine is registered by looking at the OS?
    You can't; there is nothing recorded on your system that has anything to do with product registration.
    2. If it was registered under HER name, how can I change it?
    You can't, and you don't need to. The only time that you would need to change registration information is if you have an active AppleCare warranty, or you purchased a previously owned product from an authorized reseller. Otherwise, Apple doesn't care.
    If you want to see if and how any of your Macs are registered, you can go to http://register.apple.com and enter the information asked for, and that will show you what products you have registered under your AppleID, and when.
    As long as all those Macs are in your home, and your daughter lives there (or you bought it for her), Apple really doesn't care whose name it's registered under; they're all in your immediate family at your home.

  • Leopard on my MacBook Pro but need Tiger for certain apps...

    I want to load Leopard onto my MacBook Pro but I need Tiger in order to run Pro Tools. I'd like to install Tiger on a 400FW external drive.
    Not sure how to do this and don't know if the 400 is fast enough to run the operating system.
    Any ideas on how to get Tiger onto my ext. drive?
    Many thanks.

    You want the drive to be "bootable" so you need to format it as a GUID partition to boot intel Macs or as an APM partition to boot PPC Macs. You will not be able to "split" the drive. In other words, you cannot create a GUID partition and an APM partition on the same drive. Whichever way you go, either platform will be able to read the drive but only one will be able to boot from it. Your choice.

  • Any good dot matrix printers for macbook pro w/ osx tiger

    anybody got any good advice on a compatible dot matrix printer for a macbook pro running osx 10.4 tiger. want to print about 30-2 part time cards per week with excel or filemaker pro 9.0 and having a hard time finding current info on compatibility. want a reasonably priced printer which is useful without a whole lot of technical wizardry involved!

    Check out the Okidatas too...
    https://www.thenerds.net/index.php?page=esearch&action=Query&keyword=&m=1314&c=1 0030052400600&vam=1&limit=20&sort=0

  • MacBook PRO very slow Tiger performance

    dear all,
    I have seen this topic many times but unfortunetly none of the tips mentioned has solved my issues.
    Basically I am running OS X Tiger on a Mac Book PRO with 1G of RAM.
    CPU wise, no problem, as far as I can see the usage is 30% CPU on average.
    RAM wise, about 70% of the RAM is in use.
    Now, when I use usual OS X application, the whole systems becomes very slow, for example I have a few (2 or 3) text files open with SubEthaEdit, one terminal window open with just a SSH connection to another machine, and then the regular apps like itunes, Mail, Safari, Address Book, Calendar, Transmit and AdiumX running as well as a few widgets like Clock, Calculator and the Stock Market quotes.
    Now, for example when I put my mouse on the Dock, it fails to respond immediately, taking a few seconds to actually display the app name.
    More over, if for example a Terminal window is down in the task bar and I click on, it sometime takes 10 seconds to come up.
    Same with Adium, I click on one of my contacts, it takes 10 / 20 secs to display the chat window, and if I am lucky I can start typing in it.
    Generally, just after a boot, the system is fine, but as soon as I start a few applications, the systems becomes very slow, even sometimes fails to respond.
    One particularity is that I work with a Japanese username under a English OS X, as far as I know, this shouldn't be a problem.
    Other thing is that I enabled the OS X firewall, but I am still experiencing the same issue when not connected to any network.
    I hope those are enough informations concerning my issue, one more detail is that I did disable startup items and check if no extra deamon was running on the system (I did Repair my disk permission as well)
    If anyone has an idea on where to check next and what could cause this slowdown issues, that would be great.
    Thanks in Advance!
    Alexis
    MBP 2Gz 15"   Mac OS X (10.4.6)  

    20 GB of swap? something is definitely wrong. I run more applications than you, which are more memory-intensive, and my swap never goes above 512 MB. Granted, I have 1.5 GB of RAM, but still...
    Putting swap on a different partition of the same disk won't help at all. The bottleneck is still disk I/O, plus now the heads of the hard disk must seek farther to go between swap and reading/writing your actual data.
    I would open your applications one by one, from a fresh boot, and see which one eats up all the memory. 20 GB is an obscene amount, and points to a problem.
    Edit: I checked again. Menumeters says I'm using 256 MB of total swap space right now, but in Activity Monitor my VM size is listed as 5.46 GB. I'm assuming that's what you're looking at in Activity Monitor. Still, 20 GB of VM size seems obscene to me.

  • Can't see MacBook under Manage Devices in Apple ID?

    I would like to add my MacBook Pro with Retina Display under iTunes in the Cloud under Account Information in iTunes Store, but can't seem to be able to. Or is there any way I can associate my MacBook with my Apple ID so it appears in my Apple ID information?

    From http://support.apple.com/kb/HT4627 :
    When you turn on iTunes Match or Automatic Downloads, or when you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID. This article describes how to manage these associations.
    If that works then your Mac will be tied to your account for 90 days.

  • VBR different under Leopard and Tiger

    I re-encoded my iTunes library using the import settings for 256kbps VBR. This was all done a few weeks back and all of the tracks show as having a bitrate of 256. Now I upgraded to Leopard and imported 4 more CDs and they all show values on the tracks from 263-287kbps. The strange thing is, iTunes is the same version 7.4.2 under Tiger and Leopard. Did my library not encode in VBR or was iTunes under Tiger just showing the bitrate setting? My ears can't tell the difference anyway, but it does seem odd.

    I had to do a erase and install with leopard and it required a reinstall of ilife.
    I went into Preferences to change items and in advance the AIFF encoder no longer gives you the option to get a higher rate: ex: 128 to 320 .
    It now says All Automatic !!
    have you noticed that ??
    What is automatic and why can we no longer control the import rate ???
    Any ideas ??
    Unless I am missing something.
    greg

  • Can't play Starcraft in local netw. with my MacBook under Windows

    Hi all,
    I am experiencing a really strange problem. I have installed Windows on my MacBook with Bootcamp 1.3 and I tryed to play Starcracft with some friends in my local network. We all had the same version of the game; the strange thing is that I can see the created game but I cannot join it ("Unable to join game"). I have tryed Starcraft forums and did not find anything that could help. I think it might be the network card's drivers but I am not convincend about that. Could it be an incompatibility? or is there some kind of patch for Machintosh computers?
    Thanks,
    Stefan

    *"I have installed Windows on my MacBook with Bootcamp 1.3 "*
    then you'd be better off posting your qeustion in the boot Camp discussions:
    http://discussions.apple.com/forum.jspa?forumID=1165

  • Slow internet connection via AirPort on MacBook under 10.5.7

    The internet connection via AirPort on my MacBook is frustratingly slow, and I have no idea why.
    I have an AirPort Extreme connected to a Virgin Media cable modem, a new iMac and a two year-old MacBook, both running 10.5.7. No problems at all with the wireless connection on the iMac - I get the full near-10Mbps download speed I'm paying for, despite the fact it's at the other end of the house. Not so on the MacBook, where I get barely 2Mb, even if I'm sat next to the router.
    I've had other AirPort problems since the 10.5.6 update - notably one common to a lot of people on here, it seems, of the AirPort dropping the wireless connection every 2 mins. This was only 'fixed' by the fairly drastic workaround of essentially abandoning my user account and connecting via a different one.
    For the slow internet problem, I've tried resetting the PRAM, turning off my cordless landline phone, changing the wireless channel - to no avail. I can't test the wired connection as my MacBook doesn't recognise my Ethernet port, it would seem, and hasn't for a long time.
    Can anyone help? Thanks in advance.

    help...same here (mostly)
    eight core macpro on the same wireless network (10 feet from extreme base station) as my macbook pro (2008 top of the line)
    everything updated. the macpro is just fine with the internet, the macbook pro is horribly slow.
    tried downgrading firmware on the airport...no difference.
    help!!
    Message was edited by: leino88
    Message was edited by: leino88

  • Mouse tapping for old macbook under bootcamp

    i know that the new macbooks have no click button at all and is able to have tapping for clicks. i am wondering if this is possible for the older generation macbooks with button? a patch of some sort? thanks

    Nope, it's one of the oldest feedback items for Bootcamp...no tap to click yet on the Windows side.

Maybe you are looking for

  • Discoverer Views not Working in Accounts Receivable Business Area

    Discoverer Instance: OracleBI Discoverer Version 10.1.2.54.25 Database: Oracle 10G Apps Version: R12 Problem: Related to our EUL for Apps Description: A lot of views in the AR Business Area depend on views that are created with synonyms that have VPD

  • Executable JAR file: Could not find the main class.

    Hello, I have a problem with making an executable JAR file. I have written a JAVA program that consists of five different classes of which User.java is the main class and I have saved a text document with Main-Class: User and a blank line after that.

  • HP Office Jet Pro 8600 Plus 910 n printer driver does not install on a windows server 2008R2 OS

    I recently had a new server installed, a Proliant with a Windows Server 2008R2 operating system. I now just discovered that my All in One Office Jet Pro 8600 Plus A 910 will not install on the Windows Server 2008 R2, ïncompatible operating system. Do

  • Best battery practices?

    I'm interested in making my Touch battery last as long as possible. It's suggested, at minimum, to cycle the battery once a month to make sure it's in good health. What's the optimum method for maintaining the health of your battery? Cycle a minimum

  • Video equipment question

    Greetings all. Please let me apologize in advance, this is NOT a strictly FCPX question. That said, I am hoping for some advice or perhaps an idea of where to go to get it from this group of experts. I am a long time FCExpress user who has recently m