Sound bugs, clicks or artifacts after a cut

Looks like the same issue.

I tried around a bit and found some good settings that removed 50-60% of the clicks or at least smoothened them out so they became barely noticeable.

  1. Put Track Seam on all Audio Tracks and put the threshold value to 0,1.

  2. Put Declick on the bugged audio sections and I currently use the values: 30ms, 2, 50%. I still dont know if those r the optimal settings to detect and smoothen as most as possible but it worked quiet well for me. Mbe a dev can provide even better settings to detect more clicks.

  3. I would also recommend that u export the video with high audio quality. I will post a screen of my exporting audio settings below.

Its not rly a 100% solution but it might help u smoothen out the clicks.

I will keep trying different things out till smth works.

I do not recommend changing the audio sample rate. That causes a sample rate converter to be added to the processing chain - which can cause clicks. In fact, I do not recommend changing ANYTHING in the advanced export section unless you are a seasoned veteran and you know the tradeoffs you are making in there.

The best case scenario would be that there is no sample rate conversion at all. Make sure the clip sample rate matches the export sample rate (in your case, 48000).

No, I made my video before I’ve seen this post but now I tested it and it didn’t work

1 Like

Damn. I never had that issue with declick before. Mbe try different values and exporting? I would still recommend trying very low track seam values. That made a big difference on my project.

Mhh okay. I think the “fix” was more about the bitrate, than the samplerate. But good to know. I didnt have any issues with the samplerate yet. The example i provided earlier was with the standard settings. Not the shown modified ones.

Yes. Track Seam did indeed help me getting rid of one click earlier (I change the tracks from source). So this is a good tip. But the other issue remains

You can try to manually add a single frame fade out and/or fade in audio filter.

Hi @Lycrist_Kat - looking at your video, what I would try is to right-click the video clip (highlighted in red):

and select “Detach Audio”, which will remove the audio to an audio track. Maybe you could then put it on the same audio track as the previous audio, which might help. Maybe going from a video track to an audio track as in your example causes the click?

I’ve tried that before when splicing an audio track and it worked for me. A short fade-out on audio clip 1 and a short fade-in on the next audio clip (2).

@Lycrist_Kat Here’s a short example of what I did in a previous project. One of the splices isn’t perfect but it got rid of the clicks.

Single frame didn’t do anything

@jonray changing the tracks is not the problem. It’s in the clip itself

2 Likes

OK @Lycrist_Kat - thought it was worth a try. Yes, removing some frames does seem to work but I agree it is a lot of work if you have lots of clips to adjust.

sorry for bothering again. also @brian

I fired up my somewhat older laptop which still has a version of shotcut installed. I copied it to the computer I do my cutting with and there’s no sound glitches

1 Like

Yup I had the same thing. On my old Computer and the old version i didnt have the bug. It started like a couple of years ago. First i didnt bother but it rly gets annoying in longer videos. I cant remember which exact version i used. But it was a version from around 2018-2021. Just as u showed in ur video. Mbe that info helps finding the root of the issue somehow.

Hello again

I went into the archives (thanks @shotcut) and downloaded some versions of shotcut)

In Version 24.06.26 I did not have the glitch. In the very next version 24.08.29 I had it. Some change in between might have caused the problem

1 Like

Thank you!

Version 24.08 has this release note that is likely related:

Fixed occasional audio pop/click with some media files especially with uncompressed audio.

It might be an issue with PCM in Matroska:

Can you try extracting the audio to WAV and using that instead of the MKV audio–as a test.

Converting the clips into wav format didnt resolve the issue on my video.

Will we get a general fix for that issue in an upcoming patch?

1 Like

I made a mistake. I am sorry.

The glitch didn’t appear in shotcut but when I rendered the video it did again. So the issue must have been older. Currently trying to figure out which version was the first “bad” one

Edit

22.12.21 is good.

Edit 2: 23.05.07 not good. Might be the first full release having the issue. The 23.04.20 release candidate has the issue as well it seems.

Edit 3: Results are in - 22.12.21 did not come with the glitch; also not when I rendered. 23.05.07 had it. 23.04.20 also had it when rendered.

Let me know if you want me to test the Alpha and Beta version in between.

I tried rendering the video in 22.12.21 but it still had some cracks left. I think they became less by changing the version. But there were still some left. So changing the version is also no perfect solution.