The blog that announced containers are
The blog that announced containers are coming explicitly mentioned ffmpeg, but I can't see anyway of making this work. The compression example is the closest, but I don't even see how that would work when the response needs to fit inside 1MB?
R2 bindings don't work with containers either, right?
Is there any examples of ffmpeg to checkout?
2 Replies
Hey this is a really simple Worker using ffmpeg - https://github.com/megaconfidence/wifski
The R2 integration isn't done yet, but I've just passed R2 keys into the contianer as env vars and then uploaded directly from that. And worked okay.
When I've used ffmpeg it has been streaming the media in via Workers, and then uploading to R2 fwiw.
Awesome. Thank you for sharing!