Performance & Auto-write XMP

I've noticed over the past week that people have been seeing subpar performance with auto-write XMP turned on while running Lightroom. I think this warrants a more detailed response from the team.
Most people using auto-write will experience a minor drop in performance. This should be expected, as Lightroom is doing more work to transit your edits to files on disk. Again, for most users, this should be relatively minor and should not impede your use of LR 1.1 in your workflow. However, there are a few things in the auto-write code that can cause LR to grind a processor pretty hard and that I would avoid if possible:
1) Making changes to a large number of images at once (thousands). It takes time to write to the files and LR 1.1. is not great about backing off.
2) Shutting off auto-write for a long period of time and turning it back on. When you do this LR tries to sync what is has in the library to disk. This can take some time.
3) Importing large catalogs. There appears to be a bug in 1.1 where importing from a catalog can cause the XMP writer to think it needs to update the file. Not all large catalogs exhibit this behavior, but it's something to watch for.
4) Upgrading a large legacy catalog with lots of XMP changes. LR will try to write out the metadata after upgrade and that can take some time.
Essentially, you should be able to run fine with this option as long as you're changing small batches of images. If you're having huge performance problems I recommend you 1) make sure you're using local storage or a fast network for your image files and 2) try building a new catalog instead of upgrading a large 1.0 catalog and see if that helps.
I understand that the performance on this can be improved and plan on working on this as soon as I can. In the interim, there's only a few situations out there that I'm aware of that can make the feature painful to use. As long as you avoid those you should be able to use this option in your workflow. Please let me know if you find new ones so I can add them to my list of things to fix in a later release.
Thanks,
Dustin Bruzenak
Lightroom Engineering

Hello All -
I have been searching the issue of writing/updating .XMP data files trying to get an idea of it's merits vs potential problems. With more than one search leading me to this thread I hope I am in the correct thread. I'll be honest and say that since the V1.1 release, I'm scrambling for information and understanding. Watching the vid's and reading all the .pdf I can get continues to keep me unsure on what seem to be very basic settings and practices.
Would any consider it good practice with the new catalog system to break up one's existing V1.0 database (now large catalog file) into smaller catalog's? Or, keep an all inclusive catalog as we did with 1.0?
It seems most do not choose to autowrite .xmp in settings. I followed that path when setting up V1.1. Noting that I am still using the one large catalog file created on upgrade, should I have synchronized my metadata at some point? Most of my photos show "resolve conflict" in the right panel metadata field. Should I do one large "synch" and if so any advice from the experienced on how best to manage/update, if needed, this synchronization would be greatly appreciated.
I have not experienced many of the slow-downs or processor usage some have spoken of. I have approx 2500 pics (with 5000 to come) that where in one large v1.0 file. Now it seems I can break this file up and fully use both my XPSGen2 PIV 2.4ghz Centrino, 2gbRAM with approx 200gb of space between my HD and a Maxtor 3200 USB?
With the specs listed on the above post, it looks like Lightroom will need much more spec than what I have.?.?.? Comments welcome.
Again, I hope this is the correct thread for this post and have made myself as clear as a slightly confused can. ;-)
Thanks!
B

