Bug 439161 - .insv (360-video) files not shown
Summary: .insv (360-video) files not shown
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Albums-IconView (show other bugs)
Version: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-25 18:37 UTC by Jan van Bekkum
Modified: 2021-06-26 06:48 UTC (History)
2 users (show)

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


Attachments
4k resolution file (357.19 KB, image/jpeg)
2021-06-26 05:41 UTC, Jan van Bekkum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan van Bekkum 2021-06-25 18:37:19 UTC
SUMMARY
Video clips recorded with an Insta360 camera (file format .insv) are not visible.

STEPS TO REPRODUCE
1. Open album containing an .insv file and refresh
2. 
3. 

OBSERVED RESULT
Thumbnail not shown

EXPECTED RESULT
Thumbnail visible

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-06-25 20:10:06 UTC
digiKam knows a variety of Mime types. If you have an exotic format like this one, then you can add the "insv" type in the digiKam settings under View-> Mime types under Video. digiKam scans the collection again and you see a thumbnail. The video (I downloaded a sample from the web) is even played. The video does not seem to contain any information about the orientation because even ExifTool does not show anything that could be an orientation. The video can be rotated with the right mouse button in play mode.

Maik
Comment 2 Jan van Bekkum 2021-06-26 05:41:39 UTC
Created attachment 139668 [details]
4k resolution file
Comment 3 Jan van Bekkum 2021-06-26 05:42:13 UTC
Thanks Maik!

This is extremely helpful and exactly what I was looking for.

The Insta360 X2 can record in different formats. If you record in the highest 5.7k resolution it creates 2 files, each covering 180 degrees view. In the lower 4k resolution you get one file with a mirrored view (see attachment).
Comment 4 Maik Qualmann 2021-06-26 06:48:41 UTC
Git commit 6dfe2464bcf9a1396197c0f05c404a7b4390b795 by Maik Qualmann.
Committed on 26/06/2021 at 06:47.
Pushed by mqualmann into branch 'master'.

add special case to load the metadata with the FFmpeg parser
The mime type "INSV" is unknown to QMimeDatabase.

M  +2    -1    core/libs/metadataengine/dmetadata/dmetadata_fileio.cpp

https://invent.kde.org/graphics/digikam/commit/6dfe2464bcf9a1396197c0f05c404a7b4390b795