Bug 280215

Summary: Can't add geolocation info to videos
Product: [Applications] digikam Reporter: Antonio Rojas <arojas>
Component: Plugin-Generic-GeolocationEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, mike, philippe.roubach
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.0
Sentry Crash Report:

Description Antonio Rojas 2011-08-16 19:18:41 UTC
Version:           2.0.0 (using KDE 4.7.0) 
OS:                Linux

In digikam 2.0 it is not possible to add geolocation information to mp4 videos. When trying to save it, a "Failed to open file" error pops up for every file. It worked fine in version 1.x

Reproducible: Always

Steps to Reproduce:
Try to add geolocation info to a mp4 video

Actual Results:  
An error dialog pops up

Expected Results:  
The geolocation metadata is added to the file
Comment 1 Michael G. Hansen 2011-08-16 21:24:35 UTC
Hi,

the problem here is that we do not currently support writing metadata into movie files. The coordinates are saved in the database, however. In previous pre-2.0 versions, no metadata was written to movie files, either, but there was no warning.

For now, you can use sidecar files instead of storing the metadata in the movie files directly, but there were recently some bugs reported about correct handling of coordinates in sidecar files, like bug#280058.

Regards,

Michael
Comment 2 Michael G. Hansen 2012-01-26 22:06:11 UTC
*** Bug 292484 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2015-05-18 12:42:38 UTC
Video file metadata is currently implemented in Exiv2 library used by digiKam in background.

Gilles Caulier
Comment 4 caulier.gilles 2015-05-18 12:44:29 UTC
Also Micheal comment about to use XMP sidecar is the only way to work with Video metadata in writing mode.

There is nothing to do to improve this state in digiKam implementation. All future improvements must be done in Exiv2 shared lib.

Gilles Caulier