https://bugs.kde.org/show_bug.cgi?id=522001

            Bug ID: 522001
           Summary: MP4: [Composite] GPSLatitude / GPSLongitude / ...
                    metadata - ignored and deleted (on save)
    Classification: Applications
           Product: digikam
      Version First 9.1.0
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Gps
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 193541
  --> https://bugs.kde.org/attachment.cgi?id=193541&action=edit
original - before editing in digiKam

DESCRIPTION
Viewing mp4 video file geolocation in digiKam ignores the embedded metadata GPS
information. The video file was created with my created with my Samsung phone
(S24).
Here is the relevant output from exiftool of the original state:
 [ExifTool]      ExifToolVersion       : 13.38
 [System]        FileName              : original.mp4
 [File]          FileType              : MP4
 [File]          FileTypeExtension     : mp4
 [File]          MIMEType              : video/mp4
 ...
 [UserData]      Author                : Galaxy S24 Ultra
 [UserData]      GPSCoordinates        : 49 deg 33' 22.32" N, 8 deg 26' 41.64"
E
 [UserData]      Unknown_cami          : (Binary data 25 bytes, use -b option
to extract)
 ...
 [Composite]     AvgBitrate            : 11.2 Mbps
 [Composite]     GPSLatitude           : 49 deg 33' 22.32" N
 [Composite]     GPSLongitude          : 8 deg 26' 41.64" E
 [Composite]     Rotation              : 0
 [Composite]     GPSPosition           : 49 deg 33' 22.32" N, 8 deg 26' 41.64"
E

GPS information is deleted from metadata when saving the file after tagging
e.g. the titel.
 [ExifTool]      ExifToolVersion       : 13.38
 [System]        FileName              : digiKam - after adding foo bar to
title.mp4
 ...
 [File]          FileType              : MP4
 [File]          FileTypeExtension     : mp4
 [File]          MIMEType              : video/mp4
 ...
 [UserData]      Author                : Galaxy S24 Ultra
 [UserData]      Unknown_cami          : (Binary data 25 bytes, use -b option
to extract)
 ...
 [ItemList]      Title                 : foo bar
 ...
 [XMP-dc]        Title                 : foo bar
 ...
 [Composite]     AvgBitrate            : 11.2 Mbps
 [Composite]     Rotation              : 0

STEPS TO REPRODUCE
1. Open original.mp4 file
2. Switch on the metadata sidebar and check ExifTool output for composite GPS
information and the same unter the Quicktime 
3. Switch on the Map sidebar. System shows "No Geolocation Information
Available"
4. Navigate to Captions sidebar -> Description. Enter as Title a new title
(here: foo bar) and apply the change
5. Apply the pending changes to metadata (save changes into the mp4 file)
6. Navigate again to the metadata sidebar and check ExifTool output: the
complete GPS information has vanished

OBSERVED RESULT
digiKam doesn't read the GPS information that is available.
digiKam deletes GPS information even though it wasn't changed in digiKam.

EXPECTED RESULT
digiKam should use the GPS information that is available.
digiKam must not delete GPS metadata that was not changed.

SOFTWARE/OS VERSIONS
digiKam: 9.1.0
KDE Frameworks: 6.26.0
Qt: Using 6.11.0 and built against 6.11.0
Windows 10 Version 22H2
Build ABI: x86_64-little_endian-llp64
Kernel: winnt 10.0.19045

ADDITIONAL INFORMATION
see attached file before change ("original.mp4")

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to