[FFmpeg-trac] #4051(avformat:new): Assertion error in mux.c with a slow input

FFmpeg trac at avcodec.org
Wed Oct 22 15:51:48 CEST 2014


#4051: Assertion error in mux.c with a slow input
-------------------------------------+-------------------------------------
             Reporter:  ubitux       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  mux crash    |               Blocked By:
  abort                              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by ubitux):

 This script can be more handy for reproducing:

 {{{
 import sys

 fifo = open(sys.argv[1], 'wb')
 frame = '\x00' * (320*240*3)
 framecount = 0
 for i in range(1000):
     fifo.write(frame)
     raw_input('wrote frame #%d press enter for next frame' % framecount)
     framecount += 1
 }}}

 After pushing 2 frames, ffmpeg starts pulling the audio indefinitely. Then
 pushing 40 more video frames triggers the crash.

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


More information about the FFmpeg-trac mailing list