Kdenlive crashes when trying to record audio, and gives message that it cannot open a .wav file

I’m using Version 24.05.2

When I try to record audio. I will get the message: “Cannot open …/capture1x.wav”

I can see the .wav file being created in the directory. But in Kdenlive I get this error message. And it will not record.

If I press the record button a few more times. The program will crash.

Please open a bug report in the official bug tracker for Kdenlive. Thanks!

txtechnician@tx-susetw-asus:~> kdenlive
Could not detect package type, probably default? App dir is "/usr/bin"
kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
profilePath from KdenliveSetting::mltPath:  "/usr/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath:  "/usr/bin/melt-7"
plugin not available: "region"
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.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
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.bigsh0t_eq_mask"
plugin not available: "frei0r.bigsh0t_eq_to_rect"
plugin not available: "frei0r.bigsh0t_eq_to_stereo"
plugin not available: "frei0r.bigsh0t_hemi_to_eq"
plugin not available: "frei0r.bigsh0t_rect_to_eq"
plugin not available: "frei0r.bigsh0t_stabilize_360"
plugin not available: "frei0r.bigsh0t_transform_360"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.facebl0r"
plugin not available: "frei0r.facedetect"
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"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
kf.config.core: Migrating old staterc "/home/txtechnician/.local/share/kdenlive/kdenlivestaterc" -> "/home/txtechnician/.local/state/kdenlivestaterc"
begin
OpenGL vendor "Intel"
OpenGL renderer "Mesa Intel(R) Graphics (RPL-P)"
OpenGL threaded? true
OpenGL ES? false
OpenGL maximum texture size = 16384
OpenGL maximum viewport size = 16384 x 16384
end
begin
OpenGL vendor "Intel"
OpenGL renderer "Mesa Intel(R) Graphics (RPL-P)"
OpenGL threaded? true
OpenGL ES? false
OpenGL maximum texture size = 16384
OpenGL maximum viewport size = 16384 x 16384
end
:::: USING TRACK COMPOSITING:  "frei0r.cairoblend"
:::: NOT FOUND DOCUMENT GUIDES !!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!
qrc:/qml/timeline.qml:509: ReferenceError: proxy is not defined
qrc:/qml/timeline.qml:489: ReferenceError: proxy is not defined
==== NO PREVIOUS TIMELINE
::::::::::: connecting timeline:  QUuid("{ff12c22a-1f2c-4766-acd0-0bf6a898939e}") , DUR:  0
root context get sub model new function
HHHHHHHHHHHH
INVALID BIN PLAYLIST...
++++++++++ ININT VIEW WITH TYPE:  0
=== OPENING FILE WITH TRACKS:  5
:::: 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"
===== ACTIVATING DOCUMENT:  QUuid("{ff12c22a-1f2c-4766-acd0-0bf6a898939e}") 
::::::::::::::::::::::
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
Using  124916  steps

Using  124916  steps

Using  124916  steps

!!!!!!!!!!!!! REMOVING COMPO:  0  /  4
!!!!!!!!!!!!! REMOVING COMPO:  0  /  3
!!!!!!!!!!!!! REMOVING COMPO:  0  /  2
!!!!!!!!!!!!! REMOVING COMPO:  0  /  1
:::: USING TRACK COMPOSITING:  "frei0r.cairoblend"
Found device :  "Raptor Lake-P/U/H cAVS Headphones Stereo Microphone"
Found device :  "Raptor Lake-P/U/H cAVS Digital Microphone"
:::: MONIOTORING AUDIO:  true
start recording 5
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
qt.multimedia.ffmpeg.encoder: Stream initialization error: "Audio device has invalid preferred format"
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
pos:  0 out:  8991
/////////// createClipFromFile "/home/txtechnician/Videos/capture0020.wav" "-1"
=== GOT DROPPED MIME:  "audio/vnd.wave"
/////////// final xml "<producer>\n <property name=\"resource\">/home/txtechnician/Videos/capture0020.wav</property>\n</producer>\n"
============STARTING LOAD TASK FOR:  4  =  "/home/txtechnician/Videos/capture0020.wav" 

:::::::::::::::::::
========== READY FOR TASK DISCARD ON:  4
// CLEARING REC MANAGER
start recording 5
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
qt.multimedia.ffmpeg.encoder: Stream initialization error: "Audio device has invalid preferred format"
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
 !!!!!!!!!!!!!!!! ERROR : QMediarecorder - Capture failed
pos:  0 out:  8991
/////////// createClipFromFile "/home/txtechnician/Videos/capture0021.wav" "-1"
=== GOT DROPPED MIME:  "audio/vnd.wave"
/////////// final xml "<producer>\n <property name=\"resource\">/home/txtechnician/Videos/capture0021.wav</property>\n</producer>\n"
============STARTING LOAD TASK FOR:  5  =  "/home/txtechnician/Videos/capture0021.wav" 

:::::::::::::::::::
========== READY FOR TASK DISCARD ON:  5
// CLEARING REC MANAGER