8

I am not sure why, but I cannot seem to get a watermark rendered on the bottom right corner of my video using ffmpeg.

I am using the following command:

$ ffmpeg –i faded.mov -vf "movie=logo2.png [watermark]; [in][watermark] overlay=(main_w-overlay_w-10)/2:(main_h-overlay_h-10)/2 [out]" outputvideo3.mov
...
[NULL @ 0x7fa2ec001000] Unable to find a suitable output format for '–i'
–i: Invalid argument
1
  • thanks for LordNeckBeard for editing the question to make it look a lot better! Sorry, I am new to stack overflow!
    – John Doe
    Commented Dec 8, 2012 at 19:07

1 Answer 1

25

Use - (hyphen), not (en dash).

  • Correct: -i
  • Incorrect: –i
3
  • 1
    You just made my day!
    – Bushikot
    Commented Dec 25, 2016 at 17:15
  • 2
    gods have names and one written in stone is LordNeckbeard
    – moeiscool
    Commented Jun 28, 2017 at 22:27
  • Thanks! Had the exact same problem, might have copied a line from some example on a website which has converted the dashes Commented Jun 22, 2020 at 14:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.