[FFmpeg-user] scaling and overlaying a png watermark to video

Stefano Sabatini stefano.sabatini-lala at poste.it
Fri Sep 2 00:21:46 CEST 2011


On date Thursday 2011-09-01 22:15:05 +0100, G encoded:
> Hi, so I'm trying to resize a png watermark image, and then overlay
> it to an video like so:
> 
> ffmpeg -i input.mpg -vf "movie=wm.png [watermark];[in][watermark]
> scale=120:120,overlay=10:10 [out]" output/test.mpg

[in][watermark]scale=120:120

you're specifying two inputs for the scale filter, which only accepts
a single input.

I suppose you mean:

movie=wm.png, scale=120:120 [watermark]; [in][watermark] overlay=10:10 [out]
-- 
ffmpeg-user random tip #4
ffmpeg -i FILE
prints information about the container format and the streams in a file.


More information about the ffmpeg-user mailing list