ffmpeg:无法为'-i'找到合适的输出格式 [英] ffmpeg: Unable to find a suitable output format for '–i'

查看:1195
本文介绍了ffmpeg:无法为'-i'找到合适的输出格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道为什么,但我似乎无法使用ffmpeg在我的视频的右下角得到一个水印。



我正在使用以下命令:

  $ ffmpeg -i faded.mov -vfmovie = logo2.png [水印] overlay =(main_w-overlay_w-10)/ 2:(main_h-overlay_h-10)/ 2 [out]outputvideo3.mov 
...
[NULL @ 0x7fa2ec001000]无法找到合适的输出'-i'的格式
-i:参数无效


解决方案

- (连字符)之间有区别,这是ffmpeg用作选项前缀,而 - (en dash)这是你正在使用的。


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

解决方案

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:无法为'-i'找到合适的输出格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