[FFmpeg-user] overlay filter question

Roger Pack rogerdpack2 at gmail.com
Wed Aug 8 00:30:33 CEST 2012


The documentation reads this:

# insert 2 different transparent PNG logos (second logo on bottom
# right corner):
ffmpeg -i input -i logo1 -i logo2 -filter_complex
'overlay=10:H-h-10,overlay=W-w-10:H-h-10' output

Attempting to do this, I however get the following:

$ ffmpeg -i sintel.mpg -i go.png -i go.png -filter_complex
'overlay=10:H-h-10,overlay=W-w-10:H-h-10' output.avi
ffmpeg version N-43288-g3865ec2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  6 2012 17:51:58 with gcc 4.7.1 (GCC)
  configuration: --enable-memalign-hack --arch=x86 --enable-gpl
--enable-libx264 --enable-avisynth --target-os=mingw32
--cross-prefix=/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-
--pkg-config=pkg-config --enable-libmp3lame --enable-version3
--enable-libvo-aacenc --enable-libvpx --extra-libs=-lws2_32
--extra-libs=-lpthread --enable-librtmp --enable-zlib
--extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-runtime-cpudetect
  libavutil      51. 66.101 / 51. 66.101
  libavcodec     54. 49.100 / 54. 49.100
  libavformat    54. 22.101 / 54. 22.101
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.102 /  3.  5.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg2video @ 0035F700] ac-tex damaged at 40 7
[mpeg2video @ 0035F700] Warning MVs not available
[mpeg2video @ 0035F700] concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
[mpeg @ 03181800] max_analyze_duration 5000000 reached at 5024000
Input #0, mpeg, from 'sintel.mpg':
  Duration: 00:14:47.58, start: 0.233367, bitrate: 4132 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480
[SAR 32:27 DAR 16:9], 7000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94
tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
Input #1, image2, from 'go.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #1:0: Video: png, rgba, 800x415, 25 tbr, 25 tbn, 25 tbc
Input #2, image2, from 'go.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #2:0: Video: png, rgba, 800x415, 25 tbr, 25 tbn, 25 tbc
[AVFilterGraph @ 0326BAE0] No such filter:
'overlay=10:H-h-10,overlay=W-w-10:H-h-10'
Error configuring filters.

Did I miss something?
-r


More information about the ffmpeg-user mailing list