Bug 353764

Summary: audio playback speed in project is incorrect during continous playback
Product: [Applications] kdenlive Reporter: Wegwerf <wegwerf-1-2-3>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED NOT A BUG    
Severity: normal CC: wegwerf-1-2-3
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=406003
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Wegwerf 2015-10-10 16:17:42 UTC
I have a project created in Kdenlive 15.04.2 and now loaded into 15.08.2 -- without any problems with respect to the project itself. MLT is 0.9.8. ffmpeg is recently build from stable git. Kdenlive is built from recent git, branch "Applications/15.08".

My project has an audio track on which (simplified) two audio clips are placed. The first audio clip is a .wav, 48kHz, 32bit float. The second audio clip is a .wav, but 44.1kHz, 32bit float. Now, when I play the project in Kdenlive from start, the first audio clip gets played correctly. When the playhead continues and then reaches the second audio clip, this second audio clip gets played too fast. It sounds as if playing 44.1kHz at 48kHz.

When I stop playing the project, then start again playing from the current position (not from the beginning), then the second audio clip gets played correctly, that is, at the correct sampling rate.

When I render the project, then the audio track is correct; that is, all audio clips get rendered correctly and converted to the project's audio rendering bitrate.

As rendering the project works, I would imagine that this is a problem not in MLT itself, but in the way Kdenlive interacts with MLT during project playback.
Comment 1 Wegwerf 2016-01-23 18:21:41 UTC
I'm closing this bug as I was unable to reproduce it yet. So we get rid of all those stale bugs. :)