SUMMARY When I try to add an audio clip to the project, the application hangs for a moment and then exits. I tried several file both .wav and .mp3 files and all files caused this. I tried disabling audio thumbnails and waveform overlay but neither of those seemed to be the cause. Funny enough, audio already muxed in video seems to work fine, it's only when you add audio only clips/ STEPS TO REPRODUCE 1. add audio clip 2. crash 3. SOFTWARE/OS VERSIONS Windows: Win10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I tried on Win7 and Win10 with MP3 and WAV files. No crash.
Created attachment 119014 [details] MP3 that was used in testing
Created attachment 119016 [details] WAV that was used in testing Cut down from original file with Audacity to meet file size limits.
Created attachment 119028 [details] WAV file Confirmed. Only on Win10 your file leads to a crash of Kdenlive. On Win7 no crash. Your wav file is a "PCM (Little/Signed)" -> Try with my uploaded "PCM (IEEE,Float)" wave file. Your MP3 file is a "(Joint stereo/MS Stereo)" -> Try with my uploaded MP3 file
Created attachment 119029 [details] MP3 file And here the MP3 file
Both still crash on my Windows 10. The crash also occurs on another Win10 PC I have so it is not just the one machine.
Confirmed. Seems to be an Win10 issue only. I opend issue https://invent.kde.org/kde/kdenlive/issues/117
Which version of Win10 do you have? Type into the search field “winver” and you get i.e: “1803 build 17134” or “1809 build 17763”. Can you insert clips without crash?
1803 build 17134.648
Please try with the new uploaded version from 29.Mrz 19 here: https://files.kde.org/kdenlive/unstable/ . You can either use the EXE as installation version or the portable 7z file. In the 7z file Kdenlive.exe is in the “bin” folder
The crash still occurs.
Would be interesting to test if these files play with melt (MLT' command line application). On your win10 PC, can you try from a terminal (win+r -> type “cmd”): melt.exe your_audio_file.mp3 -consumer sdl2_audio. Or with path if you have installed Kdenlive and the file is on the desktop: "C:\Program Files\kdenlive\bin\melt.exe" "c:\users\YourUserName\desktop\Audio_MP3_audio-ed-fade-none.mp3" -consumer sdl2_audio . And report what happens
It plays the file. I get a warning "Estimating duration from bitrate, this may be inaccurate" which I think is fairly normal, and I get the normal Melt controls. Everything is pretty much what I would expect.
Thank you for the feedback. Do you run Win10 on an Intel or AMD machine? All audio driver updated?
All audio and video drivers are the latest available and both machines I have tested are Intel CPUs, I will test an AMD GPU if I can get my hands on one. I have tested on one machine with an Nvidia GPU and one with an AMD GPU if it matters.
I can reproduce the crash on Win10 and Win7. If you start Kdenlive the first time and add a file (audio or video) Kdenlive crashes. To reproduce it: Win+r -> appdata -> local -> delete the “Kdenlive” folder and the “Kdenliverc” & “KDE…” file. Start Kdenlive import or drag/drop an audio or video file -> crash. If you start Kdenlive after the crash I can import audio or video files. Thank you reporting this bug.
For me it only crashes on audio and no matter how many subsequent attempts I make, it always crashes.
Uploaded today the actual refactoring version which should fix the MP3 issue. Can you test: https://files.kde.org/kdenlive/unstable/kdenlive-19.04beta-20190411_portable.exe Double click the self-extracting exe (not an installer, does not need admin rights to extract). To start Kdenlive double click Kdenlive.exe in the “bin” folder.
Tee app does not even launch, I get the following error. "The code execution cannot proceed because librttr_core.dll was not found. Reinstalling the program may fix this problem."
Created attachment 119396 [details] librttr_core.dll I tested it before. Take the uploaded “librttr_core.dll” (packed as selve extracting exe) and put it into the “bin” folder where Kdenlive.exe is.
It runs now but I still get a crash adding audio.
Hello, With today's code, it doesn't crash anymore, just showing message it can't load the clip... After program restart it does load the clips. Still to do some progress.
Hi Justin. Please try with the uploaded version 19.04.0-2. Either the install version or the portable version.
It still crashes. I'm not sure if it's new behavior or I did not notice it before but it sounds like it attempts to play the audio clip before it crashes. I hear a brief blip of audio before it closes.
Can you check if directX has some issue with the audio driver: https://support.microsoft.com/en-us/search?query=update%20directX%20in%20windows%2010 If yes please update: directX, audio driver.
We have probably the same issue here under Linux: https://bugs.kde.org/show_bug.cgi?id=406843
For me this appears to be fixed in the latest version, 19.0.4.2-2.
Glad to hear it works now and thank you for the feedback and contribution. In the meantime I got a crash adding an MP3 with embedded picture on Windows as well. We close this bug as we track the issue further here: https://invent.kde.org/kde/kdenlive/issues/117
If it occours again: Can you disable timeline thumbnails (audio and video) and check if the issue still happens?