Bug 377072 - Cannot read video metadata
Summary: Cannot read video metadata
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MetadataEdit (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 19:14 UTC by Fiona
Modified: 2018-02-28 10:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fiona 2017-03-01 19:14:49 UTC
I just downloaded digiKam and imported several MP4 video. The video metadata isn't displayed and therefore I cannot embed my tags into the metadata. Is there a method for doing this in digiKam? 

Thanks
Comment 1 caulier.gilles 2017-03-01 21:48:54 UTC
Metadata from video is supported through Exiv2 shared library.

The Exiv2 0.25, the last stable have serious problems with video files. This feature is optional in Exiv2 and certainly disabled at compilation time by packager.

Next 0.26 (not yet released) will be better so far, and we use it in digiKam bundle as ApppImage for Linux. You can try 5.5.0 pre release with Exiv2 0.26 here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Note : depending of video format, some files cannot be read by Exiv2 yet. Look in Exiv2 web site for details.

Gilles Caulier
Comment 2 Nick Anderson 2018-01-15 23:14:58 UTC
(In reply to caulier.gilles from comment #1)
> Metadata from video is supported through Exiv2 shared library.
> 
> The Exiv2 0.25, the last stable have serious problems with video files. This
> feature is optional in Exiv2 and certainly disabled at compilation time by
> packager.
> 
> Next 0.26 (not yet released) will be better so far, and we use it in digiKam
> bundle as ApppImage for Linux. You can try 5.5.0 pre release with Exiv2 0.26
> here :
> 
> https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM
> 
> Note : depending of video format, some files cannot be read by Exiv2 yet.
> Look in Exiv2 web site for details.
> 
> Gilles Caulier

With the 5.8.0 appimage should we expect video metadata and editing to work? I  get errors about the file being of an unknown image type.


#+BEGIN_EXAMPLE
digikam.metaengine: Cannot load metadata from file   (Error # 11 : VID_20160814_002328.mp4: The file contains data of an unknown image type
#END+EXAMPLE
Comment 3 caulier.gilles 2018-02-28 10:48:07 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