[FFmpeg-trac] #6472(undetermined:new): Conversion failed! by Too many packets buffered for output stream 0:0. in wmv

FFmpeg trac at avcodec.org
Thu Oct 5 13:48:53 EEST 2017


#6472: Conversion failed! by Too many packets buffered for output stream 0:0. in
wmv
-------------------------------------+-------------------------------------
             Reporter:  ponpon       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ponpon):

 This error happens since commit 1daacba91f7c8a29858fb2de58f8695f33308fa7,
 again.
 A sample is https://web.archive.org/web/20161110194857/http://encode-
 service.jp/sample/000_3M_60fps_CBR.wmv.
 {{{
 ffmpeg -i "000_3M_60fps_CBR.wmv" -f null /dev/null
 ffmpeg version N-86889-g1daacba91f Copyright (c) 2000-2017 the FFmpeg
 developers
   built with Apple LLVM version 8.1.0 (clang-802.0.42)
   configuration: --prefix=/sw --disable-vda
   libavutil      55. 69.100 / 55. 69.100
   libavcodec     57.102.100 / 57.102.100
   libavformat    57. 76.100 / 57. 76.100
   libavdevice    57.  7.100 / 57.  7.100
   libavfilter     6. 95.100 /  6. 95.100
   libswscale      4.  7.101 /  4.  7.101
   libswresample   2.  8.100 /  2.  8.100
 Guessed Channel Layout for Input Stream #0.1 : stereo
 Input #0, asf, from '000_3M_60fps_CBR.wmv':
   Metadata:
     WMFSDKNeeded    : 0.0.0.0000
     DeviceConformanceTemplate: L2
     WM/WMADRCPeakReference: 32767
     WM/WMADRCAverageReference: 6147
     WMFSDKVersion   : 10.00.00.3802
     IsVBR           : 0
     title           : 動画サンプル -桜- 3Mbps 59.94fps
     copyright       : アイ・ビー・アイ株式会社
   Duration: 00:00:34.83, start: 0.000000, bitrate: 3091 kb/s
     Stream #0:0(jpn): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p,
 640x480, 2936 kb/s, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc
     Stream #0:1(jpn): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz,
 stereo, fltp, 64 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (wmv3 (native) -> wrapped_avframe (native))
   Stream #0:1 -> #0:1 (wmav2 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 Too many packets buffered for output stream 0:0.
 Conversion failed!
 }}}

 If
 {{{
 @@ -239,6 +258,12 @@ static int
 av_buffersrc_add_frame_internal(AVFilterContext *ctx,
      if ((ret = ctx->output_pads[0].request_frame(ctx->outputs[0])) < 0)
          return ret;

 +    if ((flags & AV_BUFFERSRC_FLAG_PUSH)) {
 +        ret = push_frame(ctx->graph);
 +        if (ret < 0)
 +            return ret;
 +    }
 +
      return 0;
  }
 }}}
 in the patch to buffersrc.c is deleted, this error don't happen. Moreover,
 the errors of ffmpeg_bug_report.mp4 of ticket 6375 and
 Vertical400kbit.sorenson3.mov of ticket 6705 don't happen.
 If the other in the patch to buffersrc.c is deleted, the error of
 too_many_packets_buffered_example.mp4 of  of ticket 6375 doesn't happen.
 All of "Too many packets buffered for output stream" message searched in
 trac disappear by this delete.
 I don't know if this delete is proper and I don't try this delete in the
 master 0a499d6a57409926011e1952fcf7ca39224663d6.

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


More information about the FFmpeg-trac mailing list