Bug 415044 - Kdenlive does not handle image sequences correctly
Summary: Kdenlive does not handle image sequences correctly
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: 19.08.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-11 09:20 UTC by Paul Brown
Modified: 2021-08-15 12:06 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Brown 2019-12-11 09:20:08 UTC
SUMMARY

When trying to work with sequences of images, Kdenlive does not handle playing, compositing or rendering correctly.

STEPS TO REPRODUCE
1. Try to play an image sequence in the clip monitor. Move backwards and forwards in the timeline. At some seemingly random point, playback will seem to stop and, regardless of where you move in the timeline, it will show a static frame from the sequence. 
2. Try to edit an image sequence in the clip monitor. Move backwards and forwards in the timeline. At some seemingly random point, playback will seem to stop and, regardless of where you move in the timeline, it will show a static frame from the sequence.
3. Try to composite a an image sequence with transparency onto another clip using the "Composite and Transform" composition. When you play back the rendered video, instead of transparency, the first and last few frames show a black background for the image sequence.

OBSERVED RESULT


EXPECTED RESULT

None of the above


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro KDE / 5.17.3
(available in About System)
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION

I am using the latest AppImage provided by Kdenlive
Comment 1 tonton 2020-05-02 02:11:28 UTC
Hi, This bugs also exists on version stable 20.04 for windows 10 (setup version, not portable), any news ? This is a deal breaker for any project involving animation and 3d... thanks for your hard work !
Comment 2 Paul Brown 2020-05-02 06:47:13 UTC
The bug is back in 20.04 on Linux.

The bahviour has been observed both in the most recent Appimages and the Flatpaks.

WORKAROUND

When Kdenlive complains about not finding the sequenceof images, click on the "Use placeholders for missing clips" and thne back on "Search recursively". Finally click "Ok"
Comment 3 Jean-Baptiste Mardelle 2020-05-02 13:28:07 UTC
Git commit 380741361bc7e0548dcbbcac989fdb3f9449b68c by Jean-Baptiste Mardelle.
Committed on 02/05/2020 at 13:27.
Pushed by mardelle into branch 'release/20.04'.

Enforce image sequences with qimage producer.

M  +5    -2    src/jobs/loadjob.cpp

https://invent.kde.org/kde/kdenlive/commit/380741361bc7e0548dcbbcac989fdb3f9449b68c
Comment 4 Jean-Baptiste Mardelle 2020-05-02 13:28:43 UTC
Hi and sorry for taking so long to address this issue. Basically, the problem appeared because of a change in MLT 6.18 that changed the producer (plugin) used to handle image sequence. It was switched to avformat instead of the previous qimage plugin. While this results in much faster playing of the image sequence, it is affected by several bugs, mainly a random order of the images.

This change was reverted in MLT's git master and will be fixed in the next release. In the meanwhile, I added a check on project opening that should automatically convert existing image sequences to qimage. I will prepare an updated 20.04.0b AppImage soon for testing.
Comment 5 tonton 2020-05-02 16:08:44 UTC
thanks for your reply and explanation ! great news !

so for now (with the 20.04b) we will have to reopen the project if having any playback issue with image sequence is that right ?
Comment 6 Jean-Baptiste Mardelle 2020-05-03 08:24:27 UTC
It should fix the image sequences on opening, otherwise doing a "reload clip" option should do it. Please test:
https://files.kde.org/kdenlive/release/kdenlive-20.04.0b-x86_64.appimage.mirrorlist
Comment 7 Julius Künzel 2021-08-14 08:35:51 UTC
As mentioned above this should be fixed. Please test with the latest version and close this if there are now problems anymore. Otherwise please give more details on what is still not working. Thanks again for your report!
Comment 8 Paul Brown 2021-08-15 12:05:53 UTC
(In reply to Julius Künzel from comment #7)
> As mentioned above this should be fixed. Please test with the latest version
> and close this if there are now problems anymore. Otherwise please give more
> details on what is still not working. Thanks again for your report!

Everything works as it should! Thank you so much. Excellent work.