Viewing exiftool written Metadata for mp4 and MOV files in Windows 7

Started by sdoherty82, June 03, 2015, 03:59:29 PM

Previous topic - Next topic

sdoherty82

I have been mucking around with exiftool for several months now and have managed to get it to do what I want for the .jpg files in my photo collection but would like to replicate it for the MOV and MP4 files created from various digital cameras when taking movies.
I am trying to add 'Comments', 'Copyright', 'Author' and Keywords to these files. The command i have been using is something along the lines of:

exiftool "-Comment<Original filename: ${filename}" "-Usercomment<Original filename: ${filename}" -keywords="2014; USA; Nevada; Lake Tahoe; October" -copyright="Sian Doherty" -Author="Sian Doherty" DIR

where DIR is the directory with the files.
I get a
1 directories scanned.
3 images updated
message after running the command so I know it worked however the displayed fields in Explorer when viewing in the details pane or via Properties>Details tab is blank. I have added data manually as recommended in other threads to find out exactly where to add it to and it is the 'Comment' tag, however it doesn't seem to be working. If I do it manually it shows in Windows explorer and if i set it with exiftool and then drag the file onto the exiftool program to get the readout it displays in there but it's not displaying in Explorer.
I also want to end up renaming these files by date/time original and have worked out the command line for this but would like to get the tags for Author, Copyright, Comments and Keywords working first.
The same command works fine for JPG files just not the video files.
Thanks in advance,
Sian Doherty

Phil Harvey

Hi Sian,

ExifTool only writes XMP to MOV/MP4 videos, but XMP in these files isn't well supported (yet) by other software.

Also, the tags you are writing aren't the ones I would suggest.    Try XMP:Description and XMP:Subject instead of UserComment and Keywords.  I'm not sure what to suggest to use in place of Comment, but Comment is a JPEG-specific tag.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

sdoherty82


sdoherty82

One more thing and it may not be possible. I know you said to try XMP:Description and XMP:Subject and that exiftool writes to very few tags, however I've noticed when I add tags manually to the mp4s and movs using the windows properties box that Exiftool reads it as Category under the Microsoft xtra group. Is it possible to write to this tag too and if so what is the tagname?
I've tried every combination i can think of using -xmp-microsoft-xtra:Category but nothing works. I don't know if it's just because exiftool can only read it and not write to it or if i'm just using the wrong tagname....

---- ExifTool ----
ExifToolVersion 9.97
---- System ----
FileName        20150321_215136.mp4
Directory       d:/test
FileSize        46 MB
FileModifyDate  2015:06:07 11:54:55-06:00
FileAccessDate  2015:06:07 11:54:54-06:00
FileCreateDate  2015:06:07 11:53:31-06:00
FilePermissions rw-rw-rw-
---- File ----
FileType        MP4
FileTypeExtension       mp4
MIMEType        video/mp4
---- QuickTime ----
MajorBrand      MP4 v2 [ISO 14496-14]
MinorVersion    0.0.0
CompatibleBrands        isom, mp42
MovieDataSize   48671074
MovieDataOffset 32
MovieHeaderVersion      0
CreateDate      2015:03:22 03:52:03
ModifyDate      2015:03:22 03:52:03
TimeScale       1000
Duration        22.60 s
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
PlayMode        SEQ_PLAY
---- Microsoft ----
Category        2015
---- Track1 ----
TrackHeaderVersion      0
TrackCreateDate 2015:03:22 03:52:03
TrackModifyDate 2015:03:22 03:52:03
TrackID 1
TrackDuration   22.60 s
TrackLayer      0
TrackVolume     0.00%
ImageWidth      1920
ImageHeight     1080
GraphicsMode    srcCopy
OpColor 0 0 0
CompressorID    avc1
SourceImageWidth        1920
SourceImageHeight       1080
XResolution     72
YResolution     72
BitDepth        24
VideoFrameRate  30.006
---- Track2 ----
MatrixStructure 1 0 0 0 1 0 0 0 1
MediaHeaderVersion      0
MediaCreateDate 2015:03:22 03:52:03
MediaModifyDate 2015:03:22 03:52:03
MediaTimeScale  48000
MediaDuration   22.51 s
HandlerType     Audio Track
HandlerDescription      SoundHandle
Balance 0
AudioFormat     mp4a
AudioChannels   2
AudioBitsPerSample      16
AudioSampleRate 48000
---- Composite ----
AvgBitrate      17.2 Mbps
ImageSize       1920x1080
Megapixels      2.1
Rotation        0

Any thoughts would be greatly appreciated.
Cheers,
Sian Doherty

Phil Harvey

Quote from: sdoherty82 on June 08, 2015, 12:01:18 PM
Exiftool reads it as Category under the Microsoft xtra group. Is it possible to write to this tag too

Microsoft Xtra tags

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).