[FFmpeg-user] Watermark video file

Tarun singhal tsinghal18 at gmail.com
Mon Dec 26 05:16:51 CET 2011


Could you please mention here, specs(width and height) of your Image and
video file.

I am pretty sure the dimensions of your image watermark.png exceeds that of
video file

Regards,
Tarun Singhal




On Mon, Dec 26, 2011 at 12:51 AM, Boris Saint-Martin <
bsaintmartin at mediabroadcast-t.com> wrote:

> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list