ffmpeg.FS('writeFile', "video.mp4", await fetchFile(localVars.VideoURL));
This all works wonderfully, as long as it initializes and runs in the same scripting block. But that means every time I want to run ffmpeg, I need to initialize again!
If I initialize at the start of the layout and then call it later, it says 'ffmpeg is not defined' - seems it doesn't have access to any functions, variables and other stuff that's created on another block.
Thanks in advance!