[digiKam-users] MTS video metadata

Gilles Caulier caulier.gilles at gmail.com
Sat Oct 6 16:10:40 BST 2018


Hi,

I would add more technical precision here about video files support :

1/ 5.x and older release do not have video metadata support. Exiv2video
support is full of bug and we disable it at all.
2/ 6.0.0 has video metadata support. It use ffmpeg for that. We write a
wrapper to import all metadata read by ffmpeg when video is identified.
3/ ffmpeg parse video file in different way than exiv2 or exiftool. To be
honest, i don't know well where the data are extracted. video metadata are
more complex than photo metadata. this is not a puzzle, it's a huge maze.
4/ ffmpeg use extension codecs to support proprietary video. Are you sure
to have the right ffmpeg version installed with all video codecs.
5/ With mys experiment when i tune the wrapper code, MP4 and MKV are the
best video format. MP4 for ex, is very well documented with a full support
of metadata (Thanks to Apple for that).

Voilà

Gilles Caulier

Le sam. 6 oct. 2018 à 16:39, meku <digikam at meku.org> a écrit :

> Different cameras store some of the video dates as UTC or localtime. I
> think Digikam-6.0 is expecting that it is always stored as UTC and then
> converting to the local timezone.
>
> I noticed that my camera that uses localtime also stores an ExifIFD.
> DateTimeOriginal tag in the video. Maybe Digikam can do some additional
> tests on the metadata to look for this or other tags and determine if the
> video is in UTC or not.
>
>
> On Fri, 5 Oct 2018 at 20:07, Guy Rutenberg <guyrutenberg at gmail.com> wrote:
>
>> Hi,
>>
>> I've got couple of MTS videos (shot using Sony a6000), and it seems that
>> Digikam fails to parse the tags from the file. I've tried both digikam 5.9
>> and the 6.0 beta. I saw that there were improvements to metadata handling
>> in 6.0, but it didn't solve it. The thing that bothers me the most is
>> incorrect time associated with the videos (it seems digikam is using
>> modification time of the file, while ignoring the timezone), which means
>> that the videos are not sorted correctly compared to the JPEGs.
>>
>> I've checked with exiftool and the MTS files indeed contain the correct
>> metadata (including maker and model which are not parsed at all by digikam).
>>
>> I don't remember such problems with mp4 videos in the past. Am I doing
>> something wrong?
>>
>> Thanks,
>> Guy
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20181006/166b8ab0/attachment.html>


More information about the Digikam-users mailing list