[FFmpeg-trac] #7697(undetermined:closed): Segmentation fault while using silenceremove filter

FFmpeg trac at avcodec.org
Fri Jan 25 01:36:34 EET 2019


#7697: Segmentation fault while using silenceremove filter
-------------------------------------+-------------------------------------
             Reporter:  kdbeall      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  3.4          |  undetermined
             Keywords:               |               Resolution:
  silenceremove                      |  worksforme
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by llogan):

 * keywords:   => silenceremove
 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Only builds from the current git master branch are supported here. A
 recent version provides an error message instead of a segmentation fault:

 {{{
 ffmpeg -i 01_Who_sings_of_England.ogg -af
 silenceremove="stop_periods=1:stop_duration=-1" out.wav
 ffmpeg version N-93005-gd92f06eb66 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 8.2.1 (GCC) 20181127
   configuration:
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 44.100 / 58. 44.100
   libavformat    58. 26.100 / 58. 26.100
   libavdevice    58.  6.101 / 58.  6.101
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
 Input #0, ogg, from '01_Who_sings_of_England.ogg':
   Duration: 00:03:36.31, start: 0.000000, bitrate: 128 kb/s
     Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 128 kb/s
     Metadata:
       ENCODER         : VLC media player
 Stream mapping:
   Stream #0:0 -> #0:0 (vorbis (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 [silenceremove @ 0x562fb48b8bc0] Value -1.000000 for parameter
 'stop_duration' out of range [0 - 2147.48]
     Last message repeated 1 times
 [silenceremove @ 0x562fb48b8bc0] Error setting option stop_duration to
 value -1.
 [Parsed_silenceremove_0 @ 0x562fb48b8ac0] Error applying options to the
 filter.
 [AVFilterGraph @ 0x562fb48ae180] Error initializing filter 'silenceremove'
 with args 'stop_periods=1:stop_duration=-1'
 Error reinitializing filters!
 Failed to inject frame into filter network: Numerical result out of range
 Error while processing the decoded data for stream #0:0
 Conversion failed!
 }}}

 I didn't investigate which commit is responsible.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7697#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list