Bug 487948 - "Pitch compensation" is disabled on MacOS
Summary: "Pitch compensation" is disabled on MacOS
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 24.08.1
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 07:01 UTC by OIRNOIR
Modified: 2024-10-08 16:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OIRNOIR 2024-06-03 07:01:06 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The "Pitch compensation" option in the clip speed editor is disabled with the tooltip, "MLT must be compiled with rubberband to enable pitch correction." I have rubberband installed (via homebrew) and my kdenlive version is 24.05.0 downloaded directly from the dmg on kdenlive.org (which is really the only way to install it on MacOS.) I am running MacOS 14.5.

STEPS TO REPRODUCE
1. Install kdenlive via the dmg from kdenlive.org
2. Import a clip with sound and drag it into the timeline
3. Right-click on the clip and choose "change speed"

OBSERVED RESULT
The pitch compensation option is grayed out and unusable.

EXPECTED RESULT
The pitch compensation option is enabled and fully usable.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 14.5
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 OIRNOIR 2024-06-03 07:21:00 UTC
I also tried installing it via homebrew and ran into the same problem. This makes sense because homebrew simply installs the app from the dmg file downloaded from the website. The only way I actually got it to work was by manually compiling MLT with my system (rubberband included) and haphazardly replacing the relevant files inside the kdenlive.app/Contents/ application container with the ones I had just compiled, since Kdenlive, when built for MacOS, only uses the libraries inside the application. This isn't sustainable because updates would replace the application and overwrite it again with faulty libraries.
I wonder whether this issue could be solved by altering the compilation environment with which the MacOS build gets made.
Comment 2 OIRNOIR 2024-06-04 03:48:50 UTC
My attempts to compile mlt from scratch also seem to break seemingly unrelated things whenever I try, like rendering when including images in the timeline or random audio issues.
Comment 3 OIRNOIR 2024-06-04 18:07:22 UTC
At this time, my workaround is to run kdenlive inside an arm64 Fedora/KDE VM.