Is JMF any good if I simply want to find out playback durations?

Hello.
I created a little tool for dealing with playlists of audio tracks. For the user's convenience I display all entries of a playlist in the GUI's JTable, where title and duration of each audio track are listed.
Of course a user would like to add audio tracks to an existing playlist. So when the user selected a track to add, the application should try to get the song's title (meta data) and the duration.
Obtaining the duration of a clip is my problem. Is it better to take the JMF for getting playback duration or to implement everything from scratch. My application is not meant to play audio at all, so most of the JMF would be useless for me. But parts of the framework seem to make it quite easy to get playback durations.
What do you think?
Wan-Hi
P.S.: My program is supposed to recognize WAV, AU, AIFF, MP3, OGG and AAC formats.

JMF isn't a great option for that. It's large, problematic to install, slow to open files, and doesn't support all those formats. QuickTime for Java would support most of them, but it's even bigger and slower. It will take some leg work, but you can probably find most of the pieces you need in free and open source code.

Similar Messages

  • Where is the bookmarks stored? I Install the Firefox once again since I upgrade my computer.Is there any folder just like "favourite"to store the html file? I really want to find out the bookmarks because actually i can't remember all the website that ar

    Where is the bookmarks stored?
    I Install the Firefox once again since I upgrade my computer.
    And I try to move the bookmarks from the old computer to the new one.
    But I can't find anyone of them.
    Is there any folder just like "favourite" to store the html file?
    I really want to find out the bookmarks because actually i can't remember all the website that are important to me~ URGENT!!!~THANKS~

    You can move file named places.sqlite from your old profile to the new one. It contains bookmarks and browsing history.
    Here's a knowledge base article about it: [[Recovering important data from an old profile]]
    If you don't care about saving your current bookmarks, you can skip creating new profile (Firefox does it by itself at first run anyway).
    I'd might suggest you to install addon https://addons.mozilla.org/en-US/firefox/addon/2410/|Xmarks Bookmark and Password Sync]. It is a free web service which synchronizes bookmarks and (optionally) passwords with central server, and then to other computers, if you installed it on more. You may treat is as a backup too.

  • I am making a graduation video for my cousin using Final Cut Pro. I have photos layered over videos, and I was wanted to find out how you can add a border around the photos so they stand off of the video. Anyone know what I could do?

    I am making a graduation video for my cousin using Final Cut Pro. I have photos layered over videos, and I was wanted to find out how you can add a border around the photos so they stand off of the video. Anyone know what I could do?

    You would need an image editor to edit the images and add a border to the image first before importing them into Final Cut.
    Cheapest and very good image editor?
    PIxelmator.
    Located in the Mac App Store. $14.99 USD.
    Here is the Pixelmator website to give you an overview of the app.
    http://www.pixelmator.com/
    Good Luck!

  • I want to find the difference(duration) between logon and logoff time?

    i want to find the difference(duration) between logon and logoff time of below table?
    can any one tell the query to find using self join?
    USR     LOGON_TIME     LOGOFF_TIME
    HR     31-AUG-04 03.04.04.000000 AM     -
    HR     - 31-AUG-04 03.04.14.000000 AM
    Edited by: 794244 on Nov 1, 2010 10:47 PM

    No selfjoin, just analytical functions.
    CREATE TABLe log_time
    (username varchar(20),
    LOGON_TIME timestamp,
    LOGOFF_TIME timestamp);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',sysdate,null);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',null,sysdate+1/38);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',sysdate+2,null);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',null,sysdate+2+14/20);
    commit;
    SELECT username,logon_time,logoff_time, my_logoff_time, my_logoff_time -logon_time,
           time_to_sort
    FROM (
            SELECT username,logon_time, logoff_time,
                   LEAD(logoff_time,1,logon_time) OVER (PARTITION BY username ORDER BY time_to_sort) my_logoff_time,
                   time_to_sort
            FROM (SELECT username,logon_time,logoff_time,NVL(logon_time,logoff_time) time_to_sort
                  FROM log_time)
    where LOGON_TIME is not null     
    ORDER BY  time_to_sort; 
    USERNAME     LOGON_TIME     LOGOFF_TIME     MY_LOGOFF_TIME     MY_LOGOFF_TIME-LOGON_TIME     TIME_TO_SORT
    HR     02.11.10 11:34:56.000000000          02.11.10 12:12:50.000000000     0 0:37:54.0     02.11.10 11:34:56.000000000
    HR     04.11.10 11:34:56.000000000          05.11.10 04:22:56.000000000     0 16:48:0.0     04.11.10 11:34:56.000000000But, if that code which fills that table should better UPDATE than INSERT. You can cover much more issues. (e.g the DB crashes and you get 2 logon but no logoff in a sequence and.....)
    -- andy

  • How do I determine who is calling me.  An unknown phone number is calling me late at night?  I want to find out who it is.

    How do I determine who is calling me.  An unknown phone number is calling me late at night?  I want to find out who it is.

    Yes, yes, yes. I am well aware about your line of Verizon is "THE Phone Company". Unfortunately, everyone was not subscribed  to "THE Phone Company" back before "THE Phone Company" was broken up. Some people have lines which were not in existence and have never been subscribers to "THE Phone Company". There are new area codes and numbers since "THE Phone Company" was broken up. I was unaware Straight Talk, T-Mobile, Sprint, Time Warner Cable, MagicJack, etc... automatically provide ALL of the private information of their subscribers to "THE Phone Company" simply so these other companies can exist. I was unaware "THE Phone Company" required each and every phone provider in the US to gather information for the USER of a phone when that USER was not the account owner. I don't remember giving my 15 year old daughter's information to "THE Phone Company" when I opened up her line 5 years ago. Obviously I did, since "THE Phone Company" has it as you would lead us to believe. I wasn't aware "THE Phone Company" required someone opening an account with 10 lines to provide the private user information for each and every one of those lines. When I opened up my 4 line account, I only remember giving out MY information. I don't remember validating everyone on the account was related to me. I don't remember giving out the names/DOB/SS #/etc... for everyone using the phones on my account. That information must have simply slipped my mind.
    For what it is worth, I never said they didn't have information on "every single number coming and going" thru their system. That is not the information being requested, though. The OP wants to know the name of the person making the call. If Verizon, aka "THE Phone Company" does not gather information on all users of a 10 line More Everything account from the account owner, where exactly are they getting this information. Furthermore, if they don't even gather this information of their own subscribers, why would you expect they have this information on the subscribers to other phone providers? It is not required to open a 10 line account. They do not run credit checks on all the users. They do not require SS#s on all of the users. They only require this information on the account owner. Are they staking out the account owner and following him/her to determine who is using the phones on his/her account? I guess I am simply too trusting.
    You speak of "back in the way old days". Well these are no longer the "way old days". Lines on an account can be scattered all over the US. The users of these phones aren't necessarily and more often every day not even related. "THE Phone Company" doesn't necessarily and is UNLIKELY to know the identity of the majority of people using phones on an account. The account owner, yes. Everyone else, NO. People making a call are just as likely using an area code/phone number of a location they don't even physically reside. "Back in the way old days" this was much less commonplace.
    Yes, they MAY be able to get the name of a caller, but it would take time and COULD take a considerable amount of time depending on the cooperation of the account owner.

  • Just want to find out how to send email? Can receive just fine, but cant send?!?!

    Hi Just wanted to find out how to send email? can receive just fine but cant send. Using hotmail at the moment.
      Any help would be great
    Thanks

    go to your mail providers setup guide and compare every single setting to how your smtp setup in your settings are set
    and if they are not the same change yours to match their page
    and if they are the same contact your isp to inquire as to why they are blocking the ports your mail provider are using

  • I got a text message which had a link attached to it, i did click on the link, basically some job scam but on the link. Now i just want to find out if my phone has been compromised in anyway and what are the tell tell signs.

    I got a text message which had a link attached to it, i did click on the link, basically some job scam but on the link. Now i just want to find out if my phone has been compromised in anyway and what are the tell tell signs.

    your phone has not been compromised.  There have been no viruses, worms or trojan horses ever reported.

  • I have a very old G$ that I use for ProTools. I just bought a slightly newer G4 and I want to find out if it is possible to transfer my old OS 10.2.8 system from one computer to the other so I can run my old ProTools system without a hitch. Thanks!

    I have a very old G4 that I use for ProTools. I just bought a slightly newer G4 and I want to find out if it is possible to transfer my old OS 10.2.8 system from one computer to the other so I can run my old ProTools system without a hitch. I would rather not buy the old 10.2.8 system as it is expensive. Thanks!

    Need to know which newer one, some cannot run 10.2.x.
    One solution might be to clone the 10.2.8 Drive to another drive, then Install a later OS on it Preserving Users & Settings.
    Best way to get an exact bootable copy of your old drive to the new one is with Carbon Copy Cloner...
    http://www.bombich.com/software/ccc.html
    Relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • Wants to find out customise function module in SAP

    Hi all There,
    I want to find out Customize Function Module in SAP,
    I am not able to find out though SE03.
    Pl provide the detail solution
    Regards
    Sagar

    hi,
    Custom function module start with Z or Y.So go to table TFDIR and enter z* and y* on input screen field function module name and then check number on entries by pressing tab number of entries on application toolbar.
    So number of custom function module =  z(number of entries) + y(Number of entries) .
    Thanks
    Mohit

  • I want to find out how much space on my macbook pro hard drive is from iphoto pics

    i have a macbook pro (2008) w/186 g hard drive, w/OS 10.5.8.  I want to find out how much (% or # of gigabytes) of the hard drive is pics from iPhoto.  does it sort by type (e.g., apps) ?

    Click on Pictures in the Finder’s sidebar, select the iPhoto library, and choose Get Info from the File menu. If you’re using multiple libraries, you’ll need to do this on each one.
    (108944)

  • Can any one let me know how to  find out current internet explorer version

    Can any one let me know how to find out current internet explorer version

    Don;t use annoyed repeated words. Try to explain exactly what is your problem.
    <script LANGUAGE="JavaScript">
    document.write("Your browser Name: <B>" + navigator.appName + "</B>.<br>")
    //Detect IE Version Only
    if (navigator.appVersion.indexOf("MSIE")!=-1){
    var temp=navigator.appVersion.split("MSIE")
    var version=parseFloat(temp[1])
    document.write(" Your Browser version: <B>" + version + "</B>.")
    </script>

  • I want to find out the RFC or bapi that log on the SAP? is anybody know?

    i want to find out the RFC or bapi that log on the SAP?

    Hi,
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    ***do reward if usefull
    vijay

  • I want to find out how to retrieve the serial number for my product. i can't find it in my email

    i want to find out how to retrieve the serial number for my product. i can't find it in my email

    Find your serial number quickly

  • I want to buy an ipad 2 with 3g in the US and wanted to find out if it will work in South Africa or is the 3g locked by the service provider

    I want to buy an ipad2 3g in the USA and wanted to find out if the 3g will work with a South African sim card or is it locked to a US service provider.

    Make sure you get the GSM (AT&T) model, not the Verizon model.
    By the way, this forum is for the iPod touch, not the iPad.
    Regards.

  • Want to find out how a batch classification is used

    Hello
    I have previously sent out a message and the idea given was not very helpful.
    Anyway, this is my question:
    I have found a class and its characteristic which was setup in the system and I would like to know how this classification` is being use in the system.
    For example, I would like to know which process (i.e. during goods receipt, during sales order creation, during production, during warehouse) is using this classification to perform their transaction.
    Do you know how to find out this kind of information in the SAP system?
    Thanks
    Tuff

    Do you want to know how the batch classification is used in general in SAP or how it is used in the system where you found it?
    In the latter case make an interview with the users, any process that has to do with stock can make use of the batch classification
    In general is classification exact what the word "classification" means. You describe something in more detail in an organized way. Classification is a modification free way to add own "fields" to standard objects, the user can immediately search  in classification without an extra effort to develop a search help.
    The batch classification can be used in a batch determination to to enable SAP to automatically search for batches with certain characteristics.and assign them to documents like sales order, delivery, goods movements, transfer orders, and production/process orders.

Maybe you are looking for

  • How to create a JAR

    Hi I'm very new to Java. I have a private project to do a little admin application for bulk changes to my itunes library via their COM API. Previously I used several javascripts to do this so I don't expect a lot of work to adapt them to Java. I use

  • Powerbook G4 17 inches 1.67GHz support DDR2?

    Just got a powerbook G4 inch 17 inches 1.67GHz. I want to upgrade its memory. I found from Curcial.com that there're both Powerbook 17 1.67Ghz DDR and DDR2. Anyone knows it possible DDR2 memory?

  • Using iPhone 5 (or 5S) in France and USA

    Hi! I am thinking of buying an officially unlocked iPhone in Lithuania . The problem is I will be living in Europe (Lithuania) for 3 months, then I will spend 3 months in United States and then in France for at least 6 months. All this time I will ne

  • Lentitud de SAP

    Buenas tardes, Tengo un problema, cuando los usuarios entran en cualquier módulo , SAP tarda bastante en refrescar la pantalla, y cuando uno pasa de Excel a SAP, a veces muestra mitad SAP mitad el otro programa, tambien sucede cuando estamos cargando

  • How do you monitor internet speeds in Snow Leopard?

    I use an Apple Airport Extreme to connect wirelessly to the internet. It is connected to a Thomson modem (TG585 V7). I've recently switched ISP's and am in the process of an upgrade to ADSL2 and I want to be able to check my internet speeds to make s