Bug 414473 - Importing problem with M2Ts video files
Summary: Importing problem with M2Ts video files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 6.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-24 20:37 UTC by FG
Modified: 2022-01-07 05:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FG 2019-11-24 20:37:15 UTC
I have many m2ts ( videos from a 4K Sony camcorder) files to import in my collections.

When i import the files few are sent to the right directory ( date taken based ) most of the are sent to a directory at the date of the upload form the camera ( done a few days ago with Sony display memories  )

None of them are present in the database after the import.




I used 


STEPS TO REPRODUCE
1. Get a few M2ts files in a directory a
2. Import images all, with directory a as source and collection XXX as destination  
3. 

OBSERVED RESULT
1. With the file explorer. 
   a) a few files are in the good directory ( 00002_ok.m2ts )
   b) other files are not in the good directory (20181019055430_non_ok.m2ts)


2. none of the imported files are in the databse
3. none of the files are displayed in the XXX collection


EXPECTED RESULT
 
These should be stored in the good directory
     00002_ok.m2ts  in 2018-05-28   ( witch is ok )
     20181019055430_non_ok.m2ts in 2018-10-19  (witch is non ok it is 
                                                getting to 2019-11-14 )   
Be present in the database
Be displayed normaly in the album view


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

ADDITIONAL INFORMATION
I would have liked to includeds two sample files for testing but the tool limit the file size to 4000 kb and the two files are 220 000 kb when zipped. I could send them by another way on request.
Comment 1 Maik Qualmann 2019-11-24 20:46:51 UTC
The extension "m2ts" is unknown to digiKam. You can add these in the digiKam Setup-> View-> Mime Types under Video. Then also "m2ts" files are recognized.

Maik