[FFmpeg-trac] #2467(avfilter:closed): -itsoffset with overlay filter buffer queue overflow

FFmpeg trac at avcodec.org
Fri Aug 26 18:21:22 EEST 2016


#2467: -itsoffset with overlay filter buffer queue overflow
------------------------------------+------------------------------------
             Reporter:  Timbot      |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  important   |                Component:  avfilter
              Version:  git-master  |               Resolution:  fixed
             Keywords:  regression  |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by ljr1981):

 I know you said not to reopen three year old tickets, but ...

 I am getting the same issue with:

 ffmpeg -threads 0 -y -i source_video.mp4 -filter_complex
 "color=size=hd720:duration=5[L1213],[L1213]drawtext=fontcolor='white':fontfile='arial.ttf':text='Test
 of the {MP_BOXBLUR}
 filter':x=10:y=686[L1314],[L1314]colorkey=black:0.01:0.0[L1415],[L1415]fade=in:0:30[L1516],[L1516]fade=out:150:30[L2516],[0:v]scale=size=hd720[L2310],[L2310]colorkey=black:0.01:0.0[L2523],[L2523][L2516]overlay[L3025],[0:v]scale=size=hd720[L42],[L42]boxblur[L304],[L3025][L304]concat=n=2"
 mp_filter_harness.mp4

 ffmpeg version N-81350-g3282e31 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
 bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-
 gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
 --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-
 libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
 --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 28.100 / 55. 28.100
   libavcodec     57. 52.100 / 57. 52.100
   libavformat    57. 46.101 / 57. 46.101
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 51.100 /  6. 51.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'source_video.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp41isom
     creation_time   : 2016-07-24 21:14:51
   Duration: 00:00:10.75, start: 0.000000, bitrate: 4223 kb/s
     Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 /
 0x31637661), yuv420p, 854x480, 4220 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn,
 59.94 tbc (default)
     Metadata:
       creation_time   : 2016-07-24 21:14:51
       handler_name    : VideoHandler
       encoder         : AVC Coding
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 2 kb/s (default)
     Metadata:
       creation_time   : 2016-07-24 21:14:51
       handler_name    : SoundHandler
 [libx264 @ 00000000029b5660] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
 [libx264 @ 00000000029b5660] profile High, level 3.1
 [libx264 @ 00000000029b5660] 264 - core 148 r2705 3f5ed56 - H.264/MPEG-4
 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html -
 options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 [mp4 @ 00000000029b7a60] Using AVStream.codec to pass codec parameters to
 muxers is deprecated, use AVStream.codecpar instead.
     Last message repeated 1 times
 Output #0, mp4, to 'mp_filter_harness.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp41isom
     encoder         : Lavf57.46.101
     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
 1280x720, q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc (default)
     Metadata:
       encoder         : Lavc57.52.100 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
     Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
 stereo, fltp, 128 kb/s (default)
     Metadata:
       creation_time   : 2016-07-24 21:14:51
       handler_name    : SoundHandler
       encoder         : Lavc57.52.100 aac
 Stream mapping:
   Stream #0:0 (h264) -> scale (graph 0)
   Stream #0:0 (h264) -> scale (graph 0)
   concat (graph 0) -> Stream #0:0 (libx264)
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 [Parsed_concat_10 @ 00000000029aa460] Buffer queue overflow,
 dropping.97.9kbits/s speed= 1.3x
     Last message repeated 6 times
 [Parsed_concat_10 @ 00000000029aa460] Buffer queue overflow,
 dropping.61.7kbits/s speed=1.34x
     Last message repeated 21 times
 [Parsed_concat_10 @ 00000000029aa460] Buffer queue overflow,
 dropping.59.4kbits/s speed=1.33x
     Last message repeated 19 times
 [Parsed_concat_10 @ 00000000029aa460] Buffer queue overflow,
 dropping.25.2kbits/s speed=1.33x
     Last message repeated 16 times
 [output stream 0:0 @ 00000000029a9680] 100 buffers queued in output stream
 0:0, something may be wrong.
 frame=  644 fps= 58 q=-1.0 Lsize=    3523kB time=00:00:21.38
 bitrate=1349.3kbits/s dup=66 drop=0 speed=1.92x
 video:3503kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.468492%
 [libx264 @ 00000000029b5660] frame I:19    Avg QP:18.47  size: 13815
 [libx264 @ 00000000029b5660] frame P:198   Avg QP:21.99  size: 10802
 [libx264 @ 00000000029b5660] frame B:427   Avg QP:22.21  size:  2776
 [libx264 @ 00000000029b5660] consecutive B-frames:  7.1% 10.2%  9.3% 73.3%
 [libx264 @ 00000000029b5660] mb I  I16..4: 29.4% 68.5%  2.0%
 [libx264 @ 00000000029b5660] mb P  I16..4:  9.9% 24.8%  1.0%  P16..4:
 13.2%  4.1%  1.0%  0.0%  0.0%    skip:46.0%
 [libx264 @ 00000000029b5660] mb B  I16..4:  0.7%  1.7%  0.1%  B16..8:
 13.2%  2.3%  0.4%  direct: 1.4%  skip:80.1%  L0:47.6% L1:45.6% BI: 6.8%
 [libx264 @ 00000000029b5660] 8x8 transform intra:69.2% inter:92.3%
 [libx264 @ 00000000029b5660] coded y,uvDC,uvAC intra: 39.4% 56.6% 6.7%
 inter: 5.5% 8.8% 0.0%
 [libx264 @ 00000000029b5660] i16 v,h,dc,p: 28% 23%  4% 45%
 [libx264 @ 00000000029b5660] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 19% 16%
 5%  6%  6%  7%  6%  6%
 [libx264 @ 00000000029b5660] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 22% 11%
 5% 10%  8%  9%  6%  4%
 [libx264 @ 00000000029b5660] i8c dc,h,v,p: 47% 20% 20% 13%
 [libx264 @ 00000000029b5660] Weighted P-Frames: Y:4.5% UV:4.5%
 [libx264 @ 00000000029b5660] ref P L0: 67.7% 13.2% 14.5%  4.5%  0.1%
 [libx264 @ 00000000029b5660] ref B L0: 91.9%  6.5%  1.6%
 [libx264 @ 00000000029b5660] ref B L1: 97.6%  2.4%
 [libx264 @ 00000000029b5660] kb/s:1335.32
 [aac @ 00000000029b7220] Qavg: 65536.000

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


More information about the FFmpeg-trac mailing list