Xmp sidecars for images moved to dvd
I have only one catalog with a folder where I put all my images (organized in sub folders). In the catalog settings / metadata tab I marked the option "automatically write changes into xmp". When I change any parameter for the image in the develop module, automatically a XMP is created/updated in the same folder where the image is located.
From times to times I move some folders to DVDs for archiving and to free HDD space. When I do that, I simply record the entire folder (including RAWs, JPGs, PSDs, XMPs, etc) to a DVD-R and delete it from the HDD. Then I import it (from current location, creating previews) back to Lightroom.
I'm happy with this system and it's working ok, except for the following:
I had modified some developing parameters for the DVD's images (after they were recorded and deleted and reloaded from the DVD) but the .xmp files are not updated, since they are read-only now. I want to export the modifications I made after the archiving to refresh the DVD's XMPs with the new ones, but I don't know how. I tried to export as catalog, but no .xmp files are created this way.
The question is: How to export/backup updated XMPs for the read-only media files?
Any idea?
thanks
[windows xp / lightroom 1.3.1]
"unless you need to open the files from Bridge or directly in Photoshop."
Yes, I want to have the XMP settings readily available so I can use the files in other computer(s) that has only Photoshop (not Lightroom).
The answer on flickr says: "move the image+xmp back into your working environment, make your changes and then move to another dvd-r and re-import next time you need to free space"
Well, I already did the changes for the files that *are* on DVD-r. The changes are stored in the Lightroom catalog and I don't want to lose them. I just can't find a way to export them other than exporting as catalog and that way I can't use the updated settings on the other computer I have. Plus I don't like to waste disk space with a big catalog file if the XMPs are so small and do what I want.
Similar Messages
-
Problems reading .xmp sidecar files after moving .nefs in bridge CS6
Problem with CS6 beta. Whenever I move a set of edited (using LR4 with metadata saved to folder) .nef files in bridge to new folder, the .xmp files are not recognised in bridge. They are thre if you look in Windows explorer. If I then find the files in LR4 and resave the adjustments, then becomes visible again. Consistent error on each attempt in different folders. Move was via Ctrl A + dragging in bridge. .nefs were form a Nikon D3.
Photoshop info:
Adobe Photoshop Version: 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 3640 MHz
Built-in memory: 12278 MB
Free memory: 8453 MB
Memory available to Photoshop: 10978 MB
Memory used by Photoshop: 85 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: ATI Radeon HD 5800 Series
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1600, right: 2560
Video Card Number: 1
Video Card: ATI Radeon HD 5800 Series
OpenCL Unavailable
Driver Version: 8.850.0.0
Driver Date: 20110419000000.000000-000
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 2560 x 1600 x 4294967296 colors
Video Card Caption: ATI Radeon HD 5800 Series
Video Card Memory: 1024 MB
Video Rect Texture Size: 16384
Serial number: Tryout Version
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\STEVEN~1\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
J:\, 139.7G, 53.8G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/01/18-15:07:40 66.492997 66.492997
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/02/09-16:00:02 4.0.93 66.496052
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1642
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 5,0,10,0
AGM.dll AGM 2012/01/18-15:07:40 66.492997 66.492997
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/01/18-15:07:40 66.492997 66.492997
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/01/18-15:07:40 66.492997 66.492997
BIBUtils.dll BIBUtils 2012/01/18-15:07:40 66.492997 66.492997
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/01/18-15:07:40 66.492997 66.492997
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Collada 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Embed Watermark 4.0
Entropy 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Extrude 13.0
FastCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Maximum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Mean 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Measurement Core 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Median 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Mezzotint 13.0
Minimum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
MMXCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
PG-Processor 2.0.0
Photocopy 13.0
PhotoKit Capture Sharpener 2 2.0.3
PhotoKit Creative Sharpener 2 2.0.3
PhotoKit Output Sharpener 2 2.0.3
PhotoKit Preview Helper 2.2.2
Photoshop 3D Engine 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Picture Package Filter 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Pinch 13.0
Pixar 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
PixelGenius Toolbox 2.2.5
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Range 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0
Shear 13.0
Skewness 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Sumi-e 13.0
Summation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
U3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Underpainting 13.0
Vanishing Point 13.0
Variance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Variations 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Viveza 2 2.0.6.16608
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
WIA Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Wind 13.0
Wireless Bitmap 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
Camera Raw 7.0
Color Efex Pro 4 NO VERSION
Color Efex Pro 4 NO VERSION
HDR Efex Pro 1,202
HDR Efex Pro Metadata 1,202
iCorrect EditLab Pro 6.0 5.5.0r1
Merge to HDR Efex Pro 1,202
Nik Selective Tool 2.1.3.17710
PTLens 8, 7, 8, 17
Sharpener Pro 3.0: (1) RAW Presharpener 3.0.8.17631
Sharpener Pro 3.0: (2) Output Sharpener 3.0.8.17631
Silver Efex Pro 2 2,004
Silver Efex Pro 2 2,004
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEHi Trevor, thanks for replying. Yes, as I said moving files directly in bridge. The standard functionality (since I have been using bridge back in CS2) was to move the .xmp files along with the .nef files (although you only see the .nef files directly in bridge). When I say not reading .xmp files I mean that none of the adjustments are visible in the target bridge folder, equally the icons you would normally see on the top RHS showing adjustments have been made are no longer visibile (remember that I have cheked using windows explorer that the .xmp files did succesfully migrate to the target folder). Having been using CS5 bridge on the same machine for several years and have never had this lack of functinonality, therefore I am reporting it as a potential bug in CS6 beta bridge.
I should also confirm that before they were moved, no problems at all in opening the .nef files in camea raw 7.0 and all edits honoured. -
One chapter for video and another for images on same DVD?
Hello,
I don't yet have a Mac, but am very close to buying a MacBook. I do have a question about iDvd. Is it possible to create a theme or template or to even do this. I want to on a regular basis have a short 5-7 tops 10 minute video and 100-200 pictures. I'd like it so the user has the option to click one chapter and watch the video. Click the other and view the images with an option to browse the disc and save the images for uploading to their target of choice such as FB. Is this possible with iDvd?
Thanks,
BKHello and Welcome to the discussions!
Congratulations on being an 'almost' Mac purchaser!
Yes, you can do what you want in iDVD.
You will have theme templates that come with iDVD to use to make a nice theme for your projects.
You will have the options to have the videos play individually by placing them on the menu one at a time, or to put them in iDVD the way you place a slideshow and have them play consecutively. Here is a link to a visual from Old Toad showing just that. Remember to look at this again when you get to this point:
http://homepage.mac.com/toad.hall/.Pictures/Forum/iDVD8movieSS.png
Another option for videos is to put them all into one iMovie and make chapters for each video. However, the chapters will not appear on the main menu, but in a separate submenu.
You can then put the photos in iDVD as their own separate slideshow.
When your DVD is viewed, the options will be to select to play the video slideshow or play the photo slideshow. You can rename these titles whatever you wish.
If you make an iMovie, the options for it will be 'Play Movie' and 'Scene Selection' ( to link to the submenu with the iMovie chapter choices) and the same photo slideshow.
In additiion, you can utilize the DVD-ROM option to have the photos and videos available for downloading to computer. This option will not be seen when the DVD disk is viewed on a set-top DVD player. iDVD's Help File says:
+In iDVD, you can easily make it possible for viewers to download the photos and movies that appear in your slideshows. This is a nice feature for viewers who may, for example, want to print the photos for permanent display.+
+The photos and movies are added to the DVD-ROM portion of your DVD, and viewers can access them when they insert the DVD into the drive on a computer. (The files are not accessible from a TV.)+
Get the MacBook! Good luck with your projects. Take the time to do all the tutorials Apple offers for its iLife applications. Spend time here in the discussions for the apps you are using. Utilize the Search function to see if someone else has asked and received answers to a problem similar to yours. You will learn a lot and find answers that even the Apple Genius bar people do not have!
Message was edited by: Beverly Maneatis -
How do I force lightroom to (re)load an XMP sidecar file?
Good morning from Boston!
I am new to Lightroom and just finished importing my Aperture library into Lightroom 5 on a Mac. For that, I followed the instructions on Adobe's landing page and Lightroom solutions. For those not familiar with the instructions, you essentially export all your originals with an XMP sidecar file and then export all the adjusted/edited files as 16-bit TIFFs. Then you add them all back into Lightroom and get everything back into Catalogs, Labels, Ratings, and such by using keywords that were added while in Aperture. It took forever, but worked pretty well overall. I had about <1% fewer images in LR5 than in Aperture, which were likely suspected duplicates. So far, so good.
Here's is my problem. My keywords didn't always transfer over (the Keywording panel is empty). I did search forums and plug-ins, but seem to only find issues related to EXIF and GPS data. I also used "Metadata:Read Metadata from File" and "Metadata:Update DNG Preview & Metadata," which didn't do anything. I am suspecting that "Read from File" means "read from the image file itself but not from the sidecar file." Take file IMG_5888 as an example. This particular one was taken as RAW (.CR2) + JPEG on a Canon Rebel XS, but I am having the same issue with RAW only on my Canon EOS 6D. Same goes for JPG + XMP. Puzzling thing is that other files loaded just fine.
In the directory/folder where the file is, it looks like this:
IMG_5887.CR2
IMG_5887.JPG
IMG_5887.XMP
IMG_5887.dng
IMG_5888-2.JPG
IMG_5888.CR2
IMG_5888.JPG
IMG_5888.XMP
IMG_5888.dng
IMG_5889-2.JPG
IMG_5889.CR2
IMG_5889.JPG
IMG_5889.XMP
IMG_5889.dng
The .dng were generated by Llightroom. Now, the sidecar files typically have something like so in them (I cut out some keywords for clarity—you get the idea):
<rdf:Description rdf:about='' xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>
</rdf:Description>
<rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1/'>
<dc:subject><rdf:Bag>
<rdf:li>Black Head Trail</rdf:li>
<rdf:li>Cliffs</rdf:li>
<rdf:li>Maine</rdf:li>
<rdf:li>Monhegan</rdf:li>
<rdf:li>RAW</rdf:li>
<rdf:li>Sunrises</rdf:li>
<rdf:li>United States</rdf:li>
<rdf:li>Waves</rdf:li>
</rdf:Bag></dc:subject>
</rdf:Description>
So, the keywords were exported from Aperture, but for some reason, Lightroom isn't always loading them from the XMP file.
On a related note, the keyword hierarchy that was exported as text file from Aperture and imported into LR5 worked well. Everything appears to be there and in its place.
Any ideas for a Lightroom rookie as to how I can get LR5 to read those XMPs? Over 20,000 didn't tag, so I would rather not do this by hand!
Many thanks in advance,
PaulJohn, what a pleasure. Well, here is the update. First, copying over 300GB of pictures to a drive and then backing up said drive takes a bloody long time. But here is what happened, for others who might run into the same issue.
I first tried a small set of files to narrow down whether the issue was the Aperture export or the Lightroom import.
Conclusion: the "issue" is mostly on the Lightroom side.
What I found: Although Aperture will export an XMP sidecar for a JPEG, Lightroom will not read it, ignoring all keywords. I exported a set of JPEGs only and then opened the XMPs with an editor (well, the UNIX cat command, to be exact). The information was there, keywords and all. However, LR appeared to ignore XMP for JPEG. That said, if you have a RAW+JPEG in Aperture, the RAW XMP sidecar will overwrite the JPEG one, effectively leaving you with only the keywords for the RAW version. That shouldn't be an issue for most, but just in case you have different keywords for your RAW and JPEG images, be aware of this.
What I did:
Back up all the images and catalogs/libraries from Aperture and LR.
Make sure #1 worked out.
Make sure #1 worked out (not a typo; you really need a backup, as you will find out below).
Delete the old JPEG files that were uploaded into LR. I had them in a From Aperture folder, as instructed by John's article and Adobe's landing page (referenced in John's article), so I deleted all JPEGs in that folder. My Aperture database was not affected and in fact resides on a different drive.
Run find . -iname "*.JPEG" -delete [if you do not know how 'find' works, ask someone, as this can potentially delete every single file accessible to your computer!]
Run find . -iname "*.JPG" -delete [ditto! Don't tell me I didn't warn you!]This is why you need to backup everything. I was deleting copies/exports of the originals in Aperture (again, read John's article for the difference) and still had the originals in Aperture, on a different drive.
[I didn't worry about the unmatched/orphaned XMP files for the JPEGs only; they are tiny and don't hurt.]
In LR, select 'Library:Find All Missing Photos.' If asked, remove them from the Catalog only.
Create a Smart Album in Aperture and include only 'Filetype is JPG.'
Select all images in that album.
Export those original images per Adobe's landing instructions, but for this set of images, select 'Include IPTC' instead of creating a sidecar file.
When Aperture is done, open LR and Add the whole 'From Aperture' folder back to LR (make sure 'Ignore suspected duplicates' is selected.
John, as you rightfully pointed out, this is tricky. If my experience is any indicator, I would suggest migrating in 3 steps:
Export all RAW originals with IPTC in XMP sidecar files.
Export all non-RAW originals (which I would guess are mostly JPEGs) with IPTC included. (not a sidecar)
Export all versions as 16-bit TIFF.
If #2 is added, then the process is actually most straightforward. Steps 1–5 in the first block above were to clean up the mess that I had created and should not happen otherwise (famous last word...)
If the above is unclear, please let me know and I will expand on it. If I had the issue, I suspect others will as well.
Thank you for your help and suggestions. I am officially migrated to LR and up and running!
Cheers from Boston,
Paul -
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 partimigra 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. -
Re: updating XMP sidecar-file for NEF files
[Reply to a message mistakenly posted in the SDK forum:
http://forums.adobe.com/thread/1158444?tstart=0]
Adobe has stated that LR 3.4 and later follow the standard "Guidelines For Handling Image Metadata" from the Metadata Working Group, which incorporates the EXIF and IPTC standards. Adobe continues to make incremental improvements to LR's metadata handling, so I'll just focus on the behavior of the current release, 4.3. Following the detailed steps you posted:
LR 4.3 does not add Photoshop:Urgency to the .xmp sidecar. As you've observed, Photoshop:Urgency is a deprecated field not part of the IPTC Core, so that makes sense.
LR 4.3 does copy the XMP field MicrosoftPhoto:RatingPercent from the .nef to the .xmp, but it doesn't update that field when you change the Rating in LR. Both of these behaviors make sense. RatingPercent is not part of the standards supported by LR, so of course it won't update that field. But it is part of the XMP metadata in the .nef, and tools should in general preserve all of the XMP metadata, even if they don't use it or know how to interpret it (XMP = "Extensible Metadata Platform").[Reply to a message mistakenly posted in the SDK forum:
http://forums.adobe.com/thread/1158444?tstart=0]
Adobe has stated that LR 3.4 and later follow the standard "Guidelines For Handling Image Metadata" from the Metadata Working Group, which incorporates the EXIF and IPTC standards. Adobe continues to make incremental improvements to LR's metadata handling, so I'll just focus on the behavior of the current release, 4.3. Following the detailed steps you posted:
LR 4.3 does not add Photoshop:Urgency to the .xmp sidecar. As you've observed, Photoshop:Urgency is a deprecated field not part of the IPTC Core, so that makes sense.
LR 4.3 does copy the XMP field MicrosoftPhoto:RatingPercent from the .nef to the .xmp, but it doesn't update that field when you change the Rating in LR. Both of these behaviors make sense. RatingPercent is not part of the standards supported by LR, so of course it won't update that field. But it is part of the XMP metadata in the .nef, and tools should in general preserve all of the XMP metadata, even if they don't use it or know how to interpret it (XMP = "Extensible Metadata Platform"). -
Windows 8.1 is facing a problem while taking System Image Backup on DVD, it pops an error saying 0x80040154 and more it says that class is not registered , i am trying from days to find some optimum solution for it apart from taking it on external
hard drive...any suggestion please let me know asap!
regards!
Hi,
Check this article first:
0x80040154 error may occur when you create a system image backup in Windows 8.1
http://support.microsoft.com/kb/2934165/en-us
Please capture the system event during you reproing this issue by using Process monitor:
Process Monitor v3.05
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
If there is any Access denied error, follow this blog to solve this issue.
Solving Access Denied Errors Using Process Monitor
http://improve.dk/solving-access-denied-errors-using-process-monitor/
You can also upload the saved log file here for our research. Please upload them to a file sharing service like Skydrive or "Rapidshare" and put a link to them in your reply.
Kate Li
TechNet Community Support -
- I have 'Automatically write changes ino XMP' checked
- I have not moved my catalog or files for years and only continue to add files to my catalog.
ISSUE:
I made some accidental global changes to about 600 .cr2 raw images and to save me time in recovering from each change I made, I closed Lightroom and then deleted the sidecar .xmp files in the folder. I then copied the .xmp files from a backup created and then launched Lightroom again- there was no indication that the metadata had been changed and thought that was odd. I right-clicked on the folder and slected 'Synchronize Folder' and the only option was 'scan for metadata updates' so I tried to synchronize from there- still no changes made to the image previews. The Metadata -> Sync Metadata option was grayed-out so that wasn't an option either.
What I finally had to do was highlight all the files in the Library module and select Photo -> Read Metadata From Files and ONLY after that did the previews update and read from the newly imported .xmp files.
So, my question is WHY did Lightroom not see that the .xmp files were changed as I have experienced in the past?I would have done Read Metadata from Files as my first choice.
From what you say, the LR metadata data was newer than the XMP metadata date and LR’s metadata updated date was newer than the XMP file-modification date so why would LR overwrite its newer metadata with older XMP metadata with a Synchronize? It might have worked the way you wanted if you had changed the file-modification date to be something current, by using a “touch” command or editing the contents of the XMP files, but LR seems to have done the right thing by not updating its internal metadata from and older XMP file using Synchronize and requiring an explicit command to do so.
It used to be impossible to update XMP files to the current set of edits if LR thought the metadata was current even if you explicitly commanded it to Write Metadata to Files, so Adobe has made adjustments to how LR and sidecars work together.
If LR used to revert edits based on older XMP sidecar files, that sounds wrong, and probably Adobe has fixed things to work in a more safe manner.
Do you remember if you saw an ! on the thumbnails indicating a metadata conflict or was LR completely unaware that the XMP files had been reverted to an earlier copy? -
Location of xmp data for jpg photo
Scenario:
Edit a jpg photo in LR (let's call it photoname.jpg) - add cropping etc. Tell lightroom to "write metadata to file" (CTRL-S in XP).
I cannot see the associated .xmp file in windows explorer..... however, going over to Bridge and "edit in ACR" - the crop settings done in LR are used - meaning that the .xmp is SOMEWHERE.
I've checked, and my show hidden files is checked in windows explorer. I've done a global search on my harddrive for "photoname.xmp" and even "photoname.*". Nothing other than the original shows.
Question:
Where exactly is this .xmp sidecar file being stored for this jpg photo when I tell LR to "write metadata to file"?
Thanks.Sidecar ".xmp" files
Stores the settings in an XMP file in the same folder as the raw file with the same base name and an XMP extension. This option is useful for long-term archiving of raw files with their associated settings, and for the exchange of raw files with associated settings in multi-user workflows. These same sidecar XMP files can be used to store IPTC (International Press Telecommunications Council) data or other metadata associated with a camera raw image file. If you are opening camera raw files from a read-only volume like a CD or DVD, be sure to copy the files to your hard drive before opening them. The Photoshop Camera Raw plug-in cannot write an XMP file to a read-only volume and will default to writing the settings to the Camera Raw database file.
These XMP files can be viewed in the File Browser by choosing View > Unreadable Files. -
Importing older Camera Raw-adjusted RAW files with XMP sidecars
When I import CR2 files (Canon RAW) that have XMP files alongside them into my Lightroom 4 catalog, Lightroom correctly reads image adjustments from XMP files and assigns them as Develop settings for the newly imported photos. This is how I expected it to be. Lightroom assigns older process version to these files, as it should be.
One quick question I have though: once I imported all these CR2 files into my collection, is it safe to delete all those XMP sidecar files immediately? I assume that Lightroom stores all Develop settings in the catalog file at the moment of the import and that XMP sidecars are no longer necessary. Is that correct? Or do I have to enter the Develop mode with each imported file first, before deleting the XMP in order to make old settings to "stick"?So, that's what I did. I successfully imported my pictures into my catalog and then deleted all XMP files (or, more precisely, backed them up in a different location).
However, Lightroom still remembers that my pictures used to have sidecar XMP files. The Metadata window still says "Sidecar file: xmp". And, more importantly, absence of XMP files triggers errors when I attempt to move imported pictures from one folder to another inside Lightroom. Lightroom report errors for each file that used to have a sidecar, listing all missing XMP files in the error window. The move operation completes successfully though, but Lightroom still refuses to forget about the XMP sidecar even after the file is moved. Next time I attempt to move the same picture, the same error window pops up again.
How do I force Lightroom to forget about XMP files for pictures that were originally imported with XMP sidecars? -
How to save metadata in .xmp also for .jpgs?
In LR 2.5, I have selected "save the metadata in .xmp files" in the Catalog Settings, and I have NOT selected "include develop settings inside jpeg, tiff, ... I notice however that the metadata is saved in .xmp files only for photos in RAW format (which for me is .ORF, the Olympus RAW format).
In jpegs, the metadata seems to be saved in the jpeg. This is not ideal in my situation, because when I back up photos using rsync (or the time machine), all jpegs where I have modified metadata will be backed up again, causing a lot of data to be backed up, when a tiny .xmp would in fact be enough. Is there a way to ensure that the jpegs per se are not touched, and all information is stored in sidecar .xmp files?
Second question: if I select "store all metadata in xmp", when is this stored? Whenever I make a change? Or do I have to explicitly select the command "save metadata" for a folder?
Many thanks! Luca.A reason RAWs are the only ones with XMP sidecars and JPGs don't, besides the fact it is easy to save metadata in JPGs compared to RAWs, is that when a camera shoots RAW + JPG both files have the same name except for the extension and so when an XMP with the same name except for the extension exists, it wouldn't be clear whether its metadata was for the RAW or for the JPG.
I am on a PC, so am not sure how TimeMachine works, but a well-done backup stores file differences, not the entire file, for each cycle, and also uses block-checksums to see what parts of the files have changed, so it doesn't need to read the entire backup file, nor store entire files as part of the backup process.
There is a Save Metadata to Files command and there is a Automatically Save Metadata... preference. Either one writes things out to the XMP for RAWs or the image files themselves for formats that support this. I usually have Automatically Save Metadata... enabled but I also explicitly write it out to the files before doing things like purging files off my main work drive and moving them off to a backup device because LR seems to do the Automatic Save Metadata... operation in the background and it's never clear when it is finished. -
Possible to export keywords for images in a catalog?
I have a fairly large catalog with scanned images (several thousands of images). The images have a number of keywords each and many have descriptions and titles. From this, I would like to create some sort of web site where this information is preserved. The web that I'm envisioning should list all the keywords that occurs in the catalog, and if you click on a keyword it should show all images tagged with the keyword.
However, with Lightroom 1.2 it doesn't seem to be possible to have the keywords included in the web gallery. Or am I wrong? Is it possible somehow?
My next way of attacking this problem was to use the xmp sidecar files. Since the keywords are stored in the sidecar xmp file, I thought that I would be able to retrieve the keywords from the xmp-file with the help of some scripts and XSLT. Yes, a little extra work involved of course, but still doable. Unfortunately, since I've got TIFF files and not RAW files, the xmp data is embedded in the TIFF file and not written in the sidecar xmp file. Is it possible to have the xmp data written to the sidecar file also for TIFF images?
Yes, it should be possible to extract the xmp data from the TIFF files, merge all this data into a big xml file and then process that with an XSLT script, but I would rather avoid poking inside the TIFF file, if at all possible.
If I can just get some sort of mapping between all images and the keywords, preferably in an xml format (html or plain text would also do) I should be able to build the web myself.
Any advice on how I can achieve this?yes it is possible to do this, but it is a bit complicated. Under the share menu choose export media. In the dialog that appears you can choose audio only. There are options for AAC, AIFF etc. The problem is that it will export all of the audio from your project so if you want only audio from a particular clip to be exported you need to create a new project and then copy/paste the clip into the new project. You can then export that audio as described above. An alternative is to create a new empty compound clip in the browser and open it in a timeline and copy/paste your clip into it. You can then export audio only as above. Once you have edited the audio, import it into FCPX and add as attached clip to the original clip. You can either drag the volume of the original audio down so it is not audible or detach the original audio and delete it. Not as simple as in previous versions of FCP but do-able.
-
XMP files for non RAW files **PLEASE!!**
This is useless if I cannot write the image adjustments that I make out to matching XMP files.
How can I move files/folders between machines???
So PLEASE add XMP sidecar file support for non RAW formats.
OR give us the ability to "export" a folder or files.. like in Aperture.Lee Jay,
Thanks for that info!
Since I did not see the XMP files I assumed...
I just did a test and sure enough, the XMP data is written into the JPG file!
On my mac I copied the file to another name, imported it and the changes were there as well as the ability to modify the changes.
Further, for the geeks like me, I did a
"strings file.jpg | more"
command and was able to see the XMP data.
Thanks!
Edit to add: This is even better than Aperture projects and even separate XMP files! -
XMP sidecar files not recognised
I am new to Lightroom and want to migrate an Expression Media catalog to a LR catalog.
The import worked OK for the images (raw/Nef, Tiff, jpeg) , but I have a problem with the IPCT medata ( so far I use only : title, rating, country, copyright).
I don't like the idea of writing this medata into the image files , using the Sync command in Expression Media.
So I created xmp sidecar files for all images nef, tiff and jpeg ('extract metadata / annotations only' command in XM).
Image files and sidecar files have the same name and are stored in the same folder.
LR imported the metadata for raw images only, not for tiff or jpeg.
I guess xmp 'space' is supposed to be inside tiff and jpeg image files, and outside raw files (sidecar files), but is there a way to have LR import consider sidecar files for non raw files ? (strangely, 'sidecar files : xmp' is mentioned in the metadata panel for tiff files, not for jpegs)
Thanks for your help,
Lenanardbut is there a way to have LR import consider sidecar files for non raw files ?
No. Xmp's only for proprietary raw file. For others Lightroom only rads embedded.
(strangely, 'sidecar files : xmp' is mentioned in the metadata panel for tiff files, not for jpegs)
Lightroom just looks at whatever files are there with a common base name. You can even have a TXT file as a sidecar. -
Script to export Rating to external xmp sidecar
Hi all,
I did this quick script to be able to update Ratings on referenced and online master files. It uses exiftool, so that should be installed. Also, it creates an empty xmp file if none exists, with only the rating in it, or it updates an already existing one with the rating. Aperture 3 doesn't export this by itself.
let me know if it works for you, it comes with no guarantee to work or do anything useful. careful with the line breaks, posting here chops things up a little sometimes.
cheers,
j
--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
--this script needs exiftool to work. http://www.sno.phy.queensu.ca/~phil/exiftool/ to get it
--it should create an empty xmp file with the aperture's rating, or update an already existing xmp file in place
property p_sql : "/usr/bin/sqlite3 "
property p_exiftool : "usr/bin/exiftool "
global g_libPath
on run
my getLibPath()
--counter for processed images, reset, just in case
set mastercount to 0
tell application "Aperture"
-- rule out any versions other than 3 of aperture, the database has a different structure
set ap_version to version as rich text
if the first character of ap_version is not "3" then
display dialog "This will only work with Aperture 3" buttons {"OK"} default button 1
return
end if
--get selected images
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
--use sqlite directly to get master file id of version id
--get master file id from version id
set theScript to p_sql & (quoted form of g_libPath) & " \"select masterUuid from RKVersion where uuid='" & curID & "'\""
set masterfileuid to do shell script theScript
--get master path name from master id
set theScript to p_sql & (quoted form of g_libPath) & " \"select imagePath from RKMaster where uuid='" & masterfileuid & "'\""
set imagepath to do shell script theScript
--get volume id from master id
set theScript to p_sql & (quoted form of g_libPath) & " \"select fileVolumeUuid from RKMaster where uuid='" & masterfileuid & "'\""
set volumeuid to do shell script theScript
--get volume name from volume id
set theScript to p_sql & (quoted form of g_libPath) & " \"select name from RKVolume where uuid='" & volumeuid & "'\""
--put them together
set volumename to do shell script theScript
--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 imagepath
set noExtension to Unicode text 1 thru -((count of contador) + 2) of imagepath
on error --handle files with no extensions
set noExtension to imagepath
end try
set AppleScript's text item delimiters to oldlim
--create file pointer for editing (if passing on to exiftool, this should not be necessary)
--set xmppath to POSIX file ("/Volumes/" & volumename & "/" & noExtension & ".xmp")
--exiftool version, text passed
set xmppath to ("/Volumes/" & volumename & "/" & noExtension & ".xmp")
end if
--get rating
set rating to value of other tag "MainRating"
set theScript to p_exiftool & (quoted form of xmppath) & " -xmp:Rating=" & rating
do shell script theScript
end tell
end repeat
end tell
end run
-- write xmp sidecar file routine, not being used, because we use exiftool
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
close access xmpFileName
end try
end try
--end tell
end writexmpFile
--this part copied and adapted 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")
--add the path to the main Library database to this (added by joost de raeymaeker)
set p_libPath to p_libPath & "/Database/Library.apdb"
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 as string
else
set g_libPath to p_libPath as string
end if
end getLibPath
--end brett gross partHi all,
I did this quick script to be able to update Ratings on referenced and online master files. It uses exiftool, so that should be installed. Also, it creates an empty xmp file if none exists, with only the rating in it, or it updates an already existing one with the rating. Aperture 3 doesn't export this by itself.
let me know if it works for you, it comes with no guarantee to work or do anything useful. careful with the line breaks, posting here chops things up a little sometimes.
cheers,
j
--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
--this script needs exiftool to work. http://www.sno.phy.queensu.ca/~phil/exiftool/ to get it
--it should create an empty xmp file with the aperture's rating, or update an already existing xmp file in place
property p_sql : "/usr/bin/sqlite3 "
property p_exiftool : "usr/bin/exiftool "
global g_libPath
on run
my getLibPath()
--counter for processed images, reset, just in case
set mastercount to 0
tell application "Aperture"
-- rule out any versions other than 3 of aperture, the database has a different structure
set ap_version to version as rich text
if the first character of ap_version is not "3" then
display dialog "This will only work with Aperture 3" buttons {"OK"} default button 1
return
end if
--get selected images
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
--use sqlite directly to get master file id of version id
--get master file id from version id
set theScript to p_sql & (quoted form of g_libPath) & " \"select masterUuid from RKVersion where uuid='" & curID & "'\""
set masterfileuid to do shell script theScript
--get master path name from master id
set theScript to p_sql & (quoted form of g_libPath) & " \"select imagePath from RKMaster where uuid='" & masterfileuid & "'\""
set imagepath to do shell script theScript
--get volume id from master id
set theScript to p_sql & (quoted form of g_libPath) & " \"select fileVolumeUuid from RKMaster where uuid='" & masterfileuid & "'\""
set volumeuid to do shell script theScript
--get volume name from volume id
set theScript to p_sql & (quoted form of g_libPath) & " \"select name from RKVolume where uuid='" & volumeuid & "'\""
--put them together
set volumename to do shell script theScript
--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 imagepath
set noExtension to Unicode text 1 thru -((count of contador) + 2) of imagepath
on error --handle files with no extensions
set noExtension to imagepath
end try
set AppleScript's text item delimiters to oldlim
--create file pointer for editing (if passing on to exiftool, this should not be necessary)
--set xmppath to POSIX file ("/Volumes/" & volumename & "/" & noExtension & ".xmp")
--exiftool version, text passed
set xmppath to ("/Volumes/" & volumename & "/" & noExtension & ".xmp")
end if
--get rating
set rating to value of other tag "MainRating"
set theScript to p_exiftool & (quoted form of xmppath) & " -xmp:Rating=" & rating
do shell script theScript
end tell
end repeat
end tell
end run
-- write xmp sidecar file routine, not being used, because we use exiftool
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
close access xmpFileName
end try
end try
--end tell
end writexmpFile
--this part copied and adapted 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")
--add the path to the main Library database to this (added by joost de raeymaeker)
set p_libPath to p_libPath & "/Database/Library.apdb"
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 as string
else
set g_libPath to p_libPath as string
end if
end getLibPath
--end brett gross part
Maybe you are looking for
-
Win 8 - Photosmart c4580 not scan with wifi miss HP Solution Center
HP Photosmart c4580 Windows 8 64-bit My printer is the Photosmart c4580, and i have the Windows 8 64-bit OS. I can print throw my wi-fi connection, But i can't scan. If i want scan i must plug the usb cable (10meters long because the printer is in th
-
Hello, I have to perform a Refresh Upgrade to 10.5 for a client who has the following UC apps on a virtual environment: CUCM version 9.1.1 IM and Presence version 9.1.1 CUC (Unity Connection) version 9.1.1 A. I see on the CUC Upgrade document below:
-
Advanced Antialias in combination with a lot of text does not show well
I am using embedded fonts in combination with antiAliasType ADVANCED which gives good results for smaller fontsizes. But if the textField contains a lot of text (> 20000 characters) then part of the text is simply NOT shown. So the first couple of hu
-
Trouble using JMS Message Selector and DCJMSMessageProperty0
Hello Experts! My scenario is Mainframe => MQ => JMS Adapter => XI => SAP My MQ channel is communicating fine to XI and I've set the JMS adapter to JMS Compliant. I have multiple message types with consistent headers but varying data layouts that I n
-
Nv driver + video playback?
I'm using the nv driver and video playback isn't perfect. Videos (in Mplayer and VLC for instance) stay on top of all other windows and when you move the window around the video flickers and becomes black (just while you're moving the window). It's a