Summary: | git master 2016-09-12:Applying speed effect causes corruption in fades | ||
---|---|---|---|
Product: | [Applications] kdenlive | Reporter: | Evert Vorster <evorster> |
Component: | User Interface & Miscellaneous | Assignee: | Jean-Baptiste Mardelle <jb> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | wegwerf-1-2-3 |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Project with the corruption
Render of the first four clips Change clip speed job |
Description
Evert Vorster
2016-09-12 09:37:33 UTC
Created attachment 101052 [details]
Project with the corruption
Here is a project file that shows the corruption
I only edited the first four clips.
Created attachment 101053 [details]
Render of the first four clips
Render of the first four clips...
Towards the end, there is a fade to black in the middle of a clip that is not visible on the timeline, and only appeared after I started messing with the speed of the clips involved.
Created attachment 101062 [details]
Change clip speed job
Before investigating this bug, I agree that we can easily change the "reverse clip" job to make it also handle any speed, and creating .mlt files. I have a working patch, you can see a screenshot attached. The idea is to replace the "Reverse clip" entry in clip jobs with a "duplicate clip with speed change" entry, allowing any speed. The option menu on the right of the speed combobox allows to set the speed to reverse (-100%) as well as some standards (50%, 200%). Would that be ok for you ? I will also investigate the timeline problem later.
Hi there! Thanks for looking into this. Would I be able to set any speed within the limits of the mlt producer? If this method works well, you might be able to simplify the code by depreciating and putting a warning on the speed effect. In time you should be able to remove it completely. The speed effect has been the source of un-ending bugs. I have more than a handful of open bugs that I would like to test against the clip job method. Kind regards, Evert I will push the change in master so that you can test it. In its current implementation, the slider ranges from 1% to 1000%, but you can manually enter values in the text box between -10'000% and 10'000%. Waiting for your feedback Git commit cee1588f74b51c30b53f5a60217484751797c77f by Jean-Baptiste Mardelle. Committed on 13/09/2016 at 06:05. Pushed by mardelle into branch 'master'. Update "Reverse Clip" Bin job to handle any speed M +1 -0 src/CMakeLists.txt M +1 -1 src/mainwindow.cpp M +1 -0 src/project/dialogs/CMakeLists.txt A +98 -0 src/project/dialogs/clipspeed.cpp [License: GPL (v2+)] A +52 -0 src/project/dialogs/clipspeed.h [License: GPL (v2+)] M +1 -1 src/project/dialogs/slideshowclip.cpp M +24 -3 src/project/jobs/filterjob.cpp A +164 -0 src/ui/clipspeed_ui.ui http://commits.kde.org/kdenlive/cee1588f74b51c30b53f5a60217484751797c77f This works quite well, thank you very much! I can set my desired speed beforehand, and no more corruptions on the timeline. As an added bonus audio is handled properly, and no weirdly sized audio clips. It even splits out automatically, and the pre-render has no problem with the video. Nice. Thank you! I will test this against all the open bugs I have on the speed effect, and comment in each of those bugs on how well it works. Thank you for implementing this! Hi Evert, glad to hear! So, is this particular bug for this report now sufficiently fixed? If yes, can you please be so kind as to close this bug report? Thank you very much for your cooperation! I left open the bug a little longer just in case I found a flaw in the implementation. I have now used this method on a rather large project, and it works flawlessly every time. A big thanks to JBM for implementing this! |