Author Topic: MP4 or MOV filename as Apple Photo Title  (Read 502 times)

Wranglerdave

  • Jr. Member
  • **
  • Posts: 13
MP4 or MOV filename as Apple Photo Title
« on: July 04, 2019, 05:00:43 PM »
I use the following command to set up descriptions, titles, etc. for JPEG files… 
exiftool -config ~/Applications/example.config '-basename>title' '-basename>description' '-basename>subject' '-basename>ImageDescription' '-basename>Caption-Abstract' '-basename>objectname' '-filename>FileModifyDate'  -api QuickTimeUTC -P -overwrite_original ~/downloads/

This appears to set up MP4 or MOV files correctly but when they are uploaded to Apple Photos, the title is always missing. I am thinking there is another tag in Movie files that Apple uses for the title… Can anyone clarify this for me please? 

Thanks for your help.
« Last Edit: July 04, 2019, 06:04:15 PM by Wranglerdave »

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3955
Re: MP4 or MOV filename as Apple Photo Title
« Reply #1 on: July 04, 2019, 05:08:31 PM »
I don't have access to Apple Photos, so I can't test it but the command you list will copy to XMP tags.  MOV/MP4 files don't support IPTC and I'm not sure of the status of EXIF tags in video files.  Odds are, Apple Photos doesn't read those tags.

If Apple Photos has the ability to write the title, I'd suggest writing to a test file and then using exiftool to see what is written.  If it doesn't, I'd suggest trying  '-basename>Quicktime:title' and seeing if that works.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16879
    • ExifTool Home Page
Re: MP4 or MOV filename as Apple Photo Title
« Reply #2 on: July 04, 2019, 05:33:25 PM »
Apple seems to prefer the QuickTime Keys tags.  Try writing Keys:Title to see if that works.  Also, read FAQ 3 for more ideas.

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

Wranglerdave

  • Jr. Member
  • **
  • Posts: 13
Re: MP4 or MOV filename as Apple Photo Title
« Reply #3 on: July 05, 2019, 08:35:09 AM »
Well I tried all your suggestions and more but unfortunately nothing seems to work.  I did run a test to see what the difference was between an exported Apple Photo and one I have tried to update the tittle.  The only difference I could see was the Apple Photo showed the “ItemList:Encoder” as Google but I don’t know if that made a difference or not.  Is there as way to change/delete this?

Thanks for all your help… it is really appreciated.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16879
    • ExifTool Home Page
Re: MP4 or MOV filename as Apple Photo Title
« Reply #4 on: July 05, 2019, 04:33:36 PM »
Did you try importing the file again under a different name?  With other photo apps I have seen problems trying to get it to re-read metadata from the same file.

I have Photos, so I could possibly try this out when I get a chance (maybe next week sometime).

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

Wranglerdave

  • Jr. Member
  • **
  • Posts: 13
Re: MP4 or MOV filename as Apple Photo Title
« Reply #5 on: July 05, 2019, 04:54:13 PM »
I did reload it under a different name, corrected it in photos, exported it, renamed it and reload it... did not make a difference. 

Appreciate the help with this.

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3955
Re: MP4 or MOV filename as Apple Photo Title
« Reply #6 on: July 05, 2019, 06:20:30 PM »
Try adding this file
https://www.dropbox.com/s/x77eh1vdjv8if0k/Test1.mp4

I filled this file with a lot of the metadata that exiftool can write.  If you see a value along the lines of "Quicktime:Keys:Title" then you can use the last two parts (e.g. Keys:Title) to write the data with.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

Wranglerdave

  • Jr. Member
  • **
  • Posts: 13
Re: MP4 or MOV filename as Apple Photo Title
« Reply #7 on: July 06, 2019, 02:59:11 PM »
Ok I’ve tried several different ways of getting the info into Photos title.  I have attached several screen prints with the name reflecting the status at the time taken.  The only thing I can see different is there are several “ItemList:Decscription” and "ItemList:Title” on several exported versions.

I imported the Test1 file and it did not have the “title” filled in.

Thanks for all your efforts...