ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: StarGeek on February 08, 2025, 10:04:20 AM

Title: Problem writing ContentCreateDate to both ItemList and UserData
Post by: StarGeek on February 08, 2025, 10:04:20 AM
Writing to both ItemList:ContentCreateDate and UserData:ContentCreateDate only sets the date for ItemList:ContentCreateDate

C:\>exiftool -all= -P -overwrite_original -UserData:ContentCreateDate="2020:01:01 12:00:00-08:00" -ItemList:ContentCreateDate="2024:01:01 12:00:00-08:00" Y:\!temp\Test4.mp4
    1 image files updated

C:\>exiftool -G1 -a -s -content* Y:\!temp\Test4a.mp4
[ItemList]      ContentCreateDate               : 2024:01:01 12:00:00-08:00
[UserData]      ContentCreateDate               : 2024:01:01 12:00:00-08:00

C:\>exiftool -all= -P -overwrite_original -UserData:ContentCreateDate="2020:01:01 12:00:00-08:00" Y:\!temp\Test4.mp4
    1 image files updated

C:\>exiftool -G1 -a -s -content* Y:\!temp\Test4a.mp4
[ItemList]      ContentCreateDate               : 2024:01:01 12:00:00-08:00
[UserData]      ContentCreateDate               : 2024:01:01 12:00:00-08:00

I tested ItemList:Artist and UserData:Artist and those tags didn't have this problem.
Title: Re: Problem writing ContentCreateDate to both ItemList and UserData
Post by: Phil Harvey on February 08, 2025, 10:15:05 AM
Thanks for this report.  It took me a while to notice that one date was 2020 and one was 2024, but I see that now.

But I don't see this effect when I write a test MP4 here.  Could you send me an MP4 that shows this effect?

- Phil
Title: Re: Problem writing ContentCreateDate to both ItemList and UserData
Post by: StarGeek on February 08, 2025, 10:53:49 AM
Ok, something is really weird here. I'm getting inconsistent results. One second it's working, the next it's not.

Damn it, user error. Writing to Test4.mp4, reading Test4a.mp4.
Nevermind

I was testing ffmpeg and where it writes the Description tag and since ffmpeg doesn't write in place, I had to make a copy of the file.

Side note, apparently ffmpeg writes to ID-desc:Description and not ©des. This was causing problems for a ffmpeg user.

Title: Re: Problem writing ContentCreateDate to both ItemList and UserData
Post by: Phil Harvey on February 08, 2025, 12:27:54 PM
Glad you figured it out.  I've fooled myself the same way numerous times.

- Phil