add watermark in a video

Tim Müller tim at centricular.com
Wed May 28 05:11:05 PDT 2014


On Wed, 2014-05-28 at 04:58 -0700, Hamo61 wrote:

Hi,

> i want to transcode a videofile and add a watermark (png picture).
> 
> my pipeline is something like:
> 
> gst-launch-1.0.exe filesrc location=myvideo.mp4 ! decodebin ! x264enc !
> mp4mux ! filesink location=test.mp4
> 
> i just want to know how to add a watermark.
> 
> the only solution i found on the web was with xvidimagesink. i tried the
> same with filesink but the pipeline didnt end.

.... ! decodebin ! videoconvert ! gdkpixbufoverlay location=logo.png !
videoconvert ! x264enc ! ...

(This does not take care of the audio track(s) though).

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list