Bug 330116 - digiKam does not take care about GPS info stored in MP4 video files
Summary: digiKam does not take care about GPS info stored in MP4 video files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Gps (show other bugs)
Version: 3.5.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-18 10:10 UTC by Philippe ROUBACH
Modified: 2018-03-03 10:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
a video file with gps coordinates (3.84 MB, video/mp4)
2014-08-20 17:23 UTC, Philippe ROUBACH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2014-01-18 10:10:00 UTC
Samsung SIIP , android 4.2.2 , digikam 6.5
opensuse 13.1 x86_64

i take a movie with google "Appareil photo" app . this app record gps info in movie file
then
digikam does not display any map when clicking the movie.
it displays a grey map .

see the gps info in exif contents of movie
***************************************************************************
roubach@linux-b4lz:~/Documents/photo/Images/mes_depots/essai> exiftool 
VID_20140118_104612.mp4
ExifTool Version Number         : 9.34
File Name                       : VID_20140118_104612.mp4
Directory                       : .
File Size                       : 14 MB
File Modification Date/Time     : 2014:01:18 10:50:28+01:00
.....
Next Track ID                   : 3
GPS Coordinates                 : 44 deg 51' 3.96" N, 0 deg 37' 22.80" W
Track Header Version            : 0
......
Avg Bitrate                     : 16.7 Mbps
GPS Latitude                    : 44 deg 51' 3.96" N
GPS Longitude                   : 0 deg 37' 22.80" W
GPS Position                    : 44 deg 51' 3.96" N, 0 deg 37' 22.80" W
Image Size                      : 1920x1080
Rotation                        : 90
roubach@linux-b4lz:~/Documents/photo/Images/mes_depots/essai>
*******************************************************************

if with digikam i assign a localization to a mp4 movie
then
gps info is well recorded in the movie file
and
if i click on the movie then a map is displayed


Reproducible: Always
Comment 1 caulier.gilles 2014-01-18 10:42:32 UTC
Video metadata are supported if you use Exiv2 shared library version 0.24 :

http://www.exiv2.org/changelog.html

>> 0000813: Video metadata support (Abhinav Badola for GSoC 2012)

libkexiv2 and digiKam must be recompiled with this release of Exiv2, else nothing happen with video file about metadata.

Gilles Caulier
Comment 2 caulier.gilles 2014-08-20 13:51:09 UTC
Did you try to reproduce the problem with last digiKam 4.3.0 and Exiv2 0.24 ?

Can you share a MP4 file including geolocation info ?

Gilles Caulier
Comment 3 Philippe ROUBACH 2014-08-20 16:39:49 UTC
-today digikam 4.3 is not yet supplied from opensuse rpm source .

- see the answer of opensuse team about exiv2

https://bugzilla.novell.com/show_bug.cgi?id=858420

comment 5

we must wait for opensuse 13.2 to get exiv2 0.24
Comment 4 Philippe ROUBACH 2014-08-20 17:23:10 UTC
Created attachment 88334 [details]
a video file with gps coordinates
Comment 5 caulier.gilles 2014-08-20 19:41:37 UTC
Problem is reproducible with Exiv2 0.14 and digiKam 4.3.0.

Please report this problem to Exiv2 bugzilla, with file attached for future investigations.

Gilles Caulier
Comment 6 caulier.gilles 2016-12-18 10:00:55 UTC

*** This bug has been marked as a duplicate of bug 369629 ***
Comment 7 caulier.gilles 2018-03-03 08:41:49 UTC
With 6.0.0, we have now a FFMpeg low level metadata parser based on libav C API
for video files database registration.

The Exiv2 video support is not used anymore as this code is buggous and nobody
sound motivated in Exiv2 to finalize the code.

The original post for this file must be fixed now and video metadata support
with ffmpeg must be enough to populate database entries.

Gilles Caulier
Comment 8 Philippe ROUBACH 2018-03-03 10:43:42 UTC
I am very glad.
Thanks