[FFmpeg-user] lbavfilter. watermark. time interval.

demimurych demimurych at mail.ru
Sun Dec 11 23:15:40 CET 2011


В сообщении от Суббота, 10-дек-2011 21:42:42 автор Mark Himsley написал:
> On 09/12/2011 23:18, Clément Bœsch wrote:
> > On Fri, Dec 09, 2011 at 11:48:05PM +0200, demimurych wrote:
> >> Hello.
> >> 
> >> I'm currently working with libavfilter and have a question relating
> >> watermarks.
> >> 
> >> What I already know is how to put a watermark on a whole video clip.
> >> ffmpeg  -i inputfile   -vf "movie=650_360_net.png [logo]; [in][logo]
> >> overlay=W- w-20:H-h-20 [out]"  outpufile
> >> 
> >> What I'm trying to achieve is to place a watermark that would only be
> >> visible from some certain point and to some point - for example, only
> >> the first 10 seconds of the video clip.
> >> 
> >> If there's a workaround that can make it possible please let me know.
> >> I'm stuck on this issue right now so I would be glad to receive an
> >> answer.
> >> 
> >> Thanks in advance.
> > 
> > Maybe you could generate a 10 seconds video with your source image, and
> > use it as overlay?


Hello again,
thank you very much for a fast answer. Using of fade effect is a smart solution 
indeed. However it's still not really obvious for me, how can I fade just the 
watermark and not the whole frame. I would appreciate if you could explain the 
workaround further and tell more details.
Thanks in advance,
Max



> 
> Or better still, use a fade filter to fade the overlay out after 10
> seconds.
> 
> Or even better, use two fade filters, one to fade the watermark in and
> another to fade it out again.


More information about the ffmpeg-user mailing list