Can I run FFmpeg inside a Vercel Function?
On the Node runtime, yes. The ffmpeg-static binary is about 76 MB against a 250 MB bundle cap, and Large Functions raises that ceiling to 5 GB. Two things still bite. Your function stays open for the whole transcode, and Vercel caps request and response bodies at 4.5 MB, so the video itself cannot travel through it. On the Edge runtime it is not possible at all: there is no child_process to spawn a binary, and the code cap is 1 MB gzipped on Hobby.
