STEPS TO REPRODUCE - Extract audio from a clip - Delete the audio file from the project - Try to delete the file on disk OBSERVED RESULT File cannot be deleted as the file handle is still opened in kdenlive. EXPECTED RESULT File handle should be closed after removing a clip from kdenlive. SOFTWARE/OS VERSIONS Windows 10
If you have a video clip contains video & audio and you delete the audio part only the clip is blocked on the disk as the Kdenlve still needs the video part of the clip.
After I have extracted audio this is a separate file (.wav), isn' it?
Looks like this happens on Linux too from checking `lsof`: kdenlive 125055 eric 136r REG 0,53 45830290 586247 /home/videos/testclip0001.wav (deleted) Clip was already removed from Project Bin.
Hi and thank you for your patience. Your bug report was for a version of Kdenlive that is at least four years old. Can you please check whether this issue still exists in the latest version 24.12.0? If yes, please update this report to reflect the new version and set the status to CONFIRMED. If it works now like you expect it would, you may change the status of this report to RESOLVED - FIXED. At any rate, this report will be closed if there is no activity for the next 30 days.
Still happens with 24.12.0
I can confirm that Kdenlive blocks the file on disk to delete/move even if the clip is deleted in the project bin. Here the steps: - add an A/V clip to the project bin - extract the audio - delete the A/V clip in the project bin You can’t move the AV clip on the disk as Kdenlive still blocks the A/V clip. That should not be and I guess it blocks memory as well.