+
+
Overlay image watermark on video
+
ffmpeg -i input_video file -i input_image_file -filter_complex overlay=main_w-overlay_w-5:5 output_file
+
+ - ffmpeg
- starts the command
+ - -i input_video_file
- path, name and extension of the input video file
+ - -i input_image_file
- path, name and extension of the image file
+ - -filter_complex overlay=main_w-overlay_w-5:5
- This calls the overlay filter and sets x and y coordinates for the position of the watermark on the video. Instead of hardcoding specific x and y coordinates,
main_w-overlay_w-5:5
uses relative coordinates to place the watermark in the upper right hand corner, based on the width of your input files. Please see the ffmpeg documentation for more examples.
+ - output_file
- path, name and extension of the output file.
+
+
+
+