Similar Messages

  • Adobe Media Encoder Could not write XMP data in output file.

    Hi there i have searched for this on the forums,
    if there is a Thread on it please Link:)
    This is my Encoding Log from Adobe Media ancoder,
    (se Below).
    im doing a projekt from Mts Files, in Premiere pro
    i have Checked the box that no Xmp Data needs to be added, to the left from the Queue button in the export window.
    Should i Delete all the Xmp in Bridge or somthing like that to Resolve this?
    Regards
    Jonas Dwight
    Encoding Log:
    - Source File: /Users/Blasuk/Library/Caches/TemporaryItems/Mogel_oe_2014_nyeste.prproj
    - Output File: /Users/Blasuk/Desktop/Video_Projekts/Fremkaldte/Moegeloe2014-hq.mp4
    - Preset Used: Custom
    - Video: 1920x1080 (1,0), 25 fps, Upper, 01:18:52:10
    - Audio: AAC, 320 kbps, 48 kHz, 5.1
    - Bitrate: VBR, 2 pass, Target 15.00 Mbps, Max 41.30 Mbps
    - Encoding Time: 11:05:14
    01/05/2015 07:35:01 PM : File Encoded with warning
    File importer detected an inconsistency in the file structure of Moegeloe2014-hq.mp4.  Reading and writing this file's metadata (XMP) has been disabled.
    Adobe Media Encoder
    Could not write XMP data in output file.

    Any help please?! Thank you!

  • Media Encoder "Could not write XMP data in output file." issue

    Greetings,
         We have invested a great deal of money and time into a brand new editting system and we need some help with adobe media encoder. We are trying to export some of our projects and we keep getting the same error. Here is the entire log of errors:
    Could not write XMP data in output file.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_6.prproj
    - Output File: M:\acura_rooftop_43_draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:17:23
    2/4/2010 1:42:28 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_7.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:02:09
    2/4/2010 1:54:21 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_9.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:16:04
    2/4/2010 2:19:49 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_10.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_HD_draft_1.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:01:38
    2/4/2010 2:30:31 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_11.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:00:38
    2/4/2010 3:19:31 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_12.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:01:08
    2/4/2010 3:31:37 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_17.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:15:31
    2/4/2010 4:21:06 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_19.prproj
    - Output File: M:\GRAPHICS\cow_graphics\acura_HD.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:00:24
    2/4/2010 5:16:54 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_16.prproj
    - Output File: C:\Users\Ramius\Desktop\mxf.mpg
    - Preset Used: 1440 x 1080i 29.97 High Quality
    - Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
    - Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
    - Encoding Time: 00:05:08
    2/23/2010 12:12:40 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_18.prproj
    - Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:04:00
    2/23/2010 12:26:54 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_19.prproj
    - Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:05:08
    2/23/2010 12:51:01 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_23.prproj
    - Output File: C:\Users\Ramius\Desktop\allhdtest2.mpg
    - Preset Used: 1440 x 1080i 29.97 High Quality
    - Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
    - Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
    - Encoding Time: 00:04:20
    2/23/2010 4:23:46 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_27.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:09:11
    3/2/2010 3:21:19 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_28.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07_1.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:09:00
    3/2/2010 3:34:47 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_29.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07_2.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:10:22
    3/2/2010 4:41:03 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    We absolutely need to fix this issue ASAP, we are in a major bind until we can resolve this issue. Thanks a bunch.

    We are using Windows 7
    dual quadcore intel xeon processors 8gb ram
    10000rpm internal drives. quadroefx 1800 video card
    The drive is 4tb
    We have tried exporting to many different locations with no luck
    Its a very nice video editting system. We just need to figure out this exporter

  • Write xmp sidecar files without need to export masters - script

    I've written a script to write xmp sidecar files for referenced and online images (the 2 conditions in the script) of the selected images. I looked for a while at system events and other stuff to be able to write the xmp file, but i'm not a programmer, so in the end i chose the long and dirty way to do it.
    This script will export all iptc expanded fields as aperture does (creating basically the same file). It can be easily adjusted to include other tags, even custom ones. I don't know how to get at the adjustments for images, otherwise those could be included as well.
    If anyone has the energy to clean this up and make it faster, feel free to do so. Next, I'm going to try to write a script to do the opposite, import xmp sidecars for imported online and referenced files.
    Here it goes (thanks to Brett Gross for the database part to find the master filename):
    --script to create sidecar xmp files for referenced files without having to export masters. parts of the script (finding the file name) are by brett gross
    property p_sql : "/usr/bin/sqlite3 "
    global g_libPath
    on run
    my getLibPath()
    --counter for processed images, reset, just in case
    set mastercount to 0
    tell application "Aperture"
    if not (exists selection) then
    display dialog "You have to select at least one image" buttons {"OK"} default button 1
    return
    else
    display dialog "You have selected " & (count of selection) & " images." & return & "Continue?" default button 1
    end if
    set theSel to selection
    --run through the selected images
    repeat with currentpic from 1 to count of theSel
    tell item currentpic of theSel
    -- only apply to referenced and online images
    if referenced and online then
    set mastercount to mastercount + 1
    set curID to id
    --find the master file path and name - this part by brett gross, thanks
    set libPOSIX to POSIX path of g_libPath
    set libDBPOSIX to (libPOSIX & "/Aperture.aplib/Library.apdb") as string
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZFILEUUID from ZRKVERSION where ZUUID='" & curID & "'\""
    set ZFILEUUID to do shell script theScript
    # ---------- Get the master's path
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZIMAGEPATH from ZRKFILE where ZUUID='" & ZFILEUUID & "'\""
    set ZIMAGEPATH to do shell script theScript
    # ---------- Get the master's disk name
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZFILEVOLUMEUUID from ZRKFILE where ZUUID='" & ZFILEUUID & "'\""
    set ZFILEVOLUMEUUID to do shell script theScript
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZNAME from ZRKVOLUME where ZUUID='" & ZFILEVOLUMEUUID & "'\""
    set diskName to do shell script theScript
    set imgPath to (diskName & "/" & ZIMAGEPATH)
    --end brett gross part
    --strips extension, seems to work for files and paths with more than one period
    set oldlim to AppleScript's text item delimiters
    set AppleScript's text item delimiters to "."
    try --remove last extension only
    set contador to text item -1 of imgPath
    set noExtension to Unicode text 1 thru -((count of contador) + 2) of imgPath
    on error --handle files with no extensions
    set noExtension to imgPath
    end try
    set AppleScript's text item delimiters to oldlim
    --create the file and path name with the .xmp extension for writing
    set xmpPath to "/Volumes/" & noExtension & ".xmp" as Unicode text
    --convert posix path to alias for easier write and read handling
    set xmpPath to POSIX file xmpPath as file specification
    -- header for xmp file
    set xmpheader to ("<?xpacket begin='' id=''?>
    <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9-9, framework 1.6'>
    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>") & return
    -- footer for xmp file
    set xmpfooter to ("</rdf:RDF>
    </x:xmpmeta>
    <?xpacket end='w'?>") & return
    --xmp content, part 1
    --check for existence of iptc tags, create content or empty string depending on existance of tags
    if (exists IPTC tag "Contact") or (exists IPTC tag "Country/PrimaryLocationCode") then
    set xmpcontentpartone to ("<rdf:Description rdf:about='' xmlns:Iptc4xmpCore='http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/'>") & return
    try
    set CountryCode to value of IPTC tag "Country/PrimaryLocationCode"
    set xmpcontentpartone to xmpcontentpartone & tab & "<Iptc4xmpCore:CountryCode>" & CountryCode & "</Iptc4xmpCore:CountryCode>" & return
    end try
    try
    set CreatorContactInfo to value of IPTC tag "Contact"
    set xmpcontentpartone to xmpcontentpartone & tab & "<Iptc4xmpCore:CreatorContactInfo>" & CreatorContactInfo & "</Iptc4xmpCore:CreatorContactInfo>" & return
    end try
    set xmpcontentpartone to xmpcontentpartone & ("</rdf:Description>") & return
    else
    set xmpcontentpartone to ""
    end if
    --xmp content, part 2
    --check for existence of iptc tags, create content or empty string depending on existance of tags
    if (exists IPTC tag "Category") or (exists IPTC tag "City") or (exists IPTC tag "Country/PrimaryLocationName") or (exists IPTC tag "Credit") or (exists IPTC tag "DateCreated") or (exists IPTC tag "Headline") or (exists IPTC tag "Province/State") or (exists IPTC tag "Source") or (exists IPTC tag "SpecialInstructions") or (exists IPTC tag "SupplementalCategory") or (exists IPTC tag "Writer/Editor") then
    set xmpcontentparttwo to ("<rdf:Description rdf:about='' xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>") & return
    try
    set Category to value of IPTC tag "Category"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Category>" & Category & "</photoshop:Category>" & return
    end try
    try
    set City to value of IPTC tag "City"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:City>" & City & "</photoshop:City>" & return
    end try
    try
    set Country to value of IPTC tag "Country/PrimaryLocationName"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Country>" & Country & "</photoshop:Country>" & return
    end try
    try
    set Credit to value of IPTC tag "Credit"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Credit>" & Credit & "</photoshop:Credit>" & return
    end try
    try
    set DateCreated to value of IPTC tag "DateCreated"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:DateCreated>" & DateCreated & "</photoshop:DateCreated>" & return
    end try
    try
    set Headline to value of IPTC tag "Headline"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Headline>" & Headline & "</photoshop:Headline>" & return
    end try
    try
    set State to value of IPTC tag "Province/State"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:State>" & State & "</photoshop:State>" & return
    end try
    try
    set Source to value of IPTC tag "Source"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Source>" & Source & "</photoshop:Source>" & return
    end try
    try
    set Instructions to value of IPTC tag "SpecialInstructions"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Instructions>" & Instructions & "</photoshop:Instructions>" & return
    end try
    try
    set SupplementalCategory to value of IPTC tag "SupplementalCategory"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:SupplementalCategory>" & SupplementalCategory & "</photoshop:SupplementalCategory>" & return
    end try
    try
    set CaptionWriter to value of IPTC tag "Writer/Editor"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:CaptionWriter>" & CaptionWriter & "</photoshop:CaptionWriter>" & return
    end try
    set xmpcontentparttwo to xmpcontentparttwo & ("</rdf:Description>") & return
    else
    set xmpcontentparttwo to ""
    end if
    --xmp content, part 3
    --check for existence of iptc tags, create content or empty string depending on existance of tags
    if (exists IPTC tag "Byline") or (exists IPTC tag "Caption/Abstract") or (exists IPTC tag "CopyrightNotice") or (exists IPTC tag "Keywords") or (exists IPTC tag "ObjectName") then
    set xmpcontentpartthree to ("<rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1/'>") & return
    try
    set creator to value of IPTC tag "Byline"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:creator><rdf:Seq><rdf:li>" & creator & "</rdf:li></rdf:Seq></dc:creator>" & return
    end try
    try
    set description to value of IPTC tag "Caption/Abstract"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:description><rdf:Alt><rdf:li xml:lang='x-default'>" & description & "</rdf:li></rdf:Alt></dc:description>" & return
    end try
    try
    set rights to value of IPTC tag "CopyrightNotice"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:rights><rdf:Alt><rdf:li xml:lang='x-default'>" & rights & "</rdf:li></rdf:Alt></dc:rights>" & return
    end try
    --keywords, slightly different, as they need to be written as a list and not as a string
    --i don't think it's a problem if we create an empty list if there are no keywords present.
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:subject><rdf:Bag>" & return
    --make list item for every keyword
    try
    repeat with n from 1 to count of keywords
    set cursubject to name of (keyword n)
    set xmpcontentpartthree to xmpcontentpartthree & tab & tab & "<rdf:li>" & cursubject & "</rdf:li>" & return
    end repeat
    end try
    set xmpcontentpartthree to xmpcontentpartthree & tab & "</rdf:Bag></dc:subject>" & return
    try
    set title to value of IPTC tag "ObjectName"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:title><rdf:Alt><rdf:li xml:lang='x-default'>" & title & "</rdf:li></rdf:Alt></dc:title>" & return
    end try
    set xmpcontentpartthree to xmpcontentpartthree & ("</rdf:Description>") & return
    else
    set xmpcontentpartthree to ""
    end if
    --part four. aperture doesn't seem to export anything there
    set xmpcontentpartfour to "<rdf:Description rdf:about='' xmlns:photomechanic='http://ns.camerabits.com/photomechanic/1.0/'>
    </rdf:Description>" & return
    --part five. rating
    set xmpcontentpartfive to "<rdf:Description rdf:about='' xmlns:xap='http://ns.adobe.com/xap/1.0/'>" & return
    try
    set Rating to main rating
    set xmpcontentpartfive to xmpcontentpartfive & tab & "<xap:Rating>" & Rating & "</xap:Rating>" & return
    end try
    set xmpcontentpartfive to xmpcontentpartfive & "</rdf:Description>" & return
    --join everything
    set xmptext to xmpheader & xmpcontentpartone & xmpcontentparttwo & xmpcontentpartthree & xmpcontentpartfour & xmpcontentpartfive & xmpfooter
    --write file
    my writexmpFile(xmptext, xmpPath)
    end if
    end tell
    end repeat
    display dialog "Processed " & mastercount & " referenced and online image(s)." buttons {"OK"} default button 1
    end tell
    end run
    -- write xmp sidecar file routine
    on writexmpFile(theContents, xmpFileName)
    --tell application "Finder"
    try
    open for access xmpFileName with write permission
    set eof of xmpFileName to 0
    write (theContents) to xmpFileName starting at eof
    close access xmpFileName
    on error
    try
    display dialog xmpFileName
    close access xmpFileName
    end try
    end try
    --end tell
    end writexmpFile
    --this part copied from Brett Gross-------------------------------------------------------------------------- --------------------------------
    on getLibPath()
    tell application "System Events" to set p_libPath to value of property list item "LibraryPath" of property list file ((path to preferences as Unicode text) & "com.apple.aperture.plist")
    if ((offset of "~" in p_libPath) is not 0) then
    -- set p_posix to POSIX file p_libPath
    set p_script to "/bin/echo $HOME"
    set p_homePath to (do shell script p_script)
    set p_offset to offset of "~" in p_libPath
    set p_path to text (p_offset + 1) thru -1 of p_libPath
    set g_libPath to p_homePath & p_path
    else
    set g_libPath to p_libPath
    end if
    end getLibPath
    --end brett gross part

    imigra wrote:
    I've written a script to write xmp sidecar files for referenced and online images (the 2 conditions in the script) of the selected images. I looked for a while at system events and other stuff to be able to write the xmp file, but i'm not a programmer, so in the end i chose the long and dirty way to do it.
    This script will export all iptc expanded fields as aperture does (creating basically the same file). It can be easily adjusted to include other tags, even custom ones.
    Excellent stuff!
    I don't know how to get at the adjustments for images, otherwise those could be included as well.
    They are stored as binary data in the Version XML files at the bottom level of the Library package. You can also have a look around in the ZRKIMAGEADJUSTMENT table, but again the actual settings for each adjustment are in binary form.
    If anyone has the energy to clean this up and make it faster, feel free to do so.
    As far as I can remember, Aperture uses the 'proper' IPTC tag names when accessing them via AppleScript, so you may be able to do a loop through all the IPTC tags for each image, rather than picking out each specific one. But that would need checking. The EXIFTools site is a good place to find out about the different ways that IPTC data can be described.
    Next, I'm going to try to write a script to do the opposite, import xmp sidecars for imported online and referenced files.
    Don't rush unless you feel like it - I've already started planning out a free (as in beer and speech) XMP importer with a GUI so that you can choose how to map the XMP CORE tags that don't exist in Aperture. You've given me an extra idea, though - if we can decide on a set of custom tags, my importer could map the XMP CORE tags to them and your exporter could export those tags.
    Thanks for the work!
    Ian
    P.S. I'll check through your script tomorrow, some of the database tables changed between 1.5.6 and 2.0, so you might need to add in a version check to be really thorough.

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi
    DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
    Two main
    sections:
    1)     
    Perform
    write and read operations to and fro different spread sheet files, such that
    each file have a single row of 32bits different binary data (analogous to 1D
    array) where the left most bit is the MSB. I don’t want to manually enter the
    32 bits binary data, I want the data written or read just by opening a file
    name saves with the intended data.
          2)     
    And
    by using test patterns implemented using the digital pattern generator or  build digital data functions or otherwise, I need to
    ensure that the     
                binary data written to a spreadsheet file or any supported file type
    then through the NI-USB 6509 is same as the data read.
    I’m aware I can’t use the simulated
    device to read data written to any port but if the write part of the vi works I
    ‘m sure the read part will work on the physical device which I’ll buy later.
    My Plan
    of action
    I’ve
    created a basic write/read file task and a write/read DAQ task for NI USB 6509
    and both combine in a while loop to form a progress VI which I’m confuse of how
    to proceed with the implementation.
    My
    greatest problem is to link both together with the correct functions or operators
    such that there are no syntax/execution errors and thus achieve my intended
    result.
    This
    project is one of my many assignments for my master thesis, so please i’ll
    appreciate every help as I’m not really efficient with LabVIEW programming but
    I prefer it because is fun and interesting if I get to know it.
    Currently I’m
    practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
    simulated device.
    Please see
    the attached file for my novice progress, thanks in
    advance for the support
    Rgds
    Paul
    Attachments:
    DIO_write_read DAQ from file.vi ‏17 KB

    What does your file look like?  The DAQmx write is expecting a single U32 value, not an array of I64. 
    Message Edited by vt92 on 09-16-2009 02:42 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • How to perform Auto Save using Enhancement Id.

    Hi,
    I am working on an enhancement object in which i have to perform Auto Save functionality,when particular enhancement ID is active.
    To check activity status of the enhancement ID, function module 'Z_CC_CHECK_ENH_ACTIVE'  is used.
    When the enhancement id is active everything should be Auto Save.
    As in current functionality SAVE button is provided but now it needs Auto Save.
    Please suggest....
    Regards.
    Amit

    Hi,
    firstly there are two threads for the same issue from youself(excluding this one) which is a waste of others time so kindly refrain from doing so and use one thread.
    OWB: how can automatic updation  perform in staging database using OWB
    OWB: how to use insert/update table operator for target table
    secondly, with regards to the options , here are some options:
    1. Use trigger for update.
    2. Use materialized view(refresh on commit)
    3. Use oracle advance queing mechanism (OAQ) for queing the recent inserted/updated records.
    Kindly close other threads and maintain just one thread.
    Regards
    Message was edited by: Rado
    user647181

  • Where is saved the Preference for "Write XMP IDs to Files on Import"?

    Hello,
    In a Jsx, I test if the "CreateLayerMarkersFromFootageXMP" is activated in the AE preferences with:
    app.preferences.getPrefAsBool( "Metadata", "CreateLayerMarkersFromFootageXMP" );
    But I cannot do the same for this one:
    "Write XMP IDs to Files on Import", which is also in the Preference Panel, but not saved in the Preference files I think.
    Or if it's saved in, where? And how can I check it in ExtendedScript?
    Thanks.

    It appears that the Metadata section only carries that one pref it seems.
    ["Metadata"]
              "CreateLayerMarkersFromFootageXMP" = 01
    The only other XMP prefs I've found in the AE CC files are:
    "Adobe After Effects 12.1 Prefs.txt"
    ["Metadata"]
              "Strip project XMP history from rendered output" = 00
              "Strip project XMP history from saved projects" = 00
    ["XMP Writing"]
              "Maximum retries" = "5"
              "Seconds between retries" = "1.000000"
    "Adobe After Effects 12.1 Prefs-indep-general.txt"
    ["Metadata"]
              "CreateLayerMarkersFromFootageXMP" = 01

  • Turning on 'write xmp files' in LR 5.4 changed the modified date on my old raw and jpg files. Can i stop this?

    On the advice of an article saying XMP sidecar files are a safer alternative to relying only on the catalog, I recently (June 16, 2014) turned on write XMP files. Now all my JPG and raw files have the same modified date of June 16, 2014, making it impossible to know which are the most recent files, etc.
    Is it possible to change this behavior to only create these files for new images - or to stop this behavior?
    I'm reverting to a backup of all my files and turning this option o ff for now.
    Thx

    I assume your raws are in DNG format? If xmp is in sidecar, it won't change raw file date.
    Anyway, saving xmp does not change any dates in Lightroom, so you should still be able to sort by edit time or capture time...
    But if you want control, you have to save manually instead of automatically.
    Two things that might help:
    1. Filter based on metadata status.
    2. robcole.com - DNGPreviewUpdater
    Rob

  • Premiere Pro CC v7.0 - MP3s corrupted during import with "Write XMP ID to Files on Import"

    Premiere Pro CC v7.0 - original MP3s corrupted during import with default "Write XMP ID to Files on Import" option
    I have just started using a Trial version of Premiere.
    I have a folder full of corrupted MP3 files after attempting to import them into Premiere.
    After searching these forums I found that some other people have had corruption issues during import of media and it was related to the Preferences->Media->"Write XMP ID to Files on Import" option.
    I attempted to import additional MP3s (this time making backups first) with and without the Write XMP ID option, and have found that this is where the issue is.
    While the MP3 files still fail to be imported, the files are not corrupted in the process when the Write XMP ID option is unchecked.
    Writing to files that are being imported seems to me like unexpected behaviour for any software.
    Adobe please advise!
    Is there any way to recover my original MP3 collection?

    What exactly is wrong with them?

  • Write xmp data to video file

    I would like to somehow write some xmp data (timecode, camera, shutter speed, aperature) to my video files in an automated fashion without using Adobe Bridge. I want to do this so Adobe Premiere and Adobe Bridge can be able to read this data directly from my media files. This seems like a simply thing to want to do but it's proven very difficult. I have not found any commandline utilities that can write xmp data to a video file (exiftool doesn't support it). I have also found that Premiere in most of the time doesn't like to read sidecar xmp files which I can produce easily.
    Any ideas?

    Unfortunately I'm on windows. What I was looking for is adding timecode xmp start code to *.mov files from Canon 7d or 5d so I have timecode to use throughout Premiere which would make my editing much easier as we shoot approximately 100 video clips in the wedding ceremony and need to edit that in multicam w/ 2 other cameras running the entire time.
    I did some more research and was able to add this metadata using xmp to the MOV files however unfortunately premiere completely ignores this data. Seems like premiere only accepts using timecode data for DV or MXF files and no others (tested CS5 and CS5.5). What a shame! It seems like this should be much easier thing to do. I know it's pretty easy using FCP and if Adobe is really trying to lure away FCP users, they should get something this basic running smoothly.

  • Write XMP Files

    I need to write xmp files. These files will I then be imported in other applications like PhaseOne's Media Pro. The rest of my application is writen in C# so I need something that works with C#. Are there any libraries to do this? Ideally, there is some xmp object that can be serialized.

    The only way that I could get Lightroom to write the xmp files for these specific files was to make a change to all of them AND I had to turn on Automatically write changes to xmp files in the catalog preferences section. If this option was not set, even after making a change to the files, Lightroom would not create the xmp files.
    So I finally got the program to create the xmp files, I just can't understand what's different about these 93 files that insisted on having xmp writes turned on globally before any xmp files could be created. I turned off this global setting after creating the needed files.
    The whole purpose of this exercise was to change the Lense Description to a Sigma 10-20mm F4 from a Tamron lense. I found a shareware program that allowed me to select a directory of files and make a global edit to all 93 xmp files at once. I then read the XMP files back into Lightroom and everything is right with the world.
    Is the option of NOT changing the lense designation within Lightroom a XMP limitation or is this a design decision of the LR engineering team? It sure would be nice to have the option to PAINT the changes (in this case lense description) from one image to the rest of the group, if one chose to do this.

  • After Effects - Warning: failed to write xmp metadata

    I have a couple of users who are saving a render job to a network share using After Effects. Towards the end of the render, they get a warning saying "failed to write xmp metadata" It does not ruin the render or anything. It just shows the warning. They have full access rights to the share. What is causing this error?

    They are successfully able to render to their local hard drive without any error and the error is only occuring with wmv output but not avi. Where exactly are the settings for XMP so that it can be configured properly?
    But since they can render to the local hard drive without any errors there must be something that AE doesnt like about rendering to a share. What could that be?

  • LR slow when writing keywords, XMP auto write turned off

    Here's a strange one: If I manually write keywords into LR with even just one file selected, LR will hang for ~30s when I commit the changes. If I use a button from the keyword set to add a keyword, it moves along just fine.
    Per advice here, I've turned off indexing on all my drives, turned off XMP autowrite, optimized the catalog, and still it hangs.
    Any suggestions?

    I forgot to mention but I tried doing that too. I have thousands of keywords as I shoot a lot of stock:( In fact, in the "Keyword Tags" panel on the left side, I can only scroll down as far as the keywords that start with "G". Seems like that may be the issue although I find it strange that LR can't accommodate that many keywords when it's an essential part of a photo library.

  • Easiest way to write XMP data or files into a PDF file

    Hi,
    I wrote a little Adobe Air application, which is intended to generate XMP files for being imported into PDF files. Now I'm searching for the most efficient solution to import these XMP files. I'd be happy if I could select a PDF file from my Adobe Air application and write the metadata into the file, but I didn't find any library to this. Another option is something like a hotfolder. I try to avoid to import these files one by one. Could someone please give me a hint?
    I'd be very glad!
    Thank you beforehand!
    Stefan

    Hi,
    Thanks for your suggestion.
    My experience is more in Postgresql, sql server and ms access. So I can handle sql command better than java.
    According to your suggestion, I come out following design.
    Design:
    1. Use SQL Developer to developer a copy stored procedure.
    - The store procedure will copy ONE row of main data and data in related data table.
    - use database link to access remote database.
    - handle transaction and return error message if got error.
    - update data if the data already copied into destination database.
    2. A java program perform following tasks:
    a. Use jdbc install the stored procedure in #1 into database by "CREATE OR REPLACE FUNCTION ..."
    b. load copy data list from a file.
    c. a loop to call installed stored procedure. Pass one main row per time into stored procedure.
    d. print each main row copy result to stdout in the loop and stop if error happened.
    So, I just need to pass the java program to operator.
    Please tell me if you have any better idea or easier way to implement. Maybe, another possible solution is use shell script to execute sql command in sqlplus. :)
    Thanks,
    Regards,
    Hing Cheow Yong

  • How to write XMP changes back to Photoshop DOM in CS SDK?

    Hello,
    I'm learning to use the ActionScript library for XMP in conjunction with the CS SDK to build Photoshop panels.
    I see from the Extension Builder samples that the AssetFragger application demonstrates how to use XMP for annotating comments to image files in Illustrator using com.adobe.illustrator.  In the runSet() method the XMP data is manipulated then the changes are stored in the document.  So after creating a new XMP node ( XMPArray.newBag() ) it uses doc.XMPString to write the serialized XMP back to the document, then sets doc.saved = false.
            public function runSet():void
                var app:Application = Illustrator.app;
                var doc:Document = app.activeDocument;
                var updateText:String = AssetFraggerModel.getInstance().xmlTextNugget;
                 var xmpString : String = doc.XMPString;
                var xmpMeta : XMPMeta = new XMPMeta(xmpString);
                var ns : Namespace = new Namespace(xmpMeta.getNamespace("xmp"));
                xmpMeta.ns::AssetFraggerDescription = XMPArray.newBag();
                xmpMeta.ns::AssetFraggerDescription[1] = updateText;
                var tmp : String = xmpMeta.serialize();
                doc.XMPString = tmp;   
                doc.saved = false;
    However, using com.adobe.photoshop instead, the XMLString property on the Application activeDocument instance is not available, the doc.saved property is not modifiable (marked as read-only), and the Photoshop Application activeDocument has a xmpMetadata.rawData property available whereas Illustrator did not.  The Photoshop activeDocument.xmpMetadata.rawData is marked as read only, so it can be used to get the plain XMP as a string directly, but once modified the XMP cannot be updated in that property.  Example:
            public static function traceXMP():void
                var app:Application = Photoshop.app;
                var doc:Document = app.activeDocument;
                var xmpString:String = doc.xmpMetadata.rawData;
                var xmpMeta:XMPMeta = new XMPMeta(xmpString);
                var metaXML:XML = xmpMeta.serializeToXML();
                var Iptc4xmpCore:Namespace = new Namespace(XMPConst.Iptc4xmpCore);
                // demonstrate that a leaf in IPTC can be changed and written to the trace console
                xmpMeta.Iptc4xmpCore::CreatorContactInfo.Iptc4xmpCore::CiUrlWork = 'http://test.com/';
                trace(ObjectUtil.toString(xmpMeta.Iptc4xmpCore::CreatorContactInfo.Iptc4xmpCore::CiUrlWor k.toString()));
                // but now how to write the XMP change back to the Photoshop DOM?
    My question is, for a given image file exported as from Lightroom that is rich in custom IPTC metadata, how does one update the metadata in Photosohp via XMP and the CS SDK?  I was not able to extract this information from the Advanced Topics: Working with XMP Metadata chapter of the CS SDK documentation
    A real, and complete code example would be greatly appreciated over a pseudocode example.
    Thank you in advance.
    Steven Erat

    Ah ha.  Found the problem, thanks to Ian.  When I saw the inline help appear in Extension Builder for app.activeDocument.xmpMetadata, it indicated that the node as [Read Only], however, the leaf app.activeDocument.xmpMetadata.rawData is in fact not read only. I incorrectly assumed rawData was not writeable when in fact it is.

Maybe you are looking for

  • MSI 560 TI GTX OC Twin Frozr II Issue

    Computer Specs CPU:Intel I5 2500K MoBo:Asrock Z68 Extreme 4 Gen 3 Memory:Gskill Ripjaw 1600 PS:Corsair 850TX 850W Windows 7 64BIT So I built this Computer going on two weeks ago or so and after putting everything together and installing all the softw

  • I am looking for a way to use a form as a review stamp.

    I have created a form for a shop drawing "stamp". I have then created a custom stamp using the form. the form is attached. The problem is when I insert the "stamp" in a document, the form items are no longer accessible or addressavle. Is there a solu

  • Error when calculating costs: KL023

    Hi, I have the following requirement: The user when saves a production order (tcode CO01) and if there are no activity type/cost center rates maintained then an error message pops up (message no. KL023). However the user can save the prod. order. Now

  • Leopard DVD Vista Tracks not showing up on iTunes Music Library.

    Yet again, another obstacle in what I thought would have otherwise been the simple task of converting iTunes purchases to audio CD. My MacBook is refusing to do ANYTHING with CD-Rs, so I am trying to drop some purchases from a DVD back-up burned on m

  • After copying the audio from one project to another, there is only silence?

    I am working in Adobe Premiere CS4. Because of an error with one of my projects, I wound up just copying all the video as well as the audio (which has a bunch of fadeouts/intricate splices) to another project. When I try to play the audio in the time