1

I am trying to add watermark to multiple images. When I add to single image I can complete the work correctly but when I try multiple ones, command prompt doesn't respond and return any error.

what I try is:

for f in *.png; do ffmpeg -i "$f" -i watermark.png -filter_complex "overlay=10:10" "${f/%.png/-v.png}”; 

1 Answer 1

3
  • You have a so-called smart quote infested in your command. Use normal " quotes.
  • The done is missing.

Try this:

for f in *.png; do ffmpeg -i "$f" -i watermark.png -filter_complex "overlay=10:10" "${f/%.png/-v.png}"; done
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .