Bug 469408

Summary: Tags added to videos files (mp4 or mov) in Digikam 8.0.0 are +written to file but not recognized in other software
Product: [Applications] digikam Reporter: malte.boensch
Component: Metadata-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, marielle.simon42, metzpinguin, verweis-buergerin-0o
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description malte.boensch 2023-05-06 09:11:36 UTC
SUMMARY
See Digicam tags written to videos using exiftool extension in other software (e.g. Synology Photos).

STEPS TO REPRODUCE
1. Ensure that in Digicam settings metadata is being written using exiftool extension
2. Write any tag to a video file (e.g. mp4 or mov) using Digicam 8.0.0
3. Upload to synology photos and check "information" (=metadata) that is being recognized there

OBSERVED RESULT
The tag (in my case "Favorit") is indeed written into the video's metadata. (See below extract from exiftool.exe export).
However, neither Windows File Details nor Synology Photos recognize the tag in the file.

EXPECTED RESULT
Since the tag is indeed written into the MP4 file, I was hoping that it is also recognized by other programs (e.g. Synology).



SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Metadata analysis using exiftool.exe:
[...]
Last Keyword XMP                : Favorit
Categories                      : <Categories><Category Assigned="1">Favorit</Category></Categories>
Subject                         : Favorit
Tags List                       : Favorit
[...]
Hierarchical Subject            : Favorit
Catalog Sets                    : Favorit
Comment 1 caulier.gilles 2023-05-06 09:27:36 UTC
Well, if extra software are not able to parse XMP contents and import tags written in standard places, we cannot do anything...

Gilles Caulier
Comment 2 malte.boensch 2023-05-06 10:10:53 UTC
I suppose tagging photos and videos is a different thing - and I know nothing about it.
What I observe however is that both person/face-tags or other tags attached to videos are also not visible in a "standard" software like Windows Explorer (when viewing file details).
For photos that is no problem.

Is there any opportunity to write the tag somehow differently?
Comment 3 Maik Qualmann 2023-05-06 16:23:00 UTC
Git commit a5aaceaa533475f768630e13fd0eb03aa4ad2ce7 by Maik Qualmann.
Committed on 06/05/2023 at 16:22.
Pushed by mqualmann into branch 'master'.

write QuickTime itemList to video files

M  +10   -0    core/libs/metadataengine/exiftool/exiftoolparser_command.cpp
M  +1    -0    core/libs/metadataengine/exiftool/exiftoolparser_p.h

https://invent.kde.org/graphics/digikam/commit/a5aaceaa533475f768630e13fd0eb03aa4ad2ce7
Comment 4 Maik Qualmann 2023-05-06 16:24:55 UTC
Windows Explorer only supports QuickTime Metadata in video files, not XMP. With the next digiKam-8.1.0 test version we will see if it works.

Maik
Comment 5 malte.boensch 2023-05-06 16:35:15 UTC
Thx! Would this potentially cover both MOV and MP4 files?
Comment 6 Maik Qualmann 2023-05-06 17:26:04 UTC
Git commit 6283610d7a66e7abb219818c589e30b6cee2a432 by Maik Qualmann.
Committed on 06/05/2023 at 17:25.
Pushed by mqualmann into branch 'master'.

more adjustments to Windows Explorer

M  +3    -1    core/libs/metadataengine/exiftool/exiftoolparser_command.cpp

https://invent.kde.org/graphics/digikam/commit/6283610d7a66e7abb219818c589e30b6cee2a432
Comment 7 Maik Qualmann 2023-05-06 18:35:43 UTC
Git commit 2f58f62568254dd5cecd5ef359caef623a482a76 by Maik Qualmann.
Committed on 06/05/2023 at 18:34.
Pushed by mqualmann into branch 'master'.

add delete QuickTime metadata

M  +13   -5    core/libs/metadataengine/exiftool/exiftoolparser_command.cpp

https://invent.kde.org/graphics/digikam/commit/2f58f62568254dd5cecd5ef359caef623a482a76
Comment 8 Maik Qualmann 2023-05-15 05:48:16 UTC
Git commit cb257633de0a1da01eda75d4a8305092465b33e4 by Maik Qualmann.
Committed on 15/05/2023 at 05:46.
Pushed by mqualmann into branch 'master'.

disable writing to video QuickTime metadata
At the moment we don't have a way to import
the metadata in a configurable way.

M  +4    -3    core/libs/metadataengine/exiftool/exiftoolparser_command.cpp

https://invent.kde.org/graphics/digikam/commit/cb257633de0a1da01eda75d4a8305092465b33e4
Comment 9 Maik Qualmann 2023-06-04 18:52:51 UTC
*** Bug 470641 has been marked as a duplicate of this bug. ***
Comment 10 malte.boensch 2023-07-15 06:17:46 UTC
Hi,
Is there any update on mp4 support?
Thx
Comment 11 malte.boensch 2024-02-19 06:13:40 UTC
Hi there,
Is this still something in the pipeline?

Cheers
Comment 12 malte.boensch 2024-06-09 15:11:55 UTC
Do you have an update for this bug ?
Comment 13 Maik Qualmann 2024-06-09 20:16:59 UTC
Git commit d3631ae2355734c7cf67f76dd5e55fb62b297e5d by Maik Qualmann.
Committed on 09/06/2024 at 20:16.
Pushed by mqualmann into branch 'master'.

first step to support Microsoft video QuickTime metadata

M  +20   -16   core/libs/metadataengine/exiftool/exiftoolparser_command.cpp

https://invent.kde.org/graphics/digikam/-/commit/d3631ae2355734c7cf67f76dd5e55fb62b297e5d