[FFmpeg-user] Watermark video file

Boris Saint-Martin bsaintmartin at mediabroadcast-t.com
Sun Dec 25 20:21:06 CET 2011


Hi,

I would like to watermark a video file using FFmpeg but without success...

Here is my FFmepg -version :

  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 46. 1 / 53. 46. 1
  libavformat  53. 27. 0 / 53. 27. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
ffmpeg N-35966-g1d0ae92
libavutil    51. 32. 0 / 51. 32. 0
libavcodec   53. 46. 1 / 53. 46. 1
libavformat  53. 27. 0 / 53. 27. 0
libavdevice  53.  4. 0 / 53.  4. 0
libavfilter   2. 53. 0 /  2. 53. 0
libswscale    2.  1. 0 /  2.  1. 0
libpostproc  51.  2. 0 / 51.  2. 0

The command line :

C:\Users\BobaL>C:\Users\BobaL\ffmpeg.exe -i C:\Users\BobaL\222425_1.mp4 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" outputvideo.mp4

And my error log :

[overlay @ 0000000001C37DE0] Overlay area (-358,-573)<->(342,278) not within the main area (0,0)<->(352,288) or zero-sized
Error opening filters!


Any idea ?


Regards.
Boris


More information about the ffmpeg-user mailing list