ffmpeg: Unable to find a suitable output format fo

2020-02-06 03:32发布

问题:

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:

There is a difference between - (hyphen), which is what ffmpeg uses as an option prefix, and (en dash) which is what you're using instead.



标签: ffmpeg