[FFmpeg-user] complex filtergraph overlay repeatlast option is broken in Debian static build

Lukácsy Gergely Gergely.Lukacsy at streamnet.hu
Wed Feb 5 18:15:25 CET 2014


Hi Eugen!

There you go:

/home/gergo/ffmpeg-2.1.3-64bit-static/ffmpeg -y -f lavfi -i color=c=0xaa0000:size=640x512:duration=60 -i video_short.flv -filter_complex '[1] scale=640x512 [main]; [0][main] overlay=x=10:y=10:repeatlast=0' -c:v libx264 -preset medium -pix_fmt yuv420p -b:v 800k -c:a libmp3lame -b:a 96k -threads 0 -f mp4 testbg.mp4
ffmpeg version 2.1.3-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 22 2014 19:50:14 with gcc 4.8 (Debian 4.8.2-14)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --disable-ffserver
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, lavfi, from 'color=c=0xaa0000:size=640x512:duration=60':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x512 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
Input #1, flv, from 'video_short.flv':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf55.29.101
  Duration: 00:00:30.07, start: 0.031000, bitrate: 1689 kb/s
    Stream #1:0: Video: h264 (High), yuv420p, 1280x1024, 30 tbr, 1k tbn, 60 tbc
    Stream #1:1: Audio: aac, 44100 Hz, stereo, fltp, 128 kb/s
[libx264 @ 0x3e05640] using SAR=1/1
[libx264 @ 0x3e05640] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x3e05640] profile High, level 3.0
[libx264 @ 0x3e05640] 264 - core 142 r14 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'testbg.mp4':
  Metadata:
    encoder         : Lavf55.19.104
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x512 [SAR 1:1 DAR 5:4], q=-1--1, 800 kb/s, 12800 tbn, 25 tbc (default)
    Stream #0:1: Audio: mp3 (libmp3lame) (i[0][0][0] / 0x0069), 44100 Hz, stereo, fltp, 96 kb/s
Stream mapping:
  Stream #0:0 (rawvideo) -> overlay:main (graph 0)
  Stream #1:0 (h264) -> scale (graph 0)
  overlay (graph 0) -> Stream #0:0 (libx264)
  Stream #1:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
frame= 1500 fps=160 q=-1.0 Lsize=    4235kB time=00:00:59.92 bitrate= 579.0kbits/s
video:3846kB audio:353kB subtitle:0 global headers:0kB muxing overhead 0.875022%
[libx264 @ 0x3e05640] frame I:9     Avg QP: 9.06  size: 60663
[libx264 @ 0x3e05640] frame P:508   Avg QP:11.99  size:  5625
[libx264 @ 0x3e05640] frame B:983   Avg QP:18.84  size:   543
[libx264 @ 0x3e05640] consecutive B-frames: 11.1%  1.5%  9.0% 78.4%
[libx264 @ 0x3e05640] mb I  I16..4: 42.7% 23.2% 34.0%
[libx264 @ 0x3e05640] mb P  I16..4:  1.6%  1.1%  0.9%  P16..4: 13.2%  6.2%  4.6%  0.0%  0.0%    skip:72.3%
[libx264 @ 0x3e05640] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  6.7%  1.3%  0.4%  direct: 0.7%  skip:90.7%  L0:27.9% L1:51.8% BI:20.2%
[libx264 @ 0x3e05640] final ratefactor: 11.18
[libx264 @ 0x3e05640] 8x8 transform intra:27.7% inter:53.5%
[libx264 @ 0x3e05640] coded y,uvDC,uvAC intra: 43.9% 47.2% 40.1% inter: 6.2% 5.5% 1.7%
[libx264 @ 0x3e05640] i16 v,h,dc,p: 57% 41%  1%  1%
[libx264 @ 0x3e05640] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 21% 31%  8%  3%  3%  4%  3%  9%
[libx264 @ 0x3e05640] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 35% 11%  5%  5%  5%  8%  5%  6%
[libx264 @ 0x3e05640] i8c dc,h,v,p: 53% 31% 12%  4%
[libx264 @ 0x3e05640] Weighted P-Frames: Y:4.7% UV:0.6%
[libx264 @ 0x3e05640] ref P L0: 67.9% 17.6% 10.2%  3.9%  0.4%
[libx264 @ 0x3e05640] ref B L0: 90.7%  8.0%  1.3%
[libx264 @ 0x3e05640] ref B L1: 93.3%  6.7%
[libx264 @ 0x3e05640] kb/s:524.96

> Lukácsy Gergely <Gergely.Lukacsy <at> streamnet.hu> writes:
>
>> Unfortunately, the command which worked well with the
>> 1.2.6-Win64 ffmpeg build previously, doesn't provided the expected 
>> result on Linux.
>
> Please provide the failing command line together with the complete, uncut console output.
>
> Carl Eugen



More information about the ffmpeg-user mailing list