Lightroom plugin cr2hdr v3.0 DEV (WIP)

Started by kichetof, March 18, 2014, 05:04:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

snakec

Quote from: DeafEyeJedi on July 22, 2015, 06:44:38 PM
@snakec:

Seriously just upload the original CR2 file already otherwise you're just basically wasting our time.

We obviously don't mind helping out but you simply just won't let us unless you can provide us original samples.
I'm not returned home since I post a cr2 tonight

dfort

Quote from: dfort on July 22, 2015, 10:07:04 PM
@snakec - I think I understand your issue. You have the plug-in installed in Lightroom 6 and that is working fine and you also have it installed in Lightroom 5.5 and there it is not working properly.

Ok, so it looks like I didn't understand your issue--and I'm quoting myself  :(

I'm not on Windows so I don't have the plug-in configured for your system but have you removed the cr2hdr.lrplugin\bin\lib directory? You may also want to try the latest version of ExifTool. (They have updated it to version 9.99 recently and I haven't checked it out yet.)

Apparently there are two fixes that work for Windows, replacing the lib directory in the plug-in with an updated one or simply removing the lib directory. I'd go for the simplest solution.

dfort

Just a warning for Mac users--I just tried out ExifTool 9.99 and the installer will remove the previous version in /usr/bin and put the new version in /usr/local/bin. That is probably a better place for it but it breaks the plug-in. I made a symbolic link to it in /usr/bin and it did work (moving the files should also work) so it looks like maybe something is hard coded to /usr/bin/exiftool instead of searching the $path?

Walter Schulz

Quote from: dfort on July 23, 2015, 03:31:52 PM
Ok, so it looks like I didn't understand your issue--and I'm quoting myself  :(

The error he described:
Processed file has no exif but good exposure with plug-in out-of-the box.
Processed file has exif but overexposed if using workaround.

dfort

There is also the part about the same plug-in working fine in LR 5.5 but not in LR 6. --or did he change LR version and plug-in version at the same time? That would be changing two variables.

In any case I'm on a Mac and Lightroom CC 2015.1 so I should stay out of Windows LR 6 issues.

Regarding the Mac ExifTool issue I just discovered--it would be nice if the plug-in uses the exiftool and dcraw that kichetof put in cr2hdr.lrplugin/bin but it uses the system wide versions instead. I checked the cr2hdr source code in the unified branch but don't see anything that would make /usr/bin/exiftool work and not /usr/local/bin/exiftool, they are both in the $path. Is the cr2hdr in the plug-in a different version?

BTW--I still haven't heard from kichetof though I did find someone by the same name in Switzerland.

snakec

Quote from: snakec on July 22, 2015, 12:07:50 PM
Hi,

I know used the plugin, which works very well with LR5.5.

With LR6,
when I use the version "kichetof lr_cr2hdr-to-42be6b9232cd cr2hdr.lrplugin" with the modified CH2HDR.template, I get an image well exposed but no EXIF.
dualno by Stephane CAIRE, sur Flickr

If I apply the Walter advice by replacing the / LIB / or replacing the exiftool.exe, I find EXIF, but the photo is overexposed.
dualexif by Stephane CAIRE, sur Flickr

I specified that no adjustment is applied to compare the two files

CANON 70D , WINDOWS 7, LIGHTROOM 6.01
Plugin :
http://www.magiclantern.fm/forum/index.php?topic=11056.msg147298#msg147298
Template :
http://www.magiclantern.fm/forum/index.php?topic=11056.msg147348#msg147348

CR2 :
https://mega.co.nz/#!fsRUUI5K!Kfs9OtWGe8GaOCjNGKnO7HeOcc_EnvbnTVrIKbfjYEE

Walter Schulz

Thanks for the files. I'm able to reproduce your error in LR CC on Windows 8.1. Have to play around a bit now.

EDIT: File made with 7D just works fine with both configurations.
Big question now is which application is messing up with 70D files. LR or cr2hdr?

Guys, please test in OS X and report back.

DeafEyeJedi

Sounds like it's related to the cr2hdr binary which may need to be replaced with latest in order to work with 70D files?

I'll check and confirm this as soon as I get on my MBP.
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

snakec

I try with different version of the one that worked so cr2hdr with the 70d.
same result

dmilligan

It's an Adobe issue. ACR simply refuses to load any DNG file that has CameraModel=Canon EOS 70D.

http://www.magiclantern.fm/forum/index.php?topic=14309.msg150201#msg150201

I would suggest seeing what happens when running a vanilla 70D CR2 through Adobe DNG converter.

EDIT: going through Adobe DNG converter from a sample 70D CR2 I found on the internet seems to work. The thing to do would be to start stripping out metadata to figure out what particular missing/added metadata is causing problems when CameraModel=Canon EOS 70D


exiftool -v IMG_0072.dng
  ExifToolVersion = 9.35
  FileName = IMG_0072.dng
  Directory = ~/Downloads
  FileSize = 21560380
  FileModifyDate = 1437683334
  FileAccessDate = 1437683407
  FileInodeChangeDate = 1437683334
  FilePermissions = 33188
  FileType = DNG
  MIMEType = image/x-adobe-dng
  ExifByteOrder = II
  + [IFD0 directory with 60 entries]
  | 0)  SubfileType = 1
  | 1)  ImageWidth = 256
  | 2)  ImageHeight = 171
  | 3)  BitsPerSample = 8 8 8
  | 4)  Compression = 1
  | 5)  PhotometricInterpretation = 2
  | 6)  Make = Canon
  | 7)  Model = Canon EOS 70D
  | 8)  StripOffsets = 200286
  | 9)  Orientation = 1
  | 10) SamplesPerPixel = 3
  | 11) RowsPerStrip = 171
  | 12) StripByteCounts = 131328
  | 13) PlanarConfiguration = 1
  | 14) Software = Adobe DNG Converter 8.7.1 (Macintosh)
  | 15) ModifyDate = 2015:07:23 16:28:54
  | 16) SubIFD (SubDirectory) -->
  | + [SubIFD directory with 26 entries]
  | | 0)  SubfileType = 0
  | | 1)  ImageWidth = 5568
  | | 2)  ImageHeight = 3708
  | | 3)  BitsPerSample = 16
  | | 4)  Compression = 7
  | | 5)  PhotometricInterpretation = 32803
  | | 6)  SamplesPerPixel = 1
  | | 7)  PlanarConfiguration = 1
  | | 8)  TileWidth = 256
  | | 9)  TileLength = 256
  | | 10) TileOffsets = 331614 385744 442308 503434 553696 625244 692526 760018 827668 [snip]
  | | 11) TileByteCounts = 54130 56563 61125 50261 71547 67282 67491 67650 68118 68246 [snip]
  | | 12) CFARepeatPatternDim = 2 2
  | | 13) CFAPattern2 = 0 1 1 2
  | | 14) CFAPlaneColor = 0 1 2
  | | 15) CFALayout = 1
  | | 16) BlackLevelRepeatDim = 2 2
  | | 17) BlackLevel = 2049 2049 2049 2049 (524544/256 524544/256 524544/256 524544/256)
  | | 18) WhiteLevel = 15000
  | | 19) DefaultScale = 1 1 (1/1 1/1)
  | | 20) DefaultCropOrigin = 12 12 (12/1 12/1)
  | | 21) DefaultCropSize = 5472 3648 (5472/1 3648/1)
  | | 22) BayerGreenSplit = 250
  | | 23) AntiAliasStrength = 1 (100/100)
  | | 24) BestQualityScale = 1 (1/1)
  | | 25) ActiveArea = 38 72 3708 5568
  | 17) ApplicationNotes (SubDirectory) -->
  | + [XMP directory, 6142 bytes]
  | | XMPToolkit = Adobe XMP Core 5.6-c011 79.156380, 2014/05/21-23:38:37       
  | | ModifyDate = 2015-07-23T16:28:54-04:00
  | | CreateDate = 2013-08-30T16:43:26.25
  | | CreatorTool = Adobe DNG Converter 8.7.1 (Macintosh)
  | | MetadataDate = 2015-07-23T16:28:54-04:00
  | | SerialNumber = 032021006204
  | | LensInfo = 24/1 70/1 0/0 0/0
  | | Lens = 24-70mm
  | | LensID = 137
  | | [adding XMP-aux:LensSerialNumber]
  | | LensSerialNumber = 0000000000
  | | ImageNumber = 0
  | | ApproximateFocusDistance = 698/100
  | | FlashCompensation = 0/1
  | | Firmware = 1.1.1
  | | DateCreated = 2013-08-30T16:43:26.25
  | | DocumentID = xmp.did:39c6db57-7e20-41eb-bd3b-51e9b4de6c92
  | | OriginalDocumentID = C8CDD5B13FF11FF7929E941DE75DD3CC
  | | InstanceID = xmp.iid:39c6db57-7e20-41eb-bd3b-51e9b4de6c92
  | | Format = image/dng
  | | HistoryAction = derived
  | | HistoryParameters = converted from image/x-canon-cr2 to image/dng, saved to new l[snip]
  | | HistoryAction = saved
  | | HistoryInstanceID = xmp.iid:39c6db57-7e20-41eb-bd3b-51e9b4de6c92
  | | HistoryWhen = 2015-07-23T16:28:54-04:00
  | | HistorySoftwareAgent = Adobe DNG Converter 8.7.1 (Macintosh)
  | | HistoryChanged = /
  | | DerivedFromDocumentID = C8CDD5B13FF11FF7929E941DE75DD3CC
  | | DerivedFromOriginalDocumentID = C8CDD5B13FF11FF7929E941DE75DD3CC
  | 18) ExifOffset (SubDirectory) -->
  | + [ExifIFD directory with 30 entries]
  | | 0)  ExposureTime = 0.003125 (1/320)
  | | 1)  FNumber = 4 (4/1)
  | | 2)  ExposureProgram = 1
  | | 3)  ISO = 100
  | | 4)  SensitivityType = 2
  | | 5)  RecommendedExposureIndex = 100
  | | 6)  ExifVersion = 0230
  | | 7)  DateTimeOriginal = 2013:08:30 16:43:26
  | | 8)  CreateDate = 2013:08:30 16:43:26
  | | 9)  ShutterSpeedValue = 8.321928 (8321928/1000000)
  | | 10) ApertureValue = 4 (4/1)
  | | 11) ExposureCompensation = 0 (0/1)
  | | 12) MaxApertureValue = 3 (3/1)
  | | 13) MeteringMode = 5
  | | 14) Flash = 16
  | | 15) FocalLength = 24 (24/1)
  | | 16) SubSecTimeOriginal = 25
  | | 17) SubSecTimeDigitized = 25
  | | 18) ColorSpace = 1
  | | 19) FocalPlaneXResolution = 2452.118652 (80351024/32768)
  | | 20) FocalPlaneYResolution = 2452.118652 (80351024/32768)
  | | 21) FocalPlaneResolutionUnit = 3
  | | 22) CustomRendered = 0
  | | 23) ExposureMode = 1
  | | 24) WhiteBalance = 0
  | | 25) SceneCaptureType = 0
  | | 26) SerialNumber = 032021006204
  | | 27) LensInfo = 24 70 undef undef (24/1 70/1 0/0 0/0)
  | | 28) LensModel = 24-70mm
  | | 29) LensSerialNumber = 0000000000
  | 19) ImageNumber = 0
  | 20) DNGVersion = 1 4 0 0
  | 21) DNGBackwardVersion = 1 1 0 0
  | 22) UniqueCameraModel = Canon EOS 70D
  | 23) ColorMatrix1 = 0.7546 -0.1435 -0.0929 -0.3846 1.1488 0.2692 -0.0332 0.1209 0.63[snip]
  | 24) ColorMatrix2 = 0.7034 -0.0804 -0.1014 -0.442 1.2564 0.2058 -0.0851 0.1994 0.575[snip]
  | 25) CameraCalibration1 = 0.944 0 0 0 1 0 0 0 0.9905 (9440/10000 0/10000 0/10000 0/1[snip]
  | 26) CameraCalibration2 = 0.944 0 0 0 1 0 0 0 0.9905 (9440/10000 0/10000 0/10000 0/1[snip]
  | 27) AnalogBalance = 1 1 1 (1000000/1000000 1000000/1000000 1000000/1000000)
  | 28) AsShotNeutral = 0.431703 1 0.625917 (431703/1000000 1000000/1000000 625917/1000000)
  | 29) BaselineExposure = 0.25 (25/100)
  | 30) BaselineNoise = 0.8 (80/100)
  | 31) BaselineSharpness = 1.25 (125/100)
  | 32) LinearResponseLimit = 1 (100/100)
  | 33) CameraSerialNumber = 032021006204
  | 34) DNGLensInfo = 24 70 undef undef (24/1 70/1 0/0 0/0)
  | 35) ShadowScale = 1 (1/1)
  | 36) DNGAdobeData (SubDirectory) -->
  | + [DNGAdobeData directory, 68810 bytes]
  | | MakN = II..+..1.....P....X..."`............. ..........%...........&....5...... *[snip]
  | | + [AdobeMakN directory, 68796 bytes]
  | | | + [MakerNotes directory with 43 entries]
  | | | | 0)  CanonCameraSettings (SubDirectory) -->
  | | | | + [BinaryData directory, 98 bytes]
  | | | | | MacroMode = 2
  | | | | | SelfTimer = 0
  | | | | | Quality = 4
  | | | | | CanonFlashMode = 0
  | | | | | ContinuousDrive = 5
  | | | | | FocusMode = 0
  | | | | | RecordMode = 7
  | | | | | CanonImageSize = 0
  | | | | | EasyMode = 1
  | | | | | DigitalZoom = 0
  | | | | | Contrast = 0
  | | | | | Saturation = 0
  | | | | | Sharpness = 32767
  | | | | | CameraISO = 32767
  | | | | | MeteringMode = 3
  | | | | | FocusRange = 2
  | | | | | AFPoint = 0
  | | | | | CanonExposureMode = 4
  | | | | | LensType = 137
  | | | | | MaxFocalLength = 70
  | | | | | MinFocalLength = 24
  | | | | | FocalUnits = 1
  | | | | | MaxAperture = 96
  | | | | | MinAperture = 288
  | | | | | FlashActivity = 0
  | | | | | FlashBits = 0
  | | | | | FocusContinuous = -1
  | | | | | AESetting = -1
  | | | | | ImageStabilization = -1
  | | | | | DisplayAperture = 0
  | | | | | ZoomSourceWidth = 0
  | | | | | ZoomTargetWidth = 0
  | | | | | SpotMeteringMode = -1
  | | | | | PhotoEffect = -1
  | | | | | ManualFlashOutput = 0
  | | | | | ColorTone = 0
  | | | | | SRAWQuality = 0
  | | | | 1)  CanonFocalLength (SubDirectory) -->
  | | | | + [BinaryData directory, 8 bytes]
  | | | | | FocalType = 0
  | | | | | FocalLength = 24
  | | | | 2)  CanonFlashInfo = 0 0 0 0
  | | | | 3)  CanonShotInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 68 bytes]
  | | | | | AutoISO = 0
  | | | | | BaseISO = 160
  | | | | | MeasuredEV = 272
  | | | | | TargetAperture = 128
  | | | | | TargetExposureTime = 268
  | | | | | ExposureCompensation = 0
  | | | | | WhiteBalance = 0
  | | | | | SlowShutter = 3
  | | | | | SequenceNumber = 0
  | | | | | OpticalZoomCode = 8
  | | | | | CameraTemperature = 153
  | | | | | FlashGuideNumber = 0
  | | | | | AFPointsInFocus = 0
  | | | | | FlashExposureComp = 0
  | | | | | AutoExposureBracketing = 0
  | | | | | AEBBracketValue = 0
  | | | | | ControlMode = 1
  | | | | | FocusDistanceUpper = 0
  | | | | | FNumber = 128
  | | | | | ExposureTime = 268
  | | | | | MeasuredEV2 = 159
  | | | | | BulbDuration = 0
  | | | | | CameraType = 248
  | | | | | AutoRotate = -1
  | | | | | NDFilter = -1
  | | | | | SelfTimer2 = -1
  | | | | | FlashOutput = 0
  | | | | 4)  CanonImageType = Canon EOS 70D
  | | | | 5)  CanonFirmwareVersion = Firmware Version 1.1.1
  | | | | 6)  OwnerName =
  | | | | 7)  CanonCameraInfoUnknown (SubDirectory) -->
  | | | | + [BinaryData directory, 1536 bytes]
  | | | | 8)  CanonModelID = 2147484453
  | | | | 9)  ThumbnailImageValidArea = 0 159 7 112
  | | | | 10) Canon_0x0019 = 1
  | | | | 11) CanonAFInfo2 (SubDirectory) -->
  | | | | + [SerialData directory, 278 bytes]
  | | | | | 0)  AFInfoSize = 278
  | | | | | 1)  AFAreaMode = 2
  | | | | | 2)  NumAFPoints = 31
  | | | | | 3)  ValidAFPoints = 19
  | | | | | 4)  CanonImageWidth = 5472
  | | | | | 5)  CanonImageHeight = 3648
  | | | | | 6)  AFImageWidth = 5472
  | | | | | 7)  AFImageHeight = 3648
  | | | | | 8)  AFAreaWidths = 229 229 229 229 229 229 229 229 229 229 229 229 229 229 [snip]
  | | | | | 9)  AFAreaHeights = 277 277 277 277 277 277 277 277 277 277 277 277 277 277[snip]
  | | | | | 10) AFAreaXPositions = -1395 -897 -897 -897 -399 -399 -399 0 0 0 0 0 399 39[snip]
  | | | | | 11) AFAreaYPositions = 0 401 0 -401 401 0 -401 755 401 0 -401 -755 401 0 -4[snip]
  | | | | | 12) AFPointsInFocus = 512 0
  | | | | | 13) AFPointsSelected = 512 0
  | | | | 12) TimeInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 16 bytes]
  | | | | | TimeZone = -300
  | | | | | TimeZoneCity = 27
  | | | | | DaylightSavings = 0
  | | | | 13) CanonFileInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 64 bytes]
  | | | | | BracketMode = 0
  | | | | | BracketValue = 0
  | | | | | BracketShotNumber = 0
  | | | | | RawJpgQuality = 0
  | | | | | RawJpgSize = 0
  | | | | | LongExposureNoiseReduction2 = -1
  | | | | | WBBracketMode = 0
  | | | | | WBBracketValueAB = 0
  | | | | | WBBracketValueGM = 0
  | | | | | FilterEffect = -1
  | | | | | ToningEffect = -1
  | | | | | LiveViewShooting = 0
  | | | | | FlashExposureLock = 0
  | | | | 14) LensModel = 24-70mm
  | | | | 15) InternalSerialNumber = FA0151001
  | | | | 16) DustRemovalData =
  | | | | 17) CropInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 8 bytes]
  | | | | | CropLeftMargin = 0
  | | | | | CropRightMargin = 0
  | | | | | CropTopMargin = 0
  | | | | | CropBottomMargin = 0
  | | | | 18) CustomFunctions2 (SubDirectory) -->
  | | | | + [CanonCustom2 directory with 3 entries]
  | | | | + [CanonCustom2 group 1 directory with 6 entries]
  | | | | | 0)  ExposureLevelIncrements = 0
  | | | | | 1)  ISOSpeedIncrements = 0
  | | | | | 2)  AEBAutoCancel = 0
  | | | | | 3)  AEBSequence = 0
  | | | | | 4)  AEBShotCount = 5 2
  | | | | | 5)  SafetyShift = 0
  | | | | + [CanonCustom2 group 3 directory with 13 entries]
  | | | | | 0)  AIServoTrackingSensitivity = -1
  | | | | | 1)  AccelerationTracking = 0
  | | | | | 2)  AIServoFirstImagePriority = 2
  | | | | | 3)  AIServoSecondImagePriority = 2
  | | | | | 4)  AFAssistBeam = 1
  | | | | | 5)  LensDriveNoAF = 0
  | | | | | 6)  SelectAFAreaSelectMode = 0 7
  | | | | | 7)  CanonCustom_Functions2_0x051b = 0
  | | | | | 8)  OrientationLinkedAFPoint = 0
  | | | | | 9)  ManualAFPointSelectPattern = 0
  | | | | | 10) AFPointDisplayDuringFocus = 0
  | | | | | 11) SuperimposedDisplay = 0
  | | | | | 12) AFMicroadjustment = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  | | | | + [CanonCustom2 group 4 directory with 4 entries]
  | | | | | 0)  DialDirectionTvAv = 0
  | | | | | 1)  MultiFunctionLock = 0 2
  | | | | | 2)  ViewfinderWarnings = 3
  | | | | | 3)  CustomControls = 0 0 0 2 0 0 0 3 0 0 0 0 0 0 0 0 0 1 0
  | | | | 19) AspectInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 20 bytes]
  | | | | | AspectRatio = 0
  | | | | | CroppedImageWidth = 5472
  | | | | | CroppedImageHeight = 3648
  | | | | | CroppedImageLeft = 0
  | | | | | CroppedImageTop = 0
  | | | | 20) ProcessingInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 28 bytes]
  | | | | | ToneCurve = 0
  | | | | | Sharpness = 3
  | | | | | SharpnessFrequency = 0
  | | | | | SensorRedLevel = 0
  | | | | | SensorBlueLevel = 0
  | | | | | WhiteBalanceRed = 0
  | | | | | WhiteBalanceBlue = 0
  | | | | | WhiteBalance = -1
  | | | | | ColorTemperature = 5800
  | | | | | PictureStyle = 135
  | | | | | DigitalGain = 0
  | | | | | WBShiftAB = 0
  | | | | | WBShiftGM = 0
  | | | | 21) MeasuredColor (SubDirectory) -->
  | | | | + [BinaryData directory, 12 bytes]
  | | | | | MeasuredRGGB = 340 1024 1024 746
  | | | | 22) ColorSpace = 1
  | | | | 23) VRDOffset = 0
  | | | | 24) SensorInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 34 bytes]
  | | | | | SensorWidth = 5568
  | | | | | SensorHeight = 3708
  | | | | | SensorLeftBorder = 84
  | | | | | SensorTopBorder = 50
  | | | | | SensorRightBorder = 5555
  | | | | | SensorBottomBorder = 3697
  | | | | | BlackMaskLeftBorder = 0
  | | | | | BlackMaskTopBorder = 0
  | | | | | BlackMaskRightBorder = 0
  | | | | | BlackMaskBottomBorder = 0
  | | | | 25) ColorData7 (SubDirectory) -->
  | | | | + [BinaryData directory, 2626 bytes]
  | | | | | ColorDataVersion = 10
  | | | | | WB_RGGBLevelsAsShot = 2372 1024 1024 1636
  | | | | | ColorTempAsShot = 5807
  | | | | | WB_RGGBLevelsAuto = 2372 1024 1024 1636
  | | | | | ColorTempAuto = 5807
  | | | | | WB_RGGBLevelsMeasured = 2372 1024 1024 1636
  | | | | | ColorTempMeasured = 5807
  | | | | | WB_RGGBLevelsDaylight = 2144 1024 1024 1680
  | | | | | ColorTempDaylight = 5200
  | | | | | WB_RGGBLevelsShade = 2491 1024 1024 1448
  | | | | | ColorTempShade = 7000
  | | | | | WB_RGGBLevelsCloudy = 2310 1024 1024 1556
  | | | | | ColorTempCloudy = 6000
  | | | | | WB_RGGBLevelsTungsten = 1509 1024 1024 2439
  | | | | | ColorTempTungsten = 3200
  | | | | | WB_RGGBLevelsFluorescent = 1862 1024 1024 2315
  | | | | | ColorTempFluorescent = 3733
  | | | | | WB_RGGBLevelsKelvin = 2275 1024 1024 1584
  | | | | | ColorTempKelvin = 5807
  | | | | | WB_RGGBLevelsFlash = 2372 1024 1024 1553
  | | | | | ColorTempFlash = 6172
  | | | | | RawMeasuredRGGB = 2540437506 4141154311 19988488 3343450117
  | | | | 26) CRWParam = ...0""""""".................h...r.8....!.  . [email protected][snip]
  | | | | 27) Flavor = .A. .?_......?a......?_......@b......?_......Be.................[snip]
  | | | | 28) BlackLevel = 135 135 135
  | | | | 29) Canon_0x4009 = 0 0 0
  | | | | 30) CustomPictureStyleFileName =
  | | | | 31) Canon_0x4011 =
  | | | | 32) Canon_0x4012 =
  | | | | 33) AFMicroAdj (SubDirectory) -->
  | | | | + [BinaryData directory, 44 bytes]
  | | | | | AFMicroAdjMode = 0
  | | | | | AFMicroAdjValue = 0
  | | | | 34) VignettingCorr (SubDirectory) -->
  | | | | + [BinaryData directory, 456 bytes]
  | | | | | PeripheralLighting = 0
  | | | | | ChromaticAberrationCorr = 0
  | | | | | ChromaticAberrationCorr = 0
  | | | | | PeripheralLightingValue = 0
  | | | | | OriginalImageWidth = 5472
  | | | | | OriginalImageHeight = 3648
  | | | | 35) VignettingCorr2 (SubDirectory) -->
  | | | | + [BinaryData directory, 28 bytes]
  | | | | | PeripheralLightingSetting = 0
  | | | | | ChromaticAberrationSetting = 0
  | | | | 36) LightingOpt (SubDirectory) -->
  | | | | + [BinaryData directory, 28 bytes]
  | | | | | AutoLightingOptimizer = 3
  | | | | 37) LensInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 30 bytes]
  | | | | | LensSerialNumber =
  | | | | 38) AmbienceInfo (SubDirectory) -->
  | | | | + [BinaryData directory, 28 bytes]
  | | | | | AmbienceSelection = 0
  | | | | 39) Canon_0x4021 = 20 0 0 0 1
  | | | | 40) FilterInfo (SubDirectory) -->
  | | | | + [Creative Filter directory with 7 entries]
  | | | | + [Filter 1 directory with 1 entries, 20 bytes]
  | | | | | GrainyBWFilter = -1
  | | | | + [Filter 2 directory with 1 entries, 20 bytes]
  | | | | | SoftFocusFilter = -1
  | | | | + [Filter 3 directory with 1 entries, 20 bytes]
  | | | | | ToyCameraFilter = -1
  | | | | + [Filter 4 directory with 4 entries, 56 bytes]
  | | | | | MiniatureFilter = -1
  | | | | | MiniatureFilterOrientation = 0
  | | | | | MiniatureFilterPosition = 0
  | | | | | Canon_FilterInfo_0x0404 = 0
  | | | | + [Filter 5 directory with 1 entries, 20 bytes]
  | | | | | Canon_FilterInfo_0x0501 = -1
  | | | | + [Filter 6 directory with 1 entries, 20 bytes]
  | | | | | Canon_FilterInfo_0x0601 = -1
  | | | | + [Filter 7 directory with 1 entries, 20 bytes]
  | | | | | Canon_FilterInfo_0x0701 = -1
  | | | | 41) Canon_0x4025 = 36 0 0 0 0 0 0 0 0
  | | | | 42) Canon_0x4027 = 24 524546 2969567282 134217728 13684944 0
  | 37) CalibrationIlluminant1 = 17
  | 38) CalibrationIlluminant2 = 21
  | 39) RawDataUniqueID = .).oe...4,.%`L.
  | 40) OriginalRawFileName = IMG_0072.CR2
  | 41) CameraCalibrationSig = com.adobe
  | 42) ProfileCalibrationSig = com.adobe
  | 43) ProfileName = Adobe Standard
  | 44) ProfileHueSatMapDims = 90 30 1
  | 45) ProfileHueSatMapData1 = 2 1 1 1.29631185531616 1.0373512506485 1.00313758850098[snip]
  | 46) ProfileHueSatMapData2 = 2 1 1 1.27510297298431 1.00438475608826 0.9957437515258[snip]
  | 47) ProfileEmbedPolicy = 0
  | 48) ProfileCopyright = Copyright 2012 Adobe Systems, Inc.
  | 49) ForwardMatrix1 = 0.7763 0.0065 0.1815 0.2364 0.8351 -0.0715 -0.0059 -0.4228 1.2[snip]
  | 50) ForwardMatrix2 = 0.7464 0.1044 0.1135 0.2648 0.9173 -0.182 0.0113 -0.2154 1.029[snip]
  | 51) PreviewApplicationName = Adobe DNG Converter
  | 52) PreviewApplicationVersion = 8.7.1
  | 53) PreviewSettingsDigest = ..=..........;s.
  | 54) PreviewColorSpace = 2
  | 55) PreviewDateTime = 2015-07-23T16:28:54-04:00
  | 56) ProfileLookTableDims = 36 8 16
  | 57) ProfileLookTableData = 0 1 1 0 0.87861567735672 1 0 0.885046482086182 1 0 0.892[snip]
  | 58) NoiseProfile = 4.97062638284886e-05 4.68483521743603e-07
  | 59) NewRawImageDigest = .U.i.p.A#.....M,

dfort

Quote from: Walter Schulz on July 23, 2015, 08:26:18 PM
Guys, please test in OS X and report back.

Tested and reproduced the same error. This is very strange because the dual iso cr2 that @DeafEyeJedi posted works fine.

I tried the two methods, having Lightroom copy the cr2 into the library and creating a dng on import. The cr2 converted properly but the dng conversion was corrupted in both sample files. LR error message: "The file appears to be unsupported or damaged."


Danne

Macusers. I put in the 10th may mac cr2hdr20bit binary in the plugin folder and 70D dual iso files works fine. I say you find the 10th may windows binary and you should be fine?
Here is the binary for mac. You might have to give the binary sudo priviliges
https://drive.google.com/file/d/0B4tCJMlOYfirSVBPTEduVElaREU/view?usp=sharing
/D

Walter Schulz

10th May? The last build available here is from 9th.

Danne

Probably the same but I believe N/A compiled the mac binary 10th may or was is Kichetof? Can,t remember. I don,t see why the exe won,t work though. Could it be acr related? I ran the plugin on my macbook pro in lightroom 5.

*Actually it was Kichetof that compiled the latest mac binary. (10th may)
http://www.magiclantern.fm/forum/index.php?topic=7139.msg147286#msg147286


dfort

Good news everyone--I tracked down kichetof  :D

He should be back here soon.

DeafEyeJedi

Definitely good news, Dan!

Also thanks for your kind PM and will write back as soon as I get back home from being on the road for work.
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

guoyida

Update:
I got it fixed.
I replaced files(exif, lib folder) inside cr2hdr.lrplugin which relate to exiftool



Hi, I tried to use this plug in to convert my image. It's really easy to use. However, every time I converted my image, when I check the exif info after conversion, the converted file has a 1.0 sec at f1.0 exposure, and lose other exif info (lense, focus length, GPS, etc) as well. The model showed Canikon.

I tried to reinstall exiftool 9.99 from their homepage. It didn't solve my problem.
I am using LR 6.1.1 on Yosemite 10.10.5

I just read some recent post. I confirmed that I have exiftools in my /usr/bin folder. That could be the older version of it. Does it matter?

What could be the problem here?

Please help!

John

Walter Schulz

As discussed above: Delete lib folder or replace lib folder contents with Exiftools lib v9.9.9.

guoyida


snakec


dfort

Quote from: snakec on August 20, 2015, 12:27:54 PM
Always not solution for Windows?

It is working in Windows. Re-read the posts. Make sure you got the latest version and delete or update the lib folder.

Walter Schulz

Snakec's 70D problem is discussed above and latest download doesn't fix it.

dfort

Right, not a Windows only issue because we also tested it on Mac's with the same results. dmilligan has merged cr2hdr 20-bit with his revised DNG branch. If there is going to be a fix for the 70D issue it will probably come from the new branch first:

https://bitbucket.org/dmilligan/magic-lantern/branch/ml_dng-cr2hdr20bit

http://www.magiclantern.fm/forum/index.php?topic=7139.msg153172#msg153172