Bug 374179 - Want .mts movies to appear in the digikam album
Summary: Want .mts movies to appear in the digikam album
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-26 18:36 UTC by ohm1969bt
Modified: 2017-07-27 10:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments
Example of .mts file (1.79 MB, video/mp2t)
2016-12-26 18:36 UTC, ohm1969bt
Details

Note You need to log in before you can comment on or make changes to this bug.
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.