[FFmpeg-trac] #7351(avfilter:open): Infinite loop during concatenation with empty streams

FFmpeg trac at avcodec.org
Fri Aug 10 17:34:09 EEST 2018


#7351: Infinite loop during concatenation with empty streams
-------------------------------------+-------------------------------------
             Reporter:  javer        |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  deadlock     |               Blocked By:
  trim concat                        |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by Cigaes):

 * analyzed:  0 => 1
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 The cause of the problem is this: when the second trim finishes
 immediately, the framework wants concat to notice, and for that it
 requests a frame on the video output. Normally, concat would make a
 request on the corresponding video input and notice the end of stream.

 But in these particular circumstances, the end of stream arrives while
 concat is still processing the first segment, so it wants to finish its
 audio before addressing video in the second segment.

 The solution is to move concat to activate, which should not be that much
 work, it is a rather simple filter. I will try to do something soon.

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


More information about the FFmpeg-trac mailing list