Skip to content

Crackling sound when cutting pcm_s24le in mkv #1156

@aruseni

Description

@aruseni

I was editing a video in Kdenlive and noticed an annoying crackling sound after one of the cuts.

The video was h264 / pcm_s24le in an mkv.

For my video, I was able to solve the issue by just converting the audio to flac.

Here is a related bug: #1014.

Steps to reproduce the behavior

First, create an mkv with pcm_s24le sound

melt -profile atsc_1080p_24 tone: out=240 frequency=440 level=-5 -consumer avformat:sine440hz.mkv vcodec=libx264 acodec=pcm_s24le

Then try to cut this video:

melt sine440hz.mkv in=10 -consumer avformat:test.wav

Expected behavior

The sound is a clear 440 Hz sine wave.

Actual result

There is crackling sound at the beginning.

Waveform

Additional context

If you use a wav file instead, melt does not have any issues cutting the audio.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions