[FFmpeg-trac] #9899(undetermined:new): silenceremove bug
FFmpeg
trac at avcodec.org
Thu Sep 1 12:27:22 EEST 2022
#9899: silenceremove bug
-------------------------------------+-------------------------------------
Reporter: Jozef | Owner: (none)
Chutka |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
silenceremove |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by Jozef Chutka:
Old description:
> 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:stop_periods=1:detection=peak out-empty.m4a
> -y
>
> ffmpeg -i input -af
> adelay=delays=1:all=1,silenceremove=start_periods=1:stop_periods=1:detection=peak
> out-ok.m4a -y
> }}}
New description:
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:stop_periods=1:detection=peak out-empty.m4a
-y
ffmpeg -i input -af
adelay=delays=1:all=1,silenceremove=start_periods=1:stop_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
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9899#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list