Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ffmpeg: Unable to find a suitable output format for '–i'

Tags:

ffmpeg

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
like image 779
John Doe Avatar asked Dec 08 '12 18:12

John Doe


1 Answers

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

  • Correct: -i
  • Incorrect: –i
like image 119
llogan Avatar answered Oct 13 '22 21:10

llogan