我正在尝试运行以下 cmd,它应该为视频添加水印并对其进行放大。
ffmpeg -i "in.avi" -i "\logo.png" -vf scale=854:-1 -preset
veryfast -crf 20 -filter_complex overlay=5:5 "ou.mkv"
Run Code Online (Sandbox Code Playgroud)
我收到以下错误。
Filtergraph 'scale=854:-1' was specified through the
-vf/-af/-filter option for output stream 0:0, which is fed from
a complex filtergraph. -vf/-af/-filter and -filter_complex
cannot be used together for the same stream.
Run Code Online (Sandbox Code Playgroud)
在我尝试升级(没有 -vf scale=854:-1)之前,cmd 可以添加水印。
我怎样才能做到这两点?
我尝试过什么?
ffmpeg ×1