Bug 229543 - video exif info not found during import and renaming
Summary: video exif info not found during import and renaming
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-PostProcessing (show other bugs)
Version: 1.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 14:02 UTC by spade
Modified: 2017-08-16 05:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spade 2010-03-05 14:02:04 UTC
Version:            (using KDE 4.3.5)
OS:                Linux
Installed from:    Ubuntu Packages

OS	    : Ubuntu karmic 9.10
kernel	    : 2.6.31-20-generic
Digikam	    : 2:1.0.0-beta5, 2:1.0.0-1ubuntu1~karmic1
kdebase-bin : 4:4.3.5-0ubuntu1~karmic1
APN	    : Nikon Coolpix S500

The transfer is made with a custom renaming string that works fine with any jpg (with this APN) or raw file (with another APN) :
[date:yyyy.MM.dd_hh'h'mm'm'ss's']-###

For video files of the Coolpix, I get names like -001.AVI, -002.AVI, ...

Before transfer :
exiftool -s -DateTimeOriginal /media/disk/DCIM/100NIKON/DSCN1200.AVI
returns
DateTimeOriginal                : 2010:03:02 16:25:53

After transfer :
exiftool -DateTimeOriginal -001.AVI
Date Time Original              : 2010:03:02 16:25:53

So exif infos are not lost but not used by Digikam for renaming.
It was working fine with Digikam v0.9.x

Regards.
Comment 1 caulier.gilles 2010-03-05 14:13:26 UTC
There is no Exif info in video file. Only XMP, but it's not yet supported by Exiv2 library.

Andi, renaming problem is due to Advanced Rename tool. Right ?

Gilles
Comment 2 spade 2010-03-05 19:11:05 UTC
Actually, I noticed that only the following command return non-empty strings :
exiftool -s -MakerNotes:DateTimeOriginal /media/disk/DCIM/100NIKON/DSCN1200.AVI
exiftool -s -MakerNotes:DateTimeOriginal -001.AVI.
After the import, the "XMP" and "MakerNotes" tabs are as empty as the "EXIF" one, as well as for correctly renamed videos with 0.9.x than for badly renamed ones with 1.0.0.
Before the import, all tabs are greyed out.
Something should have changed since the version 0.9.x that could explain the regression.
Comment 3 caulier.gilles 2011-08-04 13:56:53 UTC
This problem is fixed in future 2.1.0 (git master code). I cannot reproduce it.

I fixed a stupid bug in UMS camera driver which do not assign date from file system for items without metadata.

I close this entry. Reopen if necessary.

Gilles Caulier