Bug 432210

Summary: Error cannot get duration for tiff picture
Product: [Applications] kdenlive Reporter: Arno Rog <arno.rog>
Component: Video Display & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: CONFIRMED ---    
Severity: normal CC: fritzibaby, snd.noise
Priority: NOR Flags: fritzibaby: Brainstorm+
Version: 20.12.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: tiff picture

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