Looking for pure Java API to read metadata from an MP4 file.

Hi, I am looking for a pure Java api that can read MP4 metadata. I have been trying to look online for one but have not found anything
suitable. If there are no good api's, can someone point me to resources on how to parse metadata from an MP4, tutorials would be great
as well. I have looked online for that as well but have not found much. Any help would be greatly appreciated.

Cross posted
http://www.java-forums.org/new-java/59652-looking-pure-java-api-read-metadata-mp4-file.html
http://www.coderanch.com/t/580833/Streams/java/Looking-pure-Java-API-read
http://stackoverflow.com/questions/10568588/looking-for-pure-java-api-to-read-metadata-from-an-mp4-file
db

Similar Messages

  • How to read metadata from a pdf file

    hello
    i have got xmp sdk for windows.
    i want to read the metadata from a pdf file but i cannot
    find a way to do so.
    i cannot understand that which method to use to open the file whose metadata i want to read.
    if someone can tell me by an little code example then it would be great help.
    thanks

    The sample XAPDumper read metadata in a file (PDF or not) if it is valide. If you want to keep the XAPMeta object, don't delete this object in ProcessSubstring().

  • Itunes can't read metadata from some mp3 files

    I'm running itunes on windows 7 64. I transferred my library from my old xp machine and everthing seems to be fine except that about 20 albums have lost their metadata (some have the album name, but no tracks - most have nothing). When I attempt to use the 'get track info' option, it tells me that it can only retrieve track information for files that were imported using iTunes - which mine all were. The tracks all play just fine.
    The odd thing is that windows media player has no issue pulling the track info out of the files. In fact, it even displays a field indicating that the mp3 files were created originally using iTunes.
    Just for kicks, I copied the files over to a machine running win xp and attempted to do the import there (thinking that iTunes may be flaky on win 7), but no joy.
    The tracks all have their data intact, as demonstrated by wmp and I really want iTunes to be able to read it out because it would take forever to hand tag each one all over again. If I don't get them tagged, I'll have a lot of trouble syncing these with my iPod. Suggestions anyone?

    When I attempt to use the 'get track info' option, it tells me that it can only retrieve track information for files that were imported using iTunes - which mine all were.
    You mean when you go to iTunes menu Advanced -> Get CD track names.
    That is different than right click - get info on a track.
    In order to Get CD track names, the songs must be rRIP'd using the same iTunes library on the same computer. It will not work if you RIP on one computer and copy them to another computer.
    Try this...
    Select one of the songs in iTunes, right click - Convert ID3 tags and select V2.3.

  • Looking for Unified Messaging API

    Hello everyone,
    In one of our projects, we are going to monitor a software system and send notifications to users. User can set their prefereences about which messages they like to receive into which outbound channels.
    We would like the notifications to be sent through a "unified messaging system" which has a cnetral control to many channels, e.g., email, sms, screen, instant massager..., etc.
    I wonder if there are some "unified messaging system" in java that could help us.
    Thanks a lot in advance!

              Look at the URL:
              http://www.servlets.com/cos/index.html
              Regards,
              Jacob Nikom
              "Vladan TUTUNOVIC" <[email protected]> wrote:
              >Hi all,
              >
              >I'm looking for an existing API or classes that would allow me to deal
              >with
              >any kind of uploaded files...
              >(multipart/form-data and so on...)
              >Can somebody help ?????
              >
              >Best regards
              >
              >VLADAN.
              >
              >
              

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • Looking for a java-based SDK that handles file conversion to PDF and TIF...

    Hi all,
    First off, this is my first posting so I'm not 100% sure where to post this topic. So please forgive me if I'm accidentally posting in the wrong location.
    My question deals with a project I am currently working on.
    I am looking for a java-based SDK that can meet the following requirements...
    1) convert all printable file-formats (i.e. JPEG, DOC, TXT, PPT, etc.) into PDF
    2) merge multiple PDFs into one PDF
    3) convert PDF to TIF or at least do some sort of conversion to TIF
    4) works in Java or some sort of web-based language
    5) free or relatively cheap
    Any advice/suggestions would be greatly appreciated.
    Thank you very much.

    I don't think you will get one API to do them all.
    Some helpful hints:
    [http://schmidt.devlib.org/java/libraries-pdf.html]
    [http://xmlgraphics.apache.org/fop/] (with the pdf-image extension, that I can't find now :shakefist)
    JAI

  • Looking for recommend Java Training

    I have just spent a better part of a week trying to work on a java issue.  We are running Netweaver 7.01 as our Java server to our BW systems.  These NW boxes are Java (stack) only servers.  I would like to get more up to speed on managing, debugging, monitoring, etc on the Java side of things.  I am not even sure I have the terminolgoy right!  What courses have you taken that you feel were effective?  Right now my role is DBA (Oracle) and backup R3 Admin.  As we move to a more Java rich environment I'd like to help fix things (vs bouncing the server all the time).  I feel lost in Visual Administrator.  I see to many courses that say "The course does not introduce Netweaver fundamentals and administrations." which is exactly what I feel I need.
    Thanks!
    Vince

    I was meant to go on a combination TEP10 course recently which covers the same contents as ADM200 and EP200, but that's hard to find (and was cancelled where I did find it). If you're just looking for the Java admin basics look at this course tree: https://training.sap.com/za/en/curriculum/adm_java-sap-system-administration-as-java-general-g/.
    ADM200 is almost certainly the one you want if you want the shortest (i.e. cheapest!) course focusing on just Java admin, though unfortunately I cannot yet speak from direct experience. Check out the curricula listed for yourself and don't forget to shop around the various SAP Education centres (that link is for South Africa but the curricula for the courses will be the same elsewhere as long as the version is the same). For example see this course tree from the US SAP Centre: https://training.sap.com/us/en/curriculum/ep_adm_us-portal-administration-us/. And don't forget that there are other combination courses like the TEP10 course (e.g. TADM10/TADM12) that might cover even more of what you're looking for - do some digging around to be sure of what you want.

  • [svn:osmf:] 13829: SMILPlugin modified to look for a MediaFactory on the resource metadata.

    Revision: 13829
    Revision: 13829
    Author:   [email protected]
    Date:     2010-01-27 15:51:46 -0800 (Wed, 27 Jan 2010)
    Log Message:
    SMILPlugin modified to look for a MediaFactory on the resource metadata.  If it doesn't find one, it creates a DefaultMediaFactory.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/metadata/MetadataNamespaces.as
        osmf/trunk/plugins/SMILPlugin/org/osmf/smil/SMILPluginInfo.as
        osmf/trunk/plugins/SMILPlugin/org/osmf/smil/loader/SMILLoader.as

    (Removed)

  • Are you looking for the GP APIs for NW04s SP7? I've got them.

    For those who are looking for the GP APIs for local development of webdynpro and background callable object with GP interface, I've got them and will submit a how-to to SDN if needed.
    Just post your interest under this post and mention which SP (SP7 or below) you'd like them. Thanks, Andre

    Wish granted. Here is the SDN link to the how-to document which include reference to the downloadable APIs. Enjoy!
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f7be53bb-0b01-0010-1c96-be3cb6799c1b
    I've got a blog entry referencing that how-to link as well /people/andre.truong/blog/2006/06/26/working-with-the-apis-of-caf-guided-procedures-nwdi-or-local-development
    Post comments there if you got any. Thanks, Andre

  • Bug: Keywords behave incorrectly after "Read Metadata from File"

    (Happens in LR3.4 RC and probably also in previous versions... but I am not sure if it happened in LR2)
    The problem seems tro be somthing like de-sync of database status and what we see on the screen.
    1) Let's say we have a photo with keyword "abc"
    2) Click in the Keyword List on the arrow around the "abc" keyword to show only photos with this keyword (single one), leave the filter on this settings
    2) Save Metadata to File
    3) Edit XMP in an external application, add new keyword "def"
    4) Read Metadate from File
    5) Now what happens is: The photos disappers from the screen as if it lost the "abc" keyword (weird), but if you look at the Keyword List, the "abc" keyword has still 1 photo attached to it. Also, if you release the filter and find the photo, it clearly has the "abc" and "def" keywords in the Keywording panel. And you can search for this keyword in the text filter (works correctly), but if you click on the arrow around the "abc" keyword, the photo is not shown.
    6) If you restart the Lightroom, it will work correctly again.
    I have an own application that is able to modify the XMP and the modifications may not be perfect, but in my opinion, this shouldn't happen when reading the metadata. If any developer is reading this, I can supply a file with original and changed metadata for debugging.
    It would be great it this could be resolved.
    Thanks!

    Please do report your find with the details you state (well done!) here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Thanks.........

  • Bug: "Read metadata from file"

    When I add GPS coordinates to a file (with the program Geotagger) and select "read metadata from file" to import the new metadata, a color adjustment badge appears on the thumbnail (even though I didn't adjust any colors). This only happens with files that have a cropping applied to them in Lightroom. If the file doesn't have a custom cropping the color adjustment badge doesn't appear. It happens with both JPG and CR2 files. Seams like a bug to me.
    I'm on a 24" iMac 2.8 with 4 GB and OSX 10.5.5 / Lightroom 2.1

    It also happens with DNG. Anyway, I don't think it has anything to do with the GPS, but the issue has been around right back through version 1.x Try the following:
    1. Select an image that has no crops or develop adjustments
    2. Switch to Develop module
    3. Apply a crop
    4. Save metadata to file (Cmd+S)
    5. Read metadata back from file (Metadata menu - "Read Metadata from file"
    Please report what happens?
    At my end the Crop badge remains but a Develop Adjustment badge also appears - IMO it shouldn't, but as stated above it has for a VERY long time. I'll bug it again and see what happens.

  • Batch read metadata from file

    Hi Everybody,
    I wonder if Lightroom 3 offers a function that lets me read metadata from file for multiple images in a batch process. The reason is that I have changed the GPS information for quite a couple of my pics using the Geoencoding Support pluging from Jeffrey Friedl and let it write back into the DNG-file. Since I also flushed the shadow data I can't see any GPS information in my metadata table in Lightrrom even though the data are present in the DNG. Now the real question is: Is there a better way to get my GPS data into Lightroom than emptying the Library and reimport all of my pics?
    Oh, and before I forget it: Yes, I have searched this forum - and a couple of others as well - and I found stuff about batch processing date/time information. However, the method presented there apparently does not apply to my problem.
    Thanks for any information.
    Have a nice day,
    f.

    In Library Module, select Grid Mode. Select all images you wish to read metadata from. Go to Metadata>Read Metadata from Files
    Similarly, you can edit time for time zone/ AM-PM issues, etc by going to Metadata>Edit Capture Time

  • Read metadata from file cancel modifications !

    Hi,
    I use Lightroom 1.1 in french. I made some photo (in raw but in jpeg the result is the same) and import them in Lightroom with conversion in DNG. In Lightroom, in develop module, I crop, change contrast and som others.
    After that, I geotag my DNG files with HoudahGeo. HoudahGeo write geotag in the file. So back in Lightroom, I make a 'Read metadata from file' ('Lire les métadonnées depuis les fichiers' in french) for having geotag in Lightroom.
    Geotag are now in Lightoom, nice, but in develop history, I have a new line 'Rénitialiser les paramètres' !!! So I can't see all my modifications... Is it normal ?
    Thank you
    PS: Sorry for my english...

    I think you should test this with one or two pictures - import/convert, save metadata to file, geotag, read metadata. Also try import/convert, make small adjustment, save metadata to file, geotag, read metadata. In iView I often write metadata to DNG's that have been adjusted, then read the metadata in Lightroom - sometimes I add more data in iView and do more adjustments.
    I have seen the problem you describe, but it has been with raw files which I have adjusted in Lightroom but haven't saved out the metadata. I have then created an xmp sidecar in iView, and read the metadata in LR. So the sidecar had no ACR/LR instructions. The result was that my adjustments were wiped out. What I suspect is that something similar is happening with your DNGs - that conversion creates them but doesn't write the ACR/LR fields.
    So try a few alternative sequences.
    John

  • Read Metadata from TIFF-file

    Hi All!
    I try to get metadata from a TIFF-file. I tried to do this with this code. Everytime i get the same error. Anyone can help me?
    int imageIndex = 0;
    File f = new File(sourceFile);
    ImageInputStream stream = ImageIO.createImageInputStream(f);
    Iterator iter = ImageIO.getImageReaders(stream);
    ImageReader reader = (ImageReader)iter.next();
    reader.setInput(stream);
    IIOMetadata m = reader.getImageMetadata(imageIndex);
    Errormessage:
    run-single:
    Exception in thread "main" javax.imageio.IIOException: I/O error reading image metadata!
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.readMetadata(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.seekToImage(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.getImageMetadata(Unknown Source)
    at tiffmetadatabug.Main.main(Main.java:80)
    Caused by: java.io.EOFException
    at javax.imageio.stream.ImageInputStreamImpl.readShort(ImageInputStreamImpl.java:211)
    at javax.imageio.stream.ImageInputStreamImpl.readUnsignedShort(ImageInputStreamImpl.java:222)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFIFD.initialize(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFIFD.initialize(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageMetadata.initializeFromStream(Unknown Source)
    ... 4 more
    Java Result: 1

    I think you should test this with one or two pictures - import/convert, save metadata to file, geotag, read metadata. Also try import/convert, make small adjustment, save metadata to file, geotag, read metadata. In iView I often write metadata to DNG's that have been adjusted, then read the metadata in Lightroom - sometimes I add more data in iView and do more adjustments.
    I have seen the problem you describe, but it has been with raw files which I have adjusted in Lightroom but haven't saved out the metadata. I have then created an xmp sidecar in iView, and read the metadata in LR. So the sidecar had no ACR/LR instructions. The result was that my adjustments were wiped out. What I suspect is that something similar is happening with your DNGs - that conversion creates them but doesn't write the ACR/LR fields.
    So try a few alternative sequences.
    John

  • Feature Request: save metadata to file, and read metadata from file.

    Please have function to save metadata to file, and read metadata from file.
    This would allow us to write cross-platform plugins that can assure data is up-to-date in the xmp, or modify xmp and have it reinstated in the catalog.
    This would go nicely with the ability to save xmp for virtual copies, dng, and rgb formats.

    Perhaps someone with direct experience with publishing to Smugmug will chime in.  Short of that, some thoughts on your issues:
    Should I not bother to "Save Metadata to File", this seems to be what is messing up the SmugMug publish service?
    I very much doubt that it is messing up the publishing.  What gets saved to the file from the catalog is independent of what gets exported.  Saving metadata to the file is generally a good practice (in case you screw up your catalog backups).  Many, perhaps most, users set the preference Catalog Settings > Automatically Write Changes Into XMP.
    I would have expected it to behave like an export which would write synonyms, exclude keywords that should be excluded, etc, which seems to work ok in point 6 above.
    Yes, that's a reasonable expectation.
    You may have done this already, but double-check: Right-click the Smugmug publishing service in the left-hand column of the Library, select Edit Settings, and in the Metadata section verify that you have Include: All Metadata set.
    Did you download the Smugmug plugin from Smugmug? You might try this Smugmug plugin instead -- the author designed the publishing architecture of LR and has an excellent reputation. 
    Are the publish services more effort than they are worth? So I get SmugMug to work, what happens when I try Flickr?
    I think many users find the publishing services are generally worthwhile.  I publish regularly to Flickr (using the built-in Flickr plugin, which isn't completely reliable) and the Zenfolio plugin from Friedl. 

Maybe you are looking for

  • New Customer: Installer Destroyed DVD

    Help, folks...I have never had a worse installation. I used to do this for a living but physically disabled (my hands) for a few years now. March 18: The installer lost one of my telephones, the one in my office. It took me over four hours to finally

  • Removing the "Security Warning" dialogue box on default when a PDF is opened

    Hey I have created a pdf document with a specific data written using iText Libraries. I have actually created a beacon that generates a notification sent to the owner's email when the pdf is opened. The code is under OpenAction. The problem I am faci

  • Video camera doesn't work after installing IOS 7

    I can't use video camera with iPad 2 after upgrading to IOS 7. Anyone knows why?

  • Iweb 1.1.2 won't open, error message, index.xml file is missing

    i am using version 1.1.2 i opened iweb and made a very very minor correction. i went into 'inspector' and saw that 'make all links inactive' was checked so i unchecked. i published and when i opened it again it was checked. so i made an extremely min

  • Bonjour doesn't work after upgrading to iTunes 8

    Hi everybody, i've upgraded today my iTunes to the version 8. After the update, the Bonjour service stopped to work: it starts, then after one or two seconds it automatically stops. Taking a look at the Window's log, i found that the service stop due