Bug 508062

Summary: Replacing an audio track from a video results in desynced audio
Product: [Applications] kdenlive Reporter: Andiandi <teammirolo>
Component: Project Bin & ImportAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Audio replacement bug

Description Andiandi 2025-08-09 19:12:25 UTC
Created attachment 183915 [details]
Audio replacement bug

SUMMARY

When replacing the audio track in the timeline that belongs to the video, by the same external audio track, the sync is offset by about 2 frames.


STEPS TO REPRODUCE

1. Add a video with it's audio track on the timeline
2. In project bin, right click and replace the video by the same audio file that is in the video container (which means you have to extract it previously or have it separately already)

OBSERVED RESULT

The audio waveform will be moved (to the right, delayed) in the timeline

EXPECTED RESULT

The audio sync shouldn't change, it have strong implication because it automaticcaly cause A/V desync, even if it's less than 100ms, this shouldn't happen at all.

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3

Please check the video where I replaced the track from the video with the exacty same external track