Recording Audio in Kdenlive freezes user interface
When hitting the record button in Kdenlive on the Audio mixer panel the Kdenlive interface freezes.
The audio record on the timeline on the selected channel does not appear, and the whole Kdenlive's interface is totally frozen.
This has been reported in the Kdenlive channel on Telegram, and verified by me.
The reported crash is on Linux mint with the latest community provided package, as well as with the latest Appimage.
In my case sources were compiled from latest master and built on an up to date Arch Linux system.
When running in a terminal, I see the following output leading up to the freeze:
[evert@Evert ~]$ kdenlive
Could not detect package type, probably default? App dir is "/usr/bin"
profilePath from KdenliveSetting::mltPath: "/usr/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath: "/usr/bin/melt-7"
Empty metadata for "glsl.manager"
Empty metadata for "telecide"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.mcdeint"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa.9354877"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "timewarp"
plugin not available: "ladspa.1197"
plugin not available: "region"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
:::: USING TRACK COMPOSITING: "frei0r.cairoblend"
:::: NOT FOUND DOCUMENT GUIDES !!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:502: ReferenceError: proxy is not defined
qrc:/qml/timeline.qml:482: ReferenceError: proxy is not defined
==== NO PREVIOUS TIMELINE
::::::::::: connecting timeline: QUuid("{9c0b2c06-88b2-487d-9dc7-c40303c3f085}") , DUR: 0
root context get sub model new function
HHHHHHHHHHHH
INVALID BIN PLAYLIST...
=== OPENING FILE WITH TRACKS: 5
qml: item not found
:::: FOUND TRACTOR WITH TRACKS: 2
___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS: 2
___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS: 2
___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS: 2
___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: USING TRACK COMPOSITING: "frei0r.cairoblend"
:::: USING TRACK COMPOSITING: "frei0r.cairoblend"
:::: USING TRACK COMPOSITING: "frei0r.cairoblend"
===== ACTIVATING DOCUMENT: QUuid("{9c0b2c06-88b2-487d-9dc7-c40303c3f085}")
::::::::::::::::::::::
detected format: Motion-JPEG: MJPG
Size: 1920x1080: 1/30,
Size: 1280x1024: 1/30,
Size: 1280x720: 1/30,
Size: 640x480: 1/30,
Size: 640x360: 1/30,
Size: 352x288: 1/30,
Size: 320x240: 1/30,
Size: 176x144: 1/30,
Size: 160x120: 1/30,
detected format: YUYV 4:2:2: YUYV
Size: 1920x1080: 1/5,
Size: 1280x1024: 1/5,
Size: 1280x720: 1/10,
Size: 640x480: 1/30,
Size: 640x360: 1/30,
Size: 352x288: 1/30,
Size: 320x240: 1/30,
Size: 176x144: 1/30,
Size: 160x120: 1/30,
::: SETTING PYTHON PATH: "/usr/bin/python3"
::: SETTING PYTHON PATH: "/usr/bin/python3"
::: SETTING PYTHON PATH: "/usr/bin/python3"
Device name: "default"
Device name: "sysdefault"
Device name: "lavrate"
Device name: "samplerate"
Device name: "speexrate"
Device name: "jack"
Device name: "oss"
Device name: "pipewire"
Device name: "pulse"
Device name: "speex"
Device name: "upmix"
Device name: "vdownmix"
Device name: "sysdefault:CARD=Microphones"
Device name: "front:CARD=Microphones,DEV=0"
Device name: "usbstream:CARD=Microphones"
Device name: "sysdefault:CARD=PCH"
Device name: "front:CARD=PCH,DEV=0"
Device name: "usbstream:CARD=PCH"
Device name: "usbstream:CARD=NVidia"
Device name: "sysdefault:CARD=Device"
Device name: "front:CARD=Device,DEV=0"
Device name: "usbstream:CARD=Device"
Device name: "alsa_input.usb-Generic_Blue_Microphones_LT_2104082204459D030F43_111000-00.analog-stereo"
Device name: "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
Device name: "alsa_input.pci-0000_00_1f.3.analog-stereo"
I believe that the "Device name" part of the log popped up when I looked at the available devices on my system in the Kdenlive config window.
On my system I use pipewire and a pulseaudo shim.
Audio recording works fine on OBS studio, so it's not related to the system.
Once Kdenlive freezes, only a kill -9 is able to bring down the process.
When the process is killed, there is no new text to the terminal, apart from "Killed"
There is nothing of note in the dmesg output.
More about my system:
Operating System: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: PD5x_7xSNC_SND_SNE
System Version: Not Applicable