FFmpeg-Android icon indicating copy to clipboard operation
FFmpeg-Android copied to clipboard

Watermark on an image

Open msroid opened this issue 7 years ago • 3 comments

I used this command to add a watermark on an image:

ffmpeg -i input.png -i watermark.png -filter_complex overlay=15:15 output.png

But I got this error:

[NULL @ 0x7a1403f800] Unable to find a suitable output format for '/storage/emulated/0/images/img_wat.png'

I already add a watermark on a video but I don't know how to do that in this case for an image instead of a video.

Could someone help me please?

msroid avatar Dec 28 '18 00:12 msroid

Please enable image2 and segment muxers!

msroid avatar Dec 30 '18 07:12 msroid

FYI @msroid I use image2 command to create a slideshow of images in my app. Also, put a Watermark over a video as you commented.

Aracem avatar Jan 02 '19 17:01 Aracem

@Aracem I can put watermark on a video but it doesn't work when I try to put a watermark on an image! Have you tried to put a watermark on an image?

msroid avatar Jan 02 '19 17:01 msroid