Bug 373682 - geolocalisation filter does not take care of the videos geolocalisation tags
Summary: geolocalisation filter does not take care of the videos geolocalisation tags
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Unclassified
Component: Metadata-Video (show other bugs)
Version: 5.3.0
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-15 13:17 UTC by Dav
Modified: 2018-02-28 11:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dav 2016-12-15 13:17:20 UTC
Hello,

Context: Digikam 5.3, coming from ppa, Ubuntu 16.04 64bits, 
KDE Frameworks 5.18.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system.

When a movie embed geo tags, they are not filtered in digikam when applying "files with geolocalisation" or "files without geolocalisation" filter.

To reproduce:

1. select a video available in digikam folders (/home/marc/pictures/movie.mov).
2. check if this video already have exif geolocalisation tags. for example with exiftool:
exiftool -n -GPSLatitude -GPSLongitude /home/marc/pictures/movie.mov
3. if this command does not display something, add some geolocalisation tag to this video:
exiftool -GPSLatitude=48.858356 -GPSLongitude=2.294460 -GPSLatitudeRef=North -GPSLongitudeRef=East /home/marc/pictures/movie.mov
4. check that exif infos have really set on file:
exiftool -n -GPSLatitude -GPSLongitude /home/marc/pictures/movie.mov => will display:
GPS Latitude                    : 48 deg 51' 30.08" N
GPS Longitude                   : 2 deg 17' 40.06" E
GPS Latitude Ref                : North
GPS Longitude Ref               : East
5. in digikam, select this movie and click on update metadata from file content.
6. in filters, select "display movies only" => movie must be listed
7. in filters, select "without geolocalisation" => movie will be displayed. it should not
8. in filters, select "with geolocalisation" => movie won't be displayed, it should.
Comment 1 caulier.gilles 2018-02-28 11:01:19 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