SUMMARY Rendering a full project works fine, but rendering a zone instead corrupts the audio. STEPS TO REPRODUCE 1. Obtain a simple audio file (I used a sine wave flac generated from audacity) 2. Start a new project (mine was 1080@60) 3. Import the sine wave and drag to the timeline 4. Add an in and out point (mine were 12s15f and 59s37f) 5. Hit render and select WAV, select selected zone instead of Full project 6. Hit render to file OBSERVED RESULT Rendered file is the portion of the original sine with but with clicks and pops at the beginning and end of the clip. EXPECTED RESULT A portion of the original sine wave. SOFTWARE/OS VERSIONS Operating System: Gentoo Linux KDE Plasma Version: 5.14.5 Qt Version: 5.11.3 KDE Frameworks Version: 5.54.0 Kernel Version: 4.19.27-gentoo-r1 OS Type: 64-bit Processors: 8 × AMD FX(tm)-8320 Eight-Core Processor Memory: 7.8 GiB of RAM ADDITIONAL INFORMATION Also available in defactored branch kde-apps/kdenlive-18.12.3, assuming the issue is actually mlt? Will this fix be backported, or does that not happen now we have the refactored branch?
Also effects guides, basically whenever you render not from the start of the project using guides or a zone.
Thank you for reporting. Problems with pops are known. Please upload your sine wave file so I can test. Do you render to MP4? Backport from 19.04 to 18.12 is in most cases impossible as the code is completely different.
Created attachment 119989 [details] Sin wave
I rendered to wave in this case.
The pops in audio is fixed in MLT. Please try with the current Kdenlive AppImage version 20.08.1 https://files.kde.org/kdenlive/release/
Steps to reproduce still produce same popping at start of rendered file. Bug not fixed.
At first glance I do hear a pop at the beginning of the rendered zone. But upon further digging I see that the sine wav is rendered perfectly. See attached file. Could this be an issue with the audio player?
Created attachment 136491 [details] Perfect sine wave
Created attachment 136495 [details] Imperfect sine wave xz'd
(In reply to farid from comment #7) > Could this be an issue with the audio player? Hi farid, thanks for looking into this. I just made the last attachment with kdenlive-20.08.1b-x86_64.appimage following the steps exactly (I think it mostly matters where it starts and that the input is flac specifically, although flac in a mka seems to also do it). Open up that in an audio editor and you can see where the pops are. Its a little frustrating that you don't seem to get the same issue. I'm not sure what else I could do if you've tried following the steps exactly? Would a video of me reproducing it help?
(In reply to Peter from comment #10) > (In reply to farid from comment #7) > > Could this be an issue with the audio player? > > Hi farid, thanks for looking into this. I just made the last attachment with > kdenlive-20.08.1b-x86_64.appimage following the steps exactly (I think it > mostly matters where it starts and that the input is flac specifically, > although flac in a mka seems to also do it). > > Open up that in an audio editor and you can see where the pops are. > > Its a little frustrating that you don't seem to get the same issue. I'm not > sure what else I could do if you've tried following the steps exactly? Would > a video of me reproducing it help? It would help if you could test with the latest appimage. ;) https://kdenlive.org/en/download/
Created attachment 136499 [details] Imperfect Sine Project
(In reply to farid from comment #11) > (In reply to Peter from comment #10) > > (In reply to farid from comment #7) > > > Could this be an issue with the audio player? > > > > Hi farid, thanks for looking into this. I just made the last attachment with > > kdenlive-20.08.1b-x86_64.appimage following the steps exactly (I think it > > mostly matters where it starts and that the input is flac specifically, > > although flac in a mka seems to also do it). > > > > Open up that in an audio editor and you can see where the pops are. > > > > Its a little frustrating that you don't seem to get the same issue. I'm not > > sure what else I could do if you've tried following the steps exactly? Would > > a video of me reproducing it help? > > It would help if you could test with the latest appimage. ;) > > https://kdenlive.org/en/download/ Always a good idea. Same issue present. Have attached archive with result, log of ran instance, generated script, and archive of project.
I think i found the root cause. This is happening with projects at 60fps while in projects with 30fps for example this is not reproducible. Could you confirm this?
(In reply to farid from comment #14) > I think i found the root cause. This is happening with projects at 60fps > while in projects with 30fps for example this is not reproducible. Could you > confirm this? That appears to be the case, no sine of the issue @30fps. Perhaps related, the general playback from within kdenlive is also much, much cleaner in a 30fps project.
Just as info, have the same problem but with 29.97 fps project.
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.
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.