Feature #956
Support for .MTS movie format
100%
Description
Implement .MTS metadata read support.
Write support needs to be investigated and if possible implemented.
Feature has been requested and reported by Jim Shipman.
Reason - digiKam crashed while reading .MTS file.
Crash Report has been attached.
[1] http://dev.exiv2.org/attachments/610/digikam_crash_dump_05.txt
Related issues
History
Updated by Abhinav Badola over 7 years ago
Implement .MTS metadata read support.
Write support needs to be investigated and if possible implemented.
Feature has been requested and reported by Jim Shipman.
Reason - digiKam crashed while reading .MTS file.
Crash Report has been attached.
[1] http://dev.exiv2.org/attachments/610/digikam_crash_dump_05.txt
File that can be used for testing the bug-
[2] http://dev.exiv2.org/attachments/611/00056.MTS
Updated by Phil Harvey over 7 years ago
Note that as far as I know the M2TS container format does not support metadata.
You must parse the embedded video stream if you want to extract any interesting information. :(
Updated by Jim Shipman over 7 years ago
This is not a feature request. This should be a bug report, and it should have a high priority.
A file with a type unknown to exiv2 should simply return a failure code. Right now it totally crashes. Exiv2 should NEVER just crash. This crash makes digikam completely unusable to me.
Jim Shipman
Updated by Robin Mills over 7 years ago
- Category changed from image format to xmp
- Status changed from New to Assigned
- Assignee set to Robin Mills
- Priority changed from Low to Normal
- Target version set to 0.25
I agree with Jim that Exiv2 should not crash. On Ubuntu 13.10 Exiv2 is throwing an exception. Perhaps Digikam does not have an exception handler to deal with this.
This is a duplicate of 961 and it is my mistake to have opened a second bug report about this.
Updated by Robin Mills over 7 years ago
- Status changed from Assigned to Resolved
I'm going to mark this as "resolved" and continue the discussion in #961. This issue will be closed during review in preparation for the 0.25 release.
Updated by Gilles Caulier over 7 years ago
Hi Robin,
digiKam itself do not have C++ exception, but it never use Exiv2 directly. For code design, all pass through libkexiv2, which is a C++ wrapper. All methods from libkexiv2 use C++ exception...
So typically, digiKam must never crash due to a C++ exception from Exiv2...
Gilles
Updated by Robin Mills over 7 years ago
Gilles.
I agree with you. I've moved this discussion and Topic #1737 to Issue #961. Easier for both of us to deal with this in a single place.
Robin