How do you embed/inject xmp metadata into a mpeg 2 video file?

Im looking to add keywords and descriptions to original file (raw MPEG-2) and have the metadata stick when i go to the transcoding process and batch convert the orginal file to either a wmv and flash file. how can i achive this? what tools are available ? and or is this a custom job? any info and or programmers looking to test this im open to all the help i can get.

Yeah I kind of figured that. I've been trying various ways of trying to batch inject metadata into video files and thought I would start with the master file but because of the limitations the raw digitized mpg 2 video file has. In that case I have yet to find a transcoding program that will batch out various formats and read a xmp side car file to inject the metadata into the outputted file (does anyone know if Adobe media encoder 4 can accomplish this where a xmp sidecar file is created then transcoding into a wmv and or flash file , curious if the metadata will stick and be read in the outputted file) In anycase  I may have find an alternative way and use my current Rhozet carbon coder transcoder program to try to inject an xml file during the batch transcoding process. If anyone has successfully accomplished this with injecting xmp metadata in a batch transcoding program please let me know. I've been exhausted searching for the solution this problem for a long time and I don’t want to wait till a mpeg 7 solution comes out.

Similar Messages

  • Can I automate the writing of XMP metadata into JPEG and TIFF files?

    I have written an ASP.NET 3.5 website application on behalf of an annual international photographic competition. Entrants will be uploading digital photos in either JPEG or TIFF format. Ideally, I would write entrant identity and image title information into the XMP metadata for each image immediately after upload - but so far, I have failed to find any way to do this in ASP.NET.
    Thousands of images are involved, so I need to find a way to automate the metadata insertion, perhaps with some sort of script that uses a text file (extracted from the SQL Server database on my website) as the source of the metadata for a batch of images. Is this the sort of task that can be done by writing a script for Bridge CS3? Are there any scripts already in existence that I could use? I am a total beginner in this area.
    I use a Win XP PC, though I have a colleague who, I think, has CS3 on his Mac (running under the Leopard OS), so scripts for either platform might be usable.
    David

    You are the man X!
    Ok here is another version with a check for the dll.
    #target bridge 
       if( BridgeTalk.appName == "bridge" ) {
    addInfo = new MenuElement("command", "Update Entry Details", "at the end of Thumbnail");
    addInfo .onSelect = function () {
         main();
    function main(){
    var csv = File.openDialog("Please select CSV file.","CSV File:*.csv");
    if(csv != null){
    loadXMPScript();
    csv.open("r");
    while(!csv.eof){ 
       strInputLine = csv.readln();
       if (strInputLine.length > 3) {
          strInputLine = strInputLine.replace(/\\/g,'/');
       inputArray  = strInputLine.split(",");
       var csvFile = new File(inputArray[0]);
       var title = inputArray[1];
       var author = inputArray[2];
    if(!csvFile.exists) {
    alert(csvFile + " Does not exist"); //////////Check if file exists
    return;
    if(csvFile.exists){
    var file = new Thumbnail(csvFile);
    try{
    var xmpFile = new XMPFile(file.path, XMPConst.UNKNOWN,XMPConst.OPEN_FOR_UPDATE);
    }catch(e){
          alert("Problem opening xmp for update:-\r" + file.path +"\r" +e.message);
          return;
    try{
    var xmp = xmpFile.getXMP();
    }catch(e){
          alert("Problem opening xmp data:-\r"  + e.message);
          return;
    xmp.deleteProperty(XMPConst.NS_DC, "creator");
    xmp.deleteProperty(XMPConst.NS_DC, "title");
    try{
    xmp.appendArrayItem(XMPConst.NS_DC, "creator", author, 0,XMPConst.ARRAY_IS_ORDERED);
    xmp.appendArrayItem(XMPConst.NS_DC, "title", title, 0,XMPConst.ARRAY_IS_ORDERED);
    }catch(e){
          alert("Problem writing xmp data:-\r"  + e.message);
          return;
    if (xmpFile.canPutXMP(xmp)) {
    xmpFile.putXMP(xmp);
    }else{
    alert("Can not write new metadata to " + csvFile.spec); 
    xmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
    unloadXMPScript();
    function loadXMPScript()
       var results = new XMPLibMsg("XMPScript Library already loaded", 0, false);
       if (!ExternalObject.AdobeXMPScript)
          try
             ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');    
             results.message = "XMPScript Library loaded";
          catch (e)
             alert("Could not load AdobeXMPScript \r" + e.message);
             results.message = "ERROR Loading AdobeXMPScript: " + e;
             results.line = e.line;
             results.error = true;
       return results;
    function unloadXMPScript()
       var results = new XMPLibMsg("XMPScript Library not loaded", 0, false);
       if( ExternalObject.AdobeXMPScript )
          try
             ExternalObject.AdobeXMPScript.unload();
             ExternalObject.AdobeXMPScript = undefined;
             results.message = "XMPScript Library successfully unloaded";
          catch (e)
             results.message = "ERROR unloading AdobeXMPScript: " + e;
             results.line = e.line;
             results.error = true;
       return results;
    function XMPLibMsg (inMessage, inLine, inError)
       this.message = inMessage;
       this.line = inLine;
       this.error = inError;

  • Incrementally appending  custom XMP metadata into PDF files

    I have a problem writing custom XMP metadata into a PDF document (I'm using the XMP Toolkit SDK).
    The problem is that I don't know whether is possible to expand the XMP packet in order to append metadata incrementally into the document, and, if it is possible, I don't know how to do it. The program I wrote succesfully appends an item to an array four times, but it fails when trying to append the fifth one. The reason obviously is that the packet gets full and there is not room for more metadata. The error message, if I force the PutXMP call, is:
    ERROR: Can't fit into specified packet size
    So, what can I do? How to enlarge the packet or make it expandable? Or, otherwise, have I to inject a new XMP packet with the up-to-date information in it? How?
    And a last question: Have I to scan for packets when dealing with PDF files? No smart handlers are available for this kind of files?
    Thanks in advance.
    Xabier Artola.
    Univ. of the Basque Country.

    Were you able to find a solution to this problem? I am having the same issue.
    Jason

  • How do you embed ePub3 in a web page using 'embed code'?

    I have an epub3 that i desperately need to embed onto my web page.
    I am using Weebly who allow for embed code on the web page, and also have a code editor where you can upload files.
    Is it easy enough to somehow upload the mp3's that are in my epub, and then explode the epub and simply copy and paste this html code into the embed code function from weebly?
    This is what I have found so far, but I am no code expert!
    http://stackoverflow.com/questions/7419205/how-do-you-embed-an-epub-in-a-web-page

    That is an interesting question. Since epub3 is based on everything that a web page is made of and is often called a web page in a box, I doubt that current browsers can show the document. Browsers are only now catching up with showing an SVG image. I suppose that, if an epub3 reader is available on the client, it should theoretically be possible. Think of a Word or a PDF document.
    IMHO, the best way out is to convert the book into a PDF format.

  • How do you put safari web pages into icloud with the safari iCloud button?

    how do you put safari web pages into icloud with the safari iCloud button?

    What that button does is sync your tabs between your devices. So if you have multiple macs with Mountain Lion and/or devices with iOS 6 (once it comes out this fall) you can pick up where you left off. For example, let's say I have apple.com, nytimes.com, and facebook.com open on my mac, but I need to run. Later, if I need to use another computer in my household, I can just restore the tabs that I was using before on this other mac.

  • How do you merge multiple pdf's into one document?

    How do you merge multiple pdf's into one document?

    Hi pharmovative,
    You can use the Combine PDF feature of Adobe PDF pack to combine multiple PDF files into one document. (Or, if you have the full version of Acrobat, you an do it there as well by choosing Create > Combine Files into a Single PDF.)
    Please let us know if you need further assistance.
    Best,
    Sara

  • How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    Something to try -
    Having installed Acrobat Standard you have the Adobe PDF virtual printer installed.
    From your authoring application do a "file-print" and select the Adobe PDF printer rather than the attached local or network printer / plotter.
    Be well...

  • How do you load an AS2 swf into AS3?

    I think this is the way around my dilemma. How do you load and AS2 .swf into an AS3 file?
    thanks again!
    Steve

    check that code in your last thread:
    What is the  code to load a .swf file in AS3 on the same layer?

  • How do you import copyright controlled cds into Itunes?

    Hi
    how do you import copyright controlled cds into Itunes?
    When i put the cd into my computer, Itunes does not read it like a regular cd. It does not show up in my source list.
    I just want to put the songs on the cd onto my ipod.
    The cd will play in windows media player and i was able to save the cd as wma files onto my computer, and then i tried to import those files, but Itunes says the file is copyright controlled, and the only way for itunes to import it is with the orignal cd? The original cd was in my D drive the whole time, but it still will not let me import.
    I also tried physically looking into the CD for the music files, but those aren't there. The cd is like an enhanced cd where if you look into the drive for files there are no files except for 2 icons. The actual icon the open the player to play the cd and a uninstall icon.
    does anyone know how to do this? PLEASE HELP!

    I have downloaded the latest version of Itunes. I don't think that is the problem. Music companies have started issuing "copyright controlled" cds now especially on import versions of cds. I have the original cd, but Itunes cannot import it due to the copyright because it is protected. I read the "help" file on the cd, and what it does is you can play it as much as you like, you can make a copy of the cd only 3 times. The copy of the CD is also copyright protected. I have tried Itunes, WMA, Sonicstage, Sonic and etc programs, but nothing has worked.
    Hopefully, someone from APPLE will now what I mean about the copyright controlled CDs. I only want to be able to listen to the music on my IPOD. Nothing has worked

  • How do you add a combo box into a Jfilechooser?

    how do you add a combo box into a Jfilechooser?
    thanks

    See the API For JFileChooser
    public void setAccessory(JComponent newAccessory)Extend a JPanel or Such like, put your Combo Box on it, fiddle around with event handling code for the ComboBox..
    Set an Instance of that as The Accessory for the JFileChooser.
    Look In Your Docs:-
    <JAVA_HOME>/Demo/jfc/SwingSet2/src , unpack SwingSet2.jar if neccessary
    In there is a demo of using A JFileChooser with an accessory Panel, and Source code that is adaptable...

  • How do you drop a still photo into a video?

    how do you drop a still photo into a video -- while continuing the audio track unchanded?

    by popular demand, Kelli Applies Lip Liner to Audrey's Lips has been completely re-mastered. (ok, it was just one person who asked, but she's a very intelligent and articulate observer of such matters.  she noted that the clip suggests "interesting possibilities", but that men probably would be unaware of that.  i explained that "men are pretty simple, so we don't see too many moves ahead."  she laughed.)
    i believe that in an earlier post i indicated that in the re-mastered version i would delete the in-camera audio and dub in the audio from the Zoom H4n audio recorder.  this i did.
    (syncing the video and audio continues to be a nightmare, though ).
    besides signifcantly improving the sound quality, using a separately recorded audio source allowed me to drop (2) still photos into the video track, and still preserve the continuity of the recorded conversation.
    dropping in the stills the correct way (unlike in the first re-mastered video) was easier than i thought it would be.  it's just a matter of dragging the Premiere Elements 7's red vertical timeline-cursor to the point on the timeline where you want the insert to begin, and then dragging and dropping the still photo alongside the red cursor.  the amount of time the still will appear can be shortened or lengthened by dragging with the mouse -- the same way any other file can be extended or contracted.
    the video coming out from the still was now running behind the soundtrack.  but, the timeline shows the exact duration of the still, so the video coming out was shortened with the mouse by that same duration, and then the audio and video were back in sync.
    to add the "sound effect" of the camera's shutter clicking (actually its mirror slapping) before each still appears, i found a point on the audio recording that had the click of my camera actually taking a still, and that had only a little audio from the models underneath it.  removing all the audio before and after the sound of the camera click was, again, just a matter of finding the start/stop points i wanted, moving the timeline's red cursor to those points, and using the mouse to drag the ends of the audio file alongside the cursor.
    because i wanted the sound of the camera click to merge with the converation anyway, i just put the audio file of the click on its own audio track (which allowed me to separately control its volume).
    however, when i tried to copy and paste the audio file of the camera click to the beginning of the second still photo, i was not able to copy and paste by the normal method of using the mouse to right-click-file/left-click-"copy"/left-click-"paste".  eventually, i tried doing so by clicking on "edit" on the menu bar at the upper left and then clicking on "copy" and "paste", and there was no problem.  (go figure.)
    as with the other re-mastered video, i brightened, increased contrast, made the hue a bit warmer, and added a little sharpening.  (this has to be done individually for each separate video file that makes up the whole piece -- at least that's what i did.)
    interestingly, the audio level can be tweaked directly on the timeline by using the mouse to drag up or down a horizontal yellow line running the length of the audio file.
    i again rendered in Adobe Flash Video (.flv).  (annoyingly, in XP at least, there's a default download destination that has to be reset everytime you want to save in a different location).  from a drop-down menu i selected "NTSC Flash Video 700k" (just in case) and left the file name as "Untitled" (since no matter what i change it to, it saves as "untitled.flv", so i have to rename it anyway once it's saved).
    i went into "Advanced..." and, to preserve the dimensions and the HD, i unchecked "Resize Video", chose "Same as source" for the frame rate, and checked 2 "Encoding Passes" (just in case).    
    for some reason, everytime i click the "save" button, it asks what i want to call these settings.  if i use the name i used for the same settings on the previous go-round, it says that that name is already used and (impliedly) can't be used again.  so, i add the new date, and yet another name for the same settings gets added to the drop-down menu (odd).
    once the compressed .flv file was saved, it was an easy upload to youtube.
    btw, it seems that the Elements 7's Audio Mix defaults to 0 dB, OR whatever the setting was in the prior saved version, unless i use the mouse to continuously "ride the slider pot".  that's ok for a 48-second video, but does anyone know of a way the dB can be set so that it just sits there, instead of moving back to where it previously was

  • HT201263 how do you put an iphone 4 into recovery mode

    how do you put an iphone 4 into recovery mode

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iOS- Forgotten passcode or device disabled after entering wrong passcode
    3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    4. iOS- Understanding passcodes
    5. What to Do If You've Forgotten Your iPhone's Passcode
    6. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    7. Restoring iPod touch after forgotten passcode
    8. RecBoot: Easy Way to Put iPhone into Recovery Mode - if all else fails.
    Forgotten Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
        If this method does not work, then you will need to fully Restore your
        device as New
    Also, see iTunes- Restoring iOS software.
    If none of the above do what you need, then do the following:
    Placing your device into recovery (DFU) mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
       1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the
           other end of the cable connected to your computer's USB port.
       2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds
           until the red slider appears, then slide the slider. Wait for the device to turn off.
                  * If you cannot turn off the device using the slider, press and hold the
                    Sleep/Wake and Home buttons at the same time. When the device turns off,
                    release the Sleep/Wake and Home buttons.
      3. While pressing and holding the Home button, reconnect the USB cable to the
           device. The device should turn on. Note: If you see the battery charge warning,
           let the device charge for at least ten minutes to ensure that the battery has some
           charge, and then start with step 2 again.
      4. Continue holding the Home button until you see the "Connect to iTunes" screen.
           When this screen appears you can release the Home button:
      5. If necessary, open iTunes. You should see the following "recovery mode" alert:
      6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    If you have a problem getting into recovery mode then try: RecBoot: Easy Way to Put iPhone into Recovery Mode.
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • How do you cut an imovie clip into two clips?

    How do you cut an imovie clip into two clips?  I have a very long clip from which I want to remove the middle (and keep the beginnin and end). 

    There are several ways to do this. Here are a couple.
    1) Drag the long clip into your project. Drag to select the portion you want to remove. Then right-click/Split Clip. This will give you three clips, the first, the last, and the one in the middle that you want to delete. You can select the middle clip and right-click/Delete Selection.
    2) Drag the long clip into your project. Drag to select the frames you want to delete. Then right-click/Delete Selection.

  • How do you insert a submit button into your form?

    How do you insert a submit button into a form?

    Hi,
    The submit button is included automatically. If you are distributing your form as HTML you can use the Test tab to preview your form. If you are distributing your form as PDF, you would need to generate the PDF to see the submit button.
    Regards,
    Brian

  • CS5 XMP metadata make huge Flash F4V files

    In CS4 i had MPEG2 files that I need to export as F4V for preview purposes.
    Four MPEG2 files side by side in one long F4V video.
    The MPEG2 files are exported from Premiere, with a lot av complicated After Effects Comps as source.
    Each MPEG2 file gets a corresponding XMP file that i just ignore.
    In CS4 it worked great. The F4V files came out at about 32MB, just as predicted by the encoder before I started.
    Now, with the same project in CS5, I did the same process.
    Only that the F4V files for some reason came out at about 57MB, with the same settings as before.
    I noticed that the corresponding XMP files for the MPEG2s now where 3.5 MB big. Before they used to be 7KB.
    Then I deleted the XMP files, and let Premiere generate new ones. These was only 4KB.
    I then exported a new F4V, and i came out at 32MB.
    So WHY ON EARTH would anyone want to embed 25MB of metadata in a 32MB F4V-file???
    A file that will go on the web, and you try to get as small as possible?
    And what is all this metadata?? I did not put any thing in there!
    4 x 3.5MB does not even add up to 25MB!!
    Morten

    In CS4 i had MPEG2 files that I need to export as F4V for preview purposes.
    Four MPEG2 files side by side in one long F4V video.
    The MPEG2 files are exported from Premiere, with a lot av complicated After Effects Comps as source.
    Each MPEG2 file gets a corresponding XMP file that i just ignore.
    In CS4 it worked great. The F4V files came out at about 32MB, just as predicted by the encoder before I started.
    Now, with the same project in CS5, I did the same process.
    Only that the F4V files for some reason came out at about 57MB, with the same settings as before.
    I noticed that the corresponding XMP files for the MPEG2s now where 3.5 MB big. Before they used to be 7KB.
    Then I deleted the XMP files, and let Premiere generate new ones. These was only 4KB.
    I then exported a new F4V, and i came out at 32MB.
    So WHY ON EARTH would anyone want to embed 25MB of metadata in a 32MB F4V-file???
    A file that will go on the web, and you try to get as small as possible?
    And what is all this metadata?? I did not put any thing in there!
    4 x 3.5MB does not even add up to 25MB!!
    Morten

Maybe you are looking for