[FFmpeg-trac] #6375(ffmpeg:new): [bug][regression] Too many packets buffered for output stream

FFmpeg trac at avcodec.org
Fri May 5 19:36:46 EEST 2017


#6375: [bug][regression] Too many packets buffered for output stream
--------------------------------+--------------------------------------
             Reporter:  p137    |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  ffmpeg  |                  Version:  git-master
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+--------------------------------------
 Summary of the bug:
 Trying to transcode some video file fails in the latest ffmpeg master with
 this message:
 `Too many packets buffered for output stream 0:1.`

 It works in 3.2.4 and stopped working in 3.3.0. Using git bisect I could
 identify this commit as the first bad commit:
 af1761f7b5b1b72197dc40934953b775c2d951cc

 How to reproduce:
 {{{
 % ffmpeg -y -i "./too_many_packets_buffered_example.mp4" -f mp4 out.mp4
 ffmpeg version N-83725-gaf1761f7b5 Copyright (c) 2000-2017 the FFmpeg
 developers
   built with Apple LLVM version 8.1.0 (clang-802.0.42)
   configuration: --prefix=/Users/peter/ffmpeg_latest --disable-doc
   libavutil      55. 47.101 / 55. 47.101
   libavcodec     57. 82.100 / 57. 82.100
   libavformat    57. 66.103 / 57. 66.103
   libavdevice    57.  3.100 / 57.  3.100
   libavfilter     6. 74.100 /  6. 74.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/Users/peter/Downloads/too_many_packets_buffered_example.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf56.25.101
   Duration: 00:00:32.46, start: 0.000000, bitrate: 133 kb/s
     Stream #0:0(und): Audio: aac (Main) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 127 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
     Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 /
 0x31637661), yuv420p, 1024x768, 4 kb/s, 1.95 fps, 100 tbr, 19200 tbn, 1200
 tbc (default)
     Metadata:
       handler_name    : VideoHandler
 Stream mapping:
   Stream #0:1 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:0 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Too many packets buffered for output stream 0:1.
 [aac @ 0x7fa762809000] Qavg: 639.028
 [aac @ 0x7fa762809000] 2 frames left in the queue on closing
 Conversion failed!
 }}}

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


More information about the FFmpeg-trac mailing list