Bug 473375 - Loading saved effects and effect stacks uses the wrong duration
Summary: Loading saved effects and effect stacks uses the wrong duration
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: git-master
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-14 15:38 UTC by uwdjquu
Modified: 2023-08-16 06:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 23.08.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uwdjquu 2023-08-14 15:38:49 UTC
SUMMARY
as per title. i am using fade in and fade out effects for my videos, but the duration saved is wrong.

STEPS TO REPRODUCE
1. add a fade in/fade out effect and apply it to a clip.
2. set the duration to anything (in this case, it would be 00:00:00:30)
3. save and load the effect to another clip

OBSERVED RESULT
the duration will be wildly different, ranging from 00:00:00:00 to 00:00:03:00 to 00:00:25:36 and so on

EXPECTED RESULT
it's supposed to be 00:00:00:30

SOFTWARE/OS VERSIONS
Windows: Windows 10 (10.019045 Build 19045)
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2023-08-16 06:19:24 UTC
Thanks for your report. I can confirm that saved fade effects don't behave correctly
Comment 2 Jean-Baptiste Mardelle 2023-08-16 06:43:25 UTC
Git commit 1e60132a672e68d35342e6e31bf99984dddf784a by Jean-Baptiste Mardelle.
Committed on 16/08/2023 at 08:42.
Pushed by mardelle into branch 'release/23.08'.

Ensure saved effect position is relative for fades
FIXED-IN: 23.08.0

M  +8    -0    src/assets/model/assetparametermodel.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/1e60132a672e68d35342e6e31bf99984dddf784a