Bug 432210 - Error cannot get duration for tiff picture
Summary: Error cannot get duration for tiff picture
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (show other bugs)
Version: 20.12.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-01-27 17:07 UTC by Arno Rog
Modified: 2025-01-08 08:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments
tiff picture (1.75 MB, image/tiff)
2021-01-27 17:07 UTC, Arno Rog
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arno Rog 2021-01-27 17:07:42 UTC
Created attachment 135240 [details]
tiff picture

SUMMARY
After adding a tiff picture (attachment) to the project KDENLIVE throws an error 'Cannot get duration for file...'

STEPS TO REPRODUCE
1. add tiff to project bin

OBSERVED RESULT
'Cannot get duration for file...', the file is not added

EXPECTED RESULT
I would like to use this picture without having to convert it.

SOFTWARE/OS VERSIONS
Windows: 10 (latest)
KDENLIVE: 20.12.1
(available in About System)
KDE Frameworks 5.77.0
Qt 5.15.1 (built against 5.15.1)

ADDITIONAL INFORMATION
None
Comment 1 emohr 2021-01-28 18:24:32 UTC
I confirm this issue on Windows. I think that should not happen. The proposal Kdenlive offers is to convert to mov file which is failing with an error.
Comment 2 emohr 2021-01-28 18:25:33 UTC
Similar to Bug432192
Comment 3 Arno Rog 2021-01-28 21:56:39 UTC
Should it not be treated as a picture, say a png picture?
Comment 4 Jean-Baptiste Mardelle 2021-01-29 16:59:36 UTC
In MLT, files are opened using plugins using a hierarchy depending on the file extension.
For TIFF files, it first tries the QImage plugin (using Qt's QImage formats). If this fails, it will then use the default generic avformat plugin (ffmpeg). When defaulting to this avformat module, no duration is provided, which leads to the problem described.

Your file and other TIFF images work correctly on linux - loaded by the qimage plugin.For some reason, our Windows Qt version must be missing TIFF support... this will need some investigation...
Comment 5 farid 2021-03-22 21:27:00 UTC
similar to BUG423835 as well
Comment 6 Bernd 2024-12-24 01:01:34 UTC
Hi and thank you for your patience.

Your bug report was for a version of Kdenlive that is at least four years old. Can you please check whether this issue still exists in the latest version 24.12.0?

If yes, please update this report to reflect the new version and set the status to CONFIRMED.

If it works now like you expect it would, you may change the status of this report to RESOLVED - FIXED.

At any rate, this report will be closed if there is no activity for the next 30 days.
Comment 7 Bug Janitor Service 2025-01-08 03:47:43 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Arno Rog 2025-01-08 08:49:50 UTC
Tested in kdenlive 24.12.0, error does not occur anymore.