Bug 407081 - Incorrect track duration when inserting a Kdenlive project into the current project timeline
Summary: Incorrect track duration when inserting a Kdenlive project into the current p...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 19.04.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-30 09:45 UTC by b3_1987
Modified: 2019-05-17 11:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description b3_1987 2019-04-30 09:45:22 UTC
When inserting an existing Kdenlive project into a new project, the track duration is incorrect (the track is much longer than the content). Both projects are at the same framerate (23.98).


STEPS TO REPRODUCE
1. Create a new project (framerate 23.98).
2. Insert an existing Kdenlive project file (framerate 23.98) into the current project.
2. Insert the project into the timeline.

OBSERVED RESULT
The inserted track is much longer than the actual content (about 40-50% longer).

EXPECTED RESULT
The inserted track should be of the same length as the actual content.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
Operating System: Manjaro Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3
Kernel Version: 4.19.36-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 23,3 GiB of RAM
Comment 1 Cyril 2019-05-07 14:15:13 UTC
Bug reproduced
Comment 2 emohr 2019-05-11 12:31:28 UTC
Thank you for reporting.
Please upload the Kdenlive project file which you inserted into a new project.
Do you have used any effect like speed effect in the inserted Kdenlive project?
Do you insert a pre-19.04 project file into Kdenlive 19.04?
Comment 3 Jean-Baptiste Mardelle 2019-05-16 11:26:23 UTC
I can confirm and have identified the problem, working on it thanks.
Comment 4 Jean-Baptiste Mardelle 2019-05-17 11:37:52 UTC
Git commit 74072058e88860e28eb2f2315447b7679800aca2 by Jean-Baptiste Mardelle.
Committed on 17/05/2019 at 11:37.
Pushed by mardelle into branch 'Applications/19.04'.

When importing a project file as clip, deduce the empty seek space

M  +1    -0    src/doc/kdenlivedoc.cpp
M  +29   -3    src/jobs/loadjob.cpp
M  +0    -13   src/monitor/monitor.cpp
M  +0    -1    src/monitor/monitor.h

https://invent.kde.org/kde/kdenlive/commit/74072058e88860e28eb2f2315447b7679800aca2