[FFmpeg-trac] #8843(avfilter:open): concat Segmentation fault filter_complex

FFmpeg trac at avcodec.org
Sun Aug 9 17:14:41 EEST 2020


#8843: concat Segmentation fault filter_complex
------------------------------------+------------------------------------
             Reporter:  dirvann     |                    Owner:  dirvann
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  crash amix  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by dirvann):

 Replying to [comment:13 Cigaes]:
 > I very much confirm the command-line I gave reproduces the problem with
 only two segments.
 >
 > The problem seems to be in the amix filter: it sends the last frame
 without a timestamp. The following patch protects concat from it and
 prevents the segfault, resulting in an error with a message instead.
 >
 > https://ffmpeg.org/pipermail/ffmpeg-devel/2020-August/267563.html
 >
 > For a proper fix, amix needs to be investigated.
 >
 > I suggest trying to use amerge and pan instead.

 Sorry, I thought you said your code did work. Indeed your code also caused
 the segmentation fault as I ran it.

 Thank you for the suggestion. I'm going to try to implement amix with
 amerge and pan like you said; for now at least. Hopefully it works. :)

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


More information about the FFmpeg-trac mailing list