DEV Community

Discussion on: How do I create thumbnails when I upload a video? aws lambda!

Collapse
 
mrcrrs profile image
mrcrrs • Edited

I was also having the problem of the images being written coming out at 0 bytes. Also, regarding creating the layer, you don't need to package up ffmpeg yourself as you can just deploy a pre-made layer from the AWS SAR.

My solution ended up being quite different from that outlined here but your article did get me started; for others still having issues I have written a tutorial on my own blog which documents how I got it working.