Bug 500178 - Star Rating metadata won't write to Video
Summary: Star Rating metadata won't write to Video
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Video (other bugs)
Version First Reported In: 8.5.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-16 11:41 UTC by backup4g
Modified: 2025-02-16 16:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description backup4g 2025-02-16 11:41:22 UTC
SUMMARY
Configuration reports that the included exiftool.exe is both READ/WRITE compatible with MP4 files. Yet, basic metadata is not being written to the files by digiKam or its management of exiftool.

STEPS TO REPRODUCE
1. Make sure all metadata namespaces are checked in `Settings > Configure digiKam... > Metadata > Advanced > Rating`
2. Star Rate a video in your Album
3. Select the video and `Item > Write Metadata To File`
4. Select the video and `Item > Reread Metadata From File`

OBSERVED RESULT
Star rating disappears in the process. (it never gets written as metadata to the video file)

EXPECTED RESULT
A star rating should be present in the metadata and be read by digiKam or even show in the Properties view from the OS.

SOFTWARE/OS VERSIONS
Windows: 11

ADDITIONAL INFORMATION
Without success, I’ve tried variations on the settings:
`Settings > Configure digiKam... > Metadata > Behavior > Reading and Writing Metadata`
- Use ExifTool backend to read metadata from files
- Delegate to ExifTool backend all operations to write metadata to files

There appears to be a couple Metadata-Video bugs filed here like Bug 500043, but none that came up in my search seem to address fundamental metadata like Star Ratings.

digiKam is successful when READING the Star Rating metadata from files. Tested by setting the rating from the OS file properties, then `Item > Reread Metadata From File`
Only fails when `Item > Write Metadata To File`
Comment 1 Maik Qualmann 2025-02-16 11:54:43 UTC
Rating value is written to XMP metadata and QuickTime container as SharedUserRating if writing metadata with ExifTool is enabled. Tested here, with Windows Explorer, rating works fine.
Since we just got a similar bug report with tags only, please check the ExifTool version you are using, use the one that came with digiKam.

Otherwise, we need a video file as a sample to reproduce the problem.

Maik
Comment 2 backup4g 2025-02-16 15:41:18 UTC
(In reply to Maik Qualmann from comment #1)
> Tested here, with Windows Explorer, rating works fine.
> Since we just got a similar bug report with tags only, please check the
> ExifTool version you are using, use the one that came with digiKam.

I uninstalled v8.5.0 and reinstalled. Made sure configuration pointed to the included exiftool.exe.

It works as hoped and expected. Fan-f-ing-tastic! Thank you for checking it on your end. Cancel the bug report!