[FFmpeg-trac] #8199(avfilter:new): Segfault during finishing/cleanup when using fieldmatch pipeline

FFmpeg trac at avcodec.org
Wed Sep 25 03:55:34 EEST 2019


#8199: Segfault during finishing/cleanup when using fieldmatch pipeline
-----------------------------------+--------------------------------------
             Reporter:  genpfault  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avfilter   |                  Version:  git-master
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 I'm trying to apply a moderately complex fieldmatch-based deinterlacing
 /detelecine-ing filter pipeline before compressing the result using x265.

 The filter pipeline was recommended by [https://ffmpeg.org/ffmpeg-
 filters.html#fieldmatch the docs for the fieldmatch filter].

 Unfortuantely once the encode ran "long enough" (10 minutes of input
 video, 8 or less was insuffcient) ffmpeg would segfault during
 finishing/cleanup inside `ff_scale_eval_dimensions()` in
 `libavfilter/scale.c`.

 This is command I've been using to repro the crash:

 {{{
 ffmpeg \
 -i input.mkv \
 -filter:v "dejudder,fps=30000/1001,fieldmatch,decimate" \
 -c:v huffyuv \
 -an \
 -f null -
 }}}

 The segfault occurs with `release/4.2` as well as `648f5c9382` (`master`
 as of a day or two ago)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8199>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list