Bug 432210 - Error cannot get duration for tiff picture
Summary: Error cannot get duration for tiff picture
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 20.12.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-27 17:07 UTC by Arno Rog
Modified: 2021-03-22 21:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
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