I'm trying to run ffmpeg on a lambda function. I'm using a Python 2.7 environment. I'm using the latest static build from https://johnvansickle.com/ffmpeg/. The ffmpeg binary is copied into the tmp directory and chmodded to 555.
I'm running the following command:
subprocess.check_output(["/tmp/ffmpeg", "-r", "24","-i", "/tmp/"+background['video'], "-i", location+"%08d.png","-i", "/tmp/"+background['audio'],"-filter_complex", "'[0:v][1:v]overlay'","-shortest","-c:v", "libx264", "-vf","fps=24", "-pix_fmt", "yuv420p", "/tmp/output.mp4"])
I'm getting the error:
AVFilterGraph @ 0x5b3b1c0] No such filter: '[0:v][1:v]overlay'
I saw about adding stdin=subprocess.DEVNULL
here but I can't work out how, and if that would help in this instance.
Does anyone have any other suggestions?
Thanks in advance.
Mike