Bug 374179

Summary: Want .mts movies to appear in the digikam album
Product: [Applications] digikam Reporter: ohm1969bt
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Attachments: Example of .mts file

Description ohm1969bt 2016-12-26 18:36:40 UTC
Created attachment 103006 [details]
Example of .mts file

My current camera records films with the .mts extension.
I would like to be able to geotag and browse these films in digikam without changing the format of the films. Is it therefore possible to add the .mts extension to the formats digikam can handle ?
Plays nicely in vlc.



I could change the format but I would like to be able to view and play the files in their original formats.


Similar wish for kPhotoAlbum from 2011, I assume that this is not the same codebase.
269579	 Include .mts (AVCHD) videos in KPhotoAlbum database
Comment 1 Maik Qualmann 2016-12-26 21:16:16 UTC
Git commit 33f15f509b599692b08df92b121ab56f4545afb5 by Maik Qualmann.
Committed on 26/12/2016 at 21:15.
Pushed by mqualmann into branch 'master'.

add mts as default video mime type filter
FIXED-IN: 5.4.0

M  +1    -1    libs/database/coredb/coredbschemaupdater.cpp

https://commits.kde.org/digikam/33f15f509b599692b08df92b121ab56f4545afb5
Comment 2 caulier.gilles 2016-12-26 21:20:25 UTC
See also this screenshot :

https://www.flickr.com/photos/digikam/31780502291/in/dateposted-public/

I just add VOB with movies type mime and voilĂ ... Re-scanning albums and VOB files will appears. With QtAV framework now used in digiKam (based on ffmpeg), you will be able to preview video files as well !!!

Magic no ?

Gilles Caulier
Comment 3 ohm1969bt 2016-12-26 22:49:41 UTC
(In reply to caulier.gilles from comment #2)
> See also this screenshot :
> 
> https://www.flickr.com/photos/digikam/31780502291/in/dateposted-public/
> 
> I just add VOB with movies type mime and voilĂ ... Re-scanning albums and VOB
> files will appears. With QtAV framework now used in digiKam (based on
> ffmpeg), you will be able to preview video files as well !!!
> 
> Magic no ?
> 
> Gilles Caulier

Thanks a lot,
The Videos now appear in DigiKam and I can sort it exactly as I had hoped.
Absolutely Magic.
Comment 4 ohm1969bt 2016-12-26 22:58:18 UTC
(In reply to Maik Qualmann from comment #1)
> Git commit 33f15f509b599692b08df92b121ab56f4545afb5 by Maik Qualmann.
> Committed on 26/12/2016 at 21:15.
> Pushed by mqualmann into branch 'master'.
> 
> add mts as default video mime type filter
> FIXED-IN: 5.4.0
> 
> M  +1    -1    libs/database/coredb/coredbschemaupdater.cpp
> 
> https://commits.kde.org/digikam/33f15f509b599692b08df92b121ab56f4545afb5

Thanks Maik.

If I understand correctly you make the change of mime types default for all users, whereas Gilles Caullier showed me how to configure it in my current installation.

I am impressed by the quick responses.