ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: ryerman on April 28, 2016, 12:54:58 PM

Title: Command fails when writing to MP4 files, but succeeds for JPG files.
Post by: ryerman on April 28, 2016, 12:54:58 PM
This is an attempt to clarify and simplify the problem as reported by TSM here:
https://exiftool.org/forum/index.php/topic,7204.0.html (https://exiftool.org/forum/index.php/topic,7204.0.html)

Execute these 2 command lines, one after the other, for 2 file types; JPG and MP4:
exiftool -all= -overwrite_original FILE
exiftool -all= -XMP-dc:description=MYTEXT -overwrite_original FILE

If FILE is JPG, then MYTEXT will be successfully written to XMP-dc:Description.
But,
if FILE is MP4, then XMP-dc:Description will be undefined.

Is this a bug?


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>exiftool -ver
10.15

C:\Windows\system32>exiftool -all= -overwrite_original W:\file.JPG
    1 image files updated

C:\Windows\system32>exiftool -all= -XMP-dc:description=MYTEXT -overwrite_original W:\file.JPG
    1 image files updated

C:\Windows\system32>exiftool -p "$filename     $XMP-dc:description" W:\file.JPG
file.jpg     MYTEXT

C:\Windows\system32>exiftool -all= -overwrite_original W:\file.MP4
    1 image files updated

C:\Windows\system32>exiftool -all= -XMP-dc:description=MyText -overwrite_original W:\file.MP4
    1 image files updated

C:\Windows\system32>exiftool -p "$filename     $XMP-dc:description" W:\file.MP4
Warning: [Minor] Tag 'XMP-dc:description' not defined - W:/file.mp4

C:\Windows\system32>
Title: Re: Command fails when writing to MP4 files, but succeeds for JPG files.
Post by: Phil Harvey on May 02, 2016, 09:52:14 AM
Yes, it seems to be a bug.  I'll look into this.

Thanks for this report.

- Phil
Title: Re: Command fails when writing to MP4 files, but succeeds for JPG files.
Post by: Phil Harvey on May 03, 2016, 12:04:29 PM
Found the bug.  This should be fixed in ExifTool 10.16.

Thanks Ryerman and TSM (https://exiftool.org/forum/index.php/topic,7204.0.html) for pointing this out.

- Phil
Title: Re: Command fails when writing to MP4 files, but succeeds for JPG files.
Post by: ryerman on May 03, 2016, 09:36:44 PM
Thanks.
I see that it is fixed in version 10.16.