[FFmpeg-user] Running ffmpeg on AWS Lambda

Ehsan Afzali ehsan.afzali at gmail.com
Fri Sep 16 17:16:40 EEST 2016


I'm trying to run ffmpeg on AWS Lambda to convert some jpg sequence to mp4

I'm Running this command:

/bin/sh -c ffmpeg -y -loglevel debug -framerate 1 -i
/tmp/ae20d930-7c13-11e6-9345-b13b0efa257b/%03d.jpg -c:v libx264 -r 30
-pix_fmt yuv420p /tmp/aea99130-7c13-11e6-9345-b13b0efa257b.mp4

This command is working perfectly on my MacBook and exit with status 0
but on Lambda it seems that it crashes in the middle of the process
and returns no status.

I've created a gist with both outputs here:


Would please guide me how can I trace the problem?

Thanks a lot,


More information about the ffmpeg-user mailing list