@bdillahu I was able to check out the example pair you sent:
$ ./photostructure info '/home/mrm/Downloads/bd/2019-07-09T21.18.04_P1150141.jpg' '/home/mrm/Downloads/bd/2019-07-09T21.18.04_P1150141.rw2'
{
fileComparison: 'These files represent different assets: Different cameraId: SerialNumber:X151208100### != InternalSerialNumber:(X15) 2012:08:10 no. 0###',
(I’ve replaced the last numbers with ###s in the interest of privacy)
So: it looks like your camera manufacturer decided to encode your serial number using just InternalSerialNumber
with the RW2, and both SerialNumber
and InternalSerialNumber
in the JPEG.
I hadn’t seen this before: pairs seem to either include both or neither.
To solve this, I’ll extract both, and test for both. This bugfix will be in v1.next (v1.0.1 or v1.1.0).