ffmpeg:无法为 '–i' 找到合适的输出格式

标签 ffmpeg

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

我正在使用以下命令:

$ 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

最佳答案

使用- (连字符),而不是 (破折号)。

  • 正确:-i
  • 不正确:–i
  • 关于ffmpeg:无法为 '–i' 找到合适的输出格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32583616/

    相关文章:

    ffmpeg - 当输出通过网络驱动器时,为什么 FFMPEG 的 -movflags faststart 参数会生成空文件?

    audio - FFMPEG 合并多个视频 : No Audio Source for one of them

    ffmpeg - 将 rtmp 流转换为 rtsp 和 http 流

    video - 从视频 ffmpeg/ffprobe 中提取关键帧信息和字节偏移

    ffmpeg 静音音频

    macos - 如何使用 ffmpeg 录制在我的 Mac 上运行的特定应用程序?

    video - 从 Youtube 输出流中保存 .mp4

    video - 如何为 mp4 容器的视频流指定偏移量和查找位置?

    FFmpeg - 连接视频和图像

    ffmpeg - 使用 ffmpeg 同时重新缩放和放慢电影