DEV Community

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

Collapse
 
benjaminadk profile image
benjaminadk

I'm not sure. I guess the first thing i might try is logging the srcKey and dstKey variables since the dst key should be creating the thumbnails folder when an image is uploaded. Put the console.log statements in a then you can check them in the cloud watch reports. I copied my exact code to a gist just i case there was some kind of typo or something.

Collapse
 
jetsondavis profile image
Jeff Davidson

Thanks for the response. I ended up using my web server & ffmpeg to create the thumbs and upload them. You have inspired me to learn more about Lambda, however! Thx