[FFmpeg-trac] #1422(undetermined:open): combining audio and video filters crashes machine

FFmpeg trac at avcodec.org
Wed Jun 6 14:57:06 CEST 2012


#1422: combining audio and video filters crashes machine
-------------------------------------+-------------------------------------
             Reporter:  atlithorn    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  1            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by Cigaes):

 * analyzed:  0 => 1


Comment:

 Ok, understood. The problem is this: when the first video ends, both
 overlay and amerge consider it means EOF for them and return EOF.
 Unfortunately, ffmpeg does not take that EOF return into account. Instead,
 it continues to decode both files and feed the data to the filters. As no
 frame is requested for the second file, they accumulate in buffersrc,
 until they exhaust the memory.

 There are several things that are wrong here, some I already knew about
 and intended to fix, others that I just realized and need to think about.

 In the meantime, you can avoid the bug using the {{{-shortest}}} option.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1422#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list