AWS Lambda permission denied when trying to use ffmpeg
AWS Lambda runs on Amazon Linux. It is a known issue. Try building (with static enabled) and check if it works on Amazon Linux and upload that binary. You do not have the privileges to chmod
the files in /var/task/
. Or try this solution that works:
- Move
ffmpeg
to/tmp
chmod 755 /tmp/ffmpeg
- Call
/tmp/ffmpeg
See this discussion for more info.