Bug 400670 - changing effect causes "Preview rendering failed" error
Summary: changing effect causes "Preview rendering failed" error
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 18.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2018-11-04 16:38 UTC by Adam Spiers
Modified: 2018-12-02 11:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Spiers 2018-11-04 16:38:33 UTC
SUMMARY


STEPS TO REPRODUCE
1. Enable preview rendering in a project.
2. Select a video clip within a preview zone.
3. Add an effect.

OBSERVED RESULT

"Preview rendering failed, check your parameters. Show details" error appears at bottom left of window.  Clicking "Show details" link opens a dialog window which shows:

Current Frame:          1, percentage:          4
[mov @ 0x7fdc940008c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Current Frame:          2, percentage:          8
Current Frame:          3, percentage:         12
Current Frame:          4, percentage:         16
Current Frame:          5, percentage:         20
Current Frame:          6, percentage:         24
Current Frame:          7, percentage:         28
Current Frame:          8, percentage:         32
Current Frame:          9, percentage:         36
Current Frame:         10, percentage:         40
Current Frame:         11, percentage:         44
Current Frame:         12, percentage:         48
Current Frame:         13, percentage:         52
Current Frame:         14, percentage:         56
Current Frame:         15, percentage:         60
Current Frame:         16, percentage:         64
Current Frame:         17, percentage:         68
Current Frame:         18, percentage:         72
Current Frame:         19, percentage:         76
Current Frame:         20, percentage:         80
Current Frame:         21, percentage:         84
Current Frame:         22, percentage:         88

EXPECTED RESULT

Applying an effect doesn't result in any error, or at least gives an error which makes some kind of sense.

SOFTWARE VERSIONS

kdenlive version: 18.04.3
KDE Plasma version: 5.12.5
Qt version: 5.9.4
Comment 1 Adam Spiers 2018-11-04 16:51:47 UTC
It happens when adding or editing transitions too.
Comment 2 emohr 2018-11-05 17:20:30 UTC
Same or similat issue in 18.08.2 under Windows.

create https://phabricator.kde.org/T9991
Comment 3 Jean-Baptiste Mardelle 2018-12-02 10:55:44 UTC
Git commit 8dc39aad74c97bd6cc3548c0fb8a22f8e61c7b9b by Jean-Baptiste Mardelle.
Committed on 02/12/2018 at 10:55.
Pushed by mardelle into branch 'refactoring_timeline'.

Make sure compositions invalidate timeline preview

M  +5    -1    src/core.cpp
M  +3    -3    src/timeline2/model/compositionmodel.cpp
M  +1    -1    src/timeline2/model/timelinefunctions.cpp
M  +11   -11   src/timeline2/model/timelinemodel.cpp
M  +2    -2    src/timeline2/model/timelinemodel.hpp
M  +22   -12   src/timeline2/model/trackmodel.cpp
M  +5    -5    src/timeline2/model/trackmodel.hpp
M  +4    -4    src/timeline2/view/timelinecontroller.cpp
M  +1    -1    src/timeline2/view/timelinecontroller.h

https://commits.kde.org/kdenlive/8dc39aad74c97bd6cc3548c0fb8a22f8e61c7b9b
Comment 4 emohr 2018-12-02 11:32:32 UTC
Your bug has been solved. If it still appears in the latest version, please feel free to re-open it and update the affected version number.