Bug 406811 - first 23 frames of freeze effect render as blank white
Summary: first 23 frames of freeze effect render as blank white
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: Appimage - Refactoring
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-23 13:52 UTC by S. Christian Collins
Modified: 2020-10-30 13:51 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments
video that triggers the bug (1.35 MB, video/mp4)
2019-04-25 19:15 UTC, S. Christian Collins
Details
video render showing the white screen bug (935.51 KB, video/mp4)
2019-04-25 19:18 UTC, S. Christian Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2019-04-23 13:52:59 UTC
SUMMARY
When the motion -> freeze video effect is present in a project, it plays back correctly in the editor, but the rendered video contains 23 frames of blank white at the beginning of the frozen video clip.

STEPS TO REPRODUCE
1. Add a video clip to the beginning of a blank project, and add the motion -> freeze video effect.
2. Render the project.

OBSERVED RESULT
The first 23 frames of the rendered video are blank white.

EXPECTED RESULT
The video should contain a single frozen frame through its duration.

SOFTWARE/OS VERSIONS
OS: KDE neon 5.15 User Edition
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
This bug also happens in the latest nightly AppImage, currently "kdenlive-19.04.0-566230c-x86_64.appimage".
Comment 1 emohr 2019-04-25 17:27:17 UTC
Tested on Windows 19.04.0-2 and AppImage 19.4.0. 

Clip 50fps MPG4, 3sec, freeze at 2sec9frame, project profile=clip profile, rendered as MP4. The rendered file shows the freeze frame 3sec only. 

Kdenlive 19.04.0 have MLT 6.15. The nightly build still MLT 6.13. 

Try with the AppImage 19.04.0 from the download page.
Comment 2 S. Christian Collins 2019-04-25 19:15:14 UTC
Created attachment 119633 [details]
video that triggers the bug

The bug still happens for me using the 19.04 AppImage. Here is the video I am using in my test ("Prelude-snippet2.mp4"). I'm just dragging the "Freeze" effect to the clip with the timeline cursor at 0, which should freeze the first frame of the clip. The project profile is set to "HD 1080p 29.97 fps".
Comment 3 S. Christian Collins 2019-04-25 19:18:38 UTC
Created attachment 119634 [details]
video render showing the white screen bug

Here is the render output I get when I complete the repro steps in the OP using "Prelude-snippet2.mp4".
Comment 4 emohr 2019-04-27 19:05:32 UTC
Confirmed. Thanks for reporting. Opened issue: https://invent.kde.org/kde/kdenlive/issues/170
Comment 5 Jean-Baptiste Mardelle 2019-05-02 06:22:30 UTC
Could you try to uncheck the "parallel processing" checkbox in the render dialog and test if it fixes the blank issue ? The freeze effect might need some tweaks to fix parallel processing...
Comment 6 S. Christian Collins 2019-05-02 12:31:54 UTC
I can confirm that disabling parallel processing fixes the issue.
Comment 7 emohr 2019-05-02 16:43:53 UTC
confirmed: disabling parallel processing fixes the issue on Windows as well.
Comment 8 halis 2020-04-16 16:40:47 UTC
I can confirm that this bug still exists in kdenlive-20.04-rc2-x86_64.appimage

Here is a better workaround than disabling parallel rendering (since rendering on just one core will increase render time significantly):
1. Extract the desired frame as picture
2. Replace the clip with the desired picture of the frame
Result: Manually applied freeze effect
Comment 9 halis 2020-04-16 17:36:16 UTC
Sorry, forgot to add to the comment before: The bug report is not accurate. The first frame is correct. Starting from the second frame the following 23 frame are blan/white.
Comment 10 lucky7tube 2020-08-11 22:44:29 UTC
Same here, and more...

After rendered, the frozen range is filled with white screen just as described above,

or,

sometimes, the range is filled with broken(corrupted) image.
Comment 11 Jean-Baptiste Mardelle 2020-10-03 06:55:02 UTC
Should be fixed in my last mlt commit:
https://github.com/mltframework/mlt/commit/2c24715b186d53348d164c4d3984a6ea19ed9c85
Comment 12 Vincent PINON 2020-10-14 20:21:25 UTC
please report if OK for you :)
Comment 13 Bug Janitor Service 2020-10-29 04:33:32 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 S. Christian Collins 2020-10-29 15:25:31 UTC
I just tested with Kdenlive 20.08.2 (AppImage) using MLT 6.23.0, parallel processing enabled, and the bug appears to be fixed. Thank you, Jean-Baptiste!
Comment 15 halis 2020-10-30 13:51:22 UTC
In my test it seems also fixed. Thank you very much!