ExifTool Forum

General => Metadata => Topic started by: Kipowsky on August 03, 2018, 02:22:25 PM

Title: Mac Photos accept Fuji but not Nikon make and model.
Post by: Kipowsky on August 03, 2018, 02:22:25 PM
Hi.

So I have two video files. "DSC_0923.MOV" which is a Nikon D7000 original video file. And I have "159.MOV", which is a re-containted video from a Fujifilm FinePix F100fd (changed from a .AVI to a .MOV with a script, that copies originalDateTime, Model and Make).

Both have "Make" and "Model" in the metadata, as confirmed by ExifTool 11.08.

I add the two videos to Mac Photos (Ver 3.0, High Sierra) and 159.MOV shows the camera make and model. The 0923.MOV does not. 0923.MOV also includes lens in metadata, but that don't show either. See attached images.

The question is: Why?

I hope I chose the right forum thread for this. If not I apologise. Thank you so much!

Kip


DSC_0923.MOV META
ExifToolVersion                 : 11.08
FileName                        : DSC_0923.MOV
Directory                       : /Volumes/Fire 2TB/Foton/Filmer från Micke/Nikon D7000
FileSize                        : 376 MB
FileModifyDate                  : 2018:07:24 21:29:41+02:00
FileAccessDate                  : 2018:08:03 20:12:54+02:00
FileInodeChangeDate             : 2018:07:31 00:57:52+02:00
FilePermissions                 : rwxr-xr-x
FileType                        : MOV
FileTypeExtension               : mov
MIMEType                        : video/quicktime
MajorBrand                      : Apple QuickTime (.MOV/QT)
MinorVersion                    : 2007.9.0
CompatibleBrands                : qt  , niko
MovieDataSize                   : 393858504
MovieDataOffset                 : 32
MovieHeaderVersion              : 0
ModifyDate                      : 2013:06:30 00:32:50
TimeScale                       : 24000
Duration                        : 0:02:34
PreferredRate                   : 1
PreferredVolume                 : 100.00%
PreviewTime                     : 0 s
PreviewDuration                 : 0 s
PosterTime                      : 0 s
SelectionTime                   : 0 s
SelectionDuration               : 0 s
CurrentTime                     : 0 s
NextTrackID                     : 3
TrackHeaderVersion              : 0
TrackCreateDate                 : 2013:06:30 00:32:50
TrackModifyDate                 : 2013:06:30 00:32:50
TrackID                         : 1
TrackDuration                   : 0:02:34
TrackLayer                      : 0
TrackVolume                     : 0.00%
ImageWidth                      : 1920
ImageHeight                     : 1080
GraphicsMode                    : ditherCopy
OpColor                         : 32768 32768 32768
CompressorID                    : avc1
SourceImageWidth                : 1920
SourceImageHeight               : 1080
XResolution                     : 72
YResolution                     : 72
BitDepth                        : 24
VideoFrameRate                  : 23.976
MatrixStructure                 : 1 0 0 0 1 0 0 0 1
MediaHeaderVersion              : 0
MediaCreateDate                 : 2013:06:30 00:32:50
MediaModifyDate                 : 2013:06:30 00:32:50
MediaTimeScale                  : 48000
MediaDuration                   : 0:02:34
HandlerClass                    : Media Handler
HandlerType                     : Audio Track
Balance                         : 0
AudioFormat                     : sowt
Make                            : NIKON CORPORATION
Model                           : NIKON D7000
Software                        : NIKON D7000 Ver.1.04
CreateDate                      : 2013:06:30 00:32:50
DateTimeOriginal                : 2013:06:30 00:32:50
FrameCount                      : 3714
FrameRate                       : 23.976
FrameWidth                      : 1920
FrameHeight                     : 1080
AudioChannels                   : 2
AudioBitsPerSample              : 16
AudioSampleRate                 : 48000
MakerNoteVersion                : 2.10
WhiteBalance                    : AUTO1
WhiteBalanceFineTune            : 0 0
ColorSpace                      : sRGB
PictureControlVersion           : 0100
PictureControlName              : Standard
PictureControlBase              : Standard
PictureControlAdjust            : Default Settings
PictureControlQuickAdjust       : n/a
Sharpness                       : Auto
Contrast                        : Normal
Brightness                      : Normal
Saturation                      : Auto
HueAdjustment                   : None
FilterEffect                    : n/a
ToningEffect                    : n/a
ToningSaturation                : n/a
TimeZone                        : +01:00
DaylightSavings                 : Yes
DateDisplayFormat               : Y/M/D
LensType                        : G VR
Lens                            : 18-105mm f/3.5-5.6
ThumbnailImage                  : (Binary data 9115 bytes, use -b option to extract)
PreviewImage                    : (Binary data 251781 bytes, use -b option to extract)
AvgBitrate                      : 20.3 Mbps
ImageSize                       : 1920x1080
LensSpec                        : 18-105mm f/3.5-5.6 G VR
Megapixels                      : 2.1
Rotation                        : 0


159.MOV META
ExifToolVersion                 : 11.08
FileName                        : 159.MOV
Directory                       : /Volumes/Fire 2TB/Foton/Filmer från Micke/TEST
FileSize                        : 105 MB
FileModifyDate                  : 2018:08:02 19:15:53+02:00
FileAccessDate                  : 2018:08:03 20:13:42+02:00
FileInodeChangeDate             : 2018:08:02 19:15:53+02:00
FilePermissions                 : rw-r--r--
FileType                        : MOV
FileTypeExtension               : mov
MIMEType                        : video/quicktime
MajorBrand                      : Apple QuickTime (.MOV/QT)
MinorVersion                    : 0.2.0
CompatibleBrands                : qt
MovieDataSize                   : 109661121
MovieDataOffset                 : 36
MovieHeaderVersion              : 0
CreateDate                      : 2009:09:22 14:31:28
ModifyDate                      : 2009:09:22 14:31:28
TimeScale                       : 1000
Duration                        : 0:01:26
PreferredRate                   : 1
PreferredVolume                 : 100.00%
PreviewTime                     : 0 s
PreviewDuration                 : 0 s
PosterTime                      : 0 s
SelectionTime                   : 0 s
SelectionDuration               : 0 s
CurrentTime                     : 0 s
NextTrackID                     : 3
TrackHeaderVersion              : 0
TrackCreateDate                 : 2009:09:22 14:31:28
TrackModifyDate                 : 2009:09:22 14:31:28
TrackID                         : 1
TrackDuration                   : 0:01:26
TrackLayer                      : 0
TrackVolume                     : 0.00%
ImageWidth                      : 640
ImageHeight                     : 480
GraphicsMode                    : srcCopy
OpColor                         : 0 0 0
CompressorID                    : jpeg
VendorID                        : FFmpeg
SourceImageWidth                : 640
SourceImageHeight               : 480
XResolution                     : 72
YResolution                     : 72
CompressorName                  : Lavc58.18.100 mjpeg
BitDepth                        : 24
VideoFieldOrder                 : Progressive; 0
VideoFrameRate                  : 30
Track1Name                      : FUJIFILM AVI STREAM 0100
MatrixStructure                 : 1 0 0 0 1 0 0 0 1
MediaHeaderVersion              : 0
MediaCreateDate                 : 2009:09:22 14:31:28
MediaModifyDate                 : 2009:09:22 14:31:28
MediaTimeScale                  : 11025
MediaDuration                   : 0:01:26
Balance                         : 0
HandlerClass                    : Data Handler
HandlerType                     : URL
HandlerDescription              : DataHandler
AudioFormat                     : mp4a
AudioBitsPerSample              : 16
AudioSampleRate                 : 11025
PurchaseFileFormat              : mp4a
LayoutFlags                     : Mono
AudioChannels                   : 1
SoftwareVersion                 : Lavf58.12.100
Make                            : FUJIFILM
Model                           : FinePix F100fd
AvgBitrate                      : 10.2 Mbps
ImageSize                       : 640x480
Megapixels                      : 0.307
Rotation                        : 0
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: Alan Clifford on August 03, 2018, 06:00:01 PM
Neither of the png files you posted have make nor model.
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: StarGeek on August 03, 2018, 08:28:37 PM
The png files appear to be captures of what I assume is Mac photos.  The Fuji one displays the make and model while the Nikon one doesn't.
(https://exiftool.org/forum/index.php?action=dlattach;topic=9402.0;attach=2683)(https://exiftool.org/forum/index.php?action=dlattach;topic=9402.0;attach=2681)

As to why, that would be something for Apple to answer.  I do notice that they are compressed using different codecs.  The Fuji appears to be using Motion Jpeg (https://en.wikipedia.org/wiki/Motion_JPEG) while the Nikon is using avc1, which I think is h264 (https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC).

It might also be the location where the make and model is stored in the vid.  Try using exiftool -G1 -a -s -make -model Files to get the exact locations and any possible duplicate locations for this data.
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: Kipowsky on August 13, 2018, 02:28:04 PM
Quote from: Alan Clifford on August 03, 2018, 06:00:01 PM
Neither of the png files you posted have make nor model.

Yes, one of them shows "FUJIFILM FinePix F100fd" while the other shows "Ingen kamerainformation" which is swedish for "No camera information". Both have no lens information.

Kip
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: Kipowsky on August 13, 2018, 02:33:01 PM
Quote from: StarGeek on August 03, 2018, 08:28:37 PM
It might also be the location where the make and model is stored in the vid.  Try using exiftool -G1 -a -s -make -model Files to get the exact locations and any possible duplicate locations for this data.

Thank you! This is what I got with the ExifTool settings you wrote me:

Kip-MacBook-Pro:~ Kip$ exiftool -G1 -a -s -make -model /Volumes/Fire\ 2TB/Foton/Filmer\ från\ Micke/TEST/DSC_0923.MOV
[Nikon]         Make                            : NIKON CORPORATION
[Nikon]         Model                           : NIKON D7000
Kip-MacBook-Pro:~ Kip$ exiftool -G1 -a -s -make -model /Volumes/Fire\ 2TB/Foton/Filmer\ från\ Micke/TEST/159.MOV
[QuickTime]     Make                            : FUJIFILM
[QuickTime]     Model                           : FinePix F100fd

So I guess that the first movie uses "Nikon" metadata för make and model, while the other uses "QuickTime". What's the difference?
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: Phil Harvey on August 13, 2018, 03:22:28 PM
The QuickTime information is stored using the format of the standard MOV metadata, but the Nikon tags are stored in proprietary metadata which is likely not read by many other applications (other than ExifTool).

- Phil
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: Kipowsky on August 15, 2018, 03:37:30 PM
Thanks!

When adding my own "Model" and "Make" with ExifTool using -model= and -make= it's added as [XMP-tiff] which Apple Photos does not recognise either, and probably is not a valid metadata for a cameras maker and model in a still camera or video camera. I have searched through all the different tags available and writable, but has not yet come up with one that looks correct or works.

This QuickTime metadata can not be written by ExifTool and the Nikon as you say is proprietary and can't or won't be read by Apple Photos. I can write QT metadata when creating a new file with FFmpeg, but then I would need to identify and copy all other necessary metadata as well row by row in my code. Not sure if FFmpeg has a "Copy all present metadata" option available with ability to edit or add specific ones.
Title: Re: Mac Photos accept Fuji but not Nikon make and model.
Post by: StarGeek on August 15, 2018, 05:00:19 PM
Quote from: Kipowsky on August 15, 2018, 03:37:30 PMNot sure if FFmpeg has a "Copy all present metadata" option available with ability to edit or add specific ones.

Search on -map_metadata.  I'm not sure how much it will do though.