![]() ![]() import loggingįrom botocore. Scanner (1)Text (3)Text-to-speech (12)Transport (31)Update (21)Utility (32)Vacuum (10)Voice (14)Water Heater (19)Weather (32)Other (41). Lambda (/tmp) can be configured to have storage between 512 MB and 10,240 MB. You really don't need to zip it, and could just place the binary in S3. I zipped the ffmpeg binary in bin/ffmpeg for the package. This function will grab the zip from S3 and unzip it into the Lambda /tmp directory where it can be called via subprocess.check_output(). ![]() Using docker with lambda would probably be a good way to work around the size limitation, but my workflow would need to be refactored, so, I decided to make a workaround by zipping the static amd64 ffmpeg binary and dropping it in a bucket that my lambda function can access. I wanted to use ffmpeg in my lambda function, but when I included it as a Lambda Layer, or included it in the source package, I went over the allowed max size for the lambda function. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |