#9899 closed defect (invalid)

silenceremove bug

Reported by: Jozef Chutka Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: silenceremove
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Jozef Chutka)

using ffmpeg version 2022-07-31-git-1368b5a725-full_build-www.gyan.dev

silenceremove seems to remove whole audio content in some cases. Having supershort adelay before silenceremove serves as a fix.

ffmpeg -i input -af silenceremove=start_periods=1:detection=peak out-empty.m4a -y

ffmpeg -i input -af adelay=delays=1:all=1,silenceremove=start_periods=1:detection=peak out-ok.m4a -y

out-empty.m4a has 258 bytes and can not be played
out-ok.m4a 9733 bytes, and seems ok

Attachments (1)

input (6.1 KB ) - added by Jozef Chutka 21 months ago.

Download all attachments as: .zip

Change History (5)

by Jozef Chutka, 21 months ago

Attachment: input added

comment:1 by Jozef Chutka, 21 months ago

Description: modified (diff)

comment:2 by Jozef Chutka, 21 months ago

Description: modified (diff)

comment:3 by Jozef Chutka, 21 months ago

actually superlow start_threshold does the work as well

ffmpeg -i input -af silenceremove=start_periods=1:start_threshold=0.001:detection=peak out-threshold.m4a -y

comment:4 by Elon Musk, 21 months ago

Resolution: invalid
Status: newclosed

31.7 is too old version, this have been already fixed.

Note: See TracTickets for help on using tickets.