<div dir="ltr">Hi,<div><br></div><div>I would add more technical precision here about video files support :</div><div><br></div><div>1/ 5.x and older release do not have video metadata support. Exiv2video support is full of bug and we disable it at all.</div><div>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.</div><div>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.</div><div>4/ ffmpeg use extension codecs to support proprietary video. Are you sure to have the right ffmpeg version installed with all video codecs.</div><div>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).</div><div><br></div><div>Voilà</div><div><br></div><div>Gilles Caulier</div></div><br><div class="gmail_quote"><div dir="ltr">Le sam. 6 oct. 2018 à 16:39, meku <<a href="mailto:digikam@meku.org">digikam@meku.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>I noticed that my camera that uses localtime also stores an <font face="monospace, monospace">ExifIFD.</font><span style="color:rgb(0,0,0);font-family:monospace">DateTimeOriginal</span><span style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"> 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.</font></span></div><span style="font-family:monospace"><br></span></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 5 Oct 2018 at 20:07, Guy Rutenberg <<a href="mailto:guyrutenberg@gmail.com" target="_blank">guyrutenberg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>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.</div><div><br></div><div>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).</div><div><br></div><div>I don't remember such problems with mp4 videos in the past. Am I doing something wrong?</div><div><br></div><div>Thanks,</div><div>Guy<br></div></div>
</blockquote></div>
</blockquote></div>