Bug 494954 - After changing the FPS for the project, the audio track of the sequence shrinks in size
Summary: After changing the FPS for the project, the audio track of the sequence shrin...
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Timeline & Editing (show other bugs)
Version: 24.08.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-17 19:31 UTC by Vit
Modified: 2024-10-17 19:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video demonstration (3.54 MB, video/mp4)
2024-10-17 19:31 UTC, Vit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vit 2024-10-17 19:31:33 UTC
Created attachment 174959 [details]
Video demonstration

Having the child sequence in a parent sequence, changing the project frame rate, and waiting for it to transcode, results in an audio track of the child sequence changing its size. It looks like Kdenlive caches the number of frames needed for the strip, and after the changes, it gets stuck on that size in frames, instead of updating the strip to its correct size. 
It shrinks even if the strip is deleted and placed back on the same track. You can place it into the other track, and it looks OK. But as soon as you place it into the same one, the size changes.


STEPS TO REPRODUCE
1) Create a project with a sequence and a video/audio track combo. 
2) Add a child sequence into the parent and save the project.
3) Go to the project settings and change the video settings for the one, with a different frame rate. 
4) Check the sequence audio track length 

OBSERVED RESULT
After changing the FPS for the project, the audio track of the sequence shrinks in size

EXPECTED RESULT
The length of the audio track must be updated according to the length of the original 

SOFTWARE/OS VERSIONS
Manjaro Linux/Cinnamon: 
Linux expert 6.1.112-1-MANJARO