[FFmpeg-user] sendcmd and overlay

Michael Koch astroelectronic at t-online.de
Sat Feb 1 23:34:04 EET 2020


>>> Console output:
>>>
>>> F:\Test>c:\ffmpeg\ffmpeg -i main.mov -i lp.mp4 -filter_complex "[1
>>> ]scale=100:100,sendcmd=f=test.cmd[2];[0][2]overlay=x='':y=''" -q:v 2 -t
>>> 4 -y out
>> x="":y="" are invalid arguments. They must be valid, even if they not
>> gonna be used later.
>
> now it works. Thank you!
>

Should be added to sendcmd documentation:

-- An example which shows where to insert the sendcmd filter, if the 
target filter has more than one input.
-- All arguments of filters must be initialized with valid values, even 
if they are never used because sendcmd overwrites them.

Michael



More information about the ffmpeg-user mailing list