I'm using
ffmpeg.wasm in lambda for various video manipulation stuff. It uses ffmpeg binaries under the hood, and takes the path to the binary at runtime. I supply the ffmpeg binary as a lambda layer and point to the layer path.
I'm running into an issue - "Error: ffmpeg.wasm can only run one command at a time". I suspect this may be happening because the ffmpeg binary is being shared across multiple instances, because its a layer. Is that a possibility? If I vendored the binary instead of shipping it as a layer, will it stop it being shared across instances?