lambda-pngs-to-mp4
lambda-pngs-to-mp4 copied to clipboard
lambda-pngs-to-mp4
Convert a slew of pngs into an mp4
Usage
Invoke this function like any lambda function, as documented in the aws sdk.
- JavaScript
- Ruby
- PHP
- Python
- OR on the function's "edit" tab via amazon's interface
- OR via the AWS CLI
Payload
required
srcBucket- S3 bucket with the pngssrcKeys- Array of keys to download from the srcBucketdstBucket- S3 bucket to dump the mp4dstKey- Key to upload the mp4 to
optional
srcUrl- URL for anendcard- this file will be downloaded and built into avideo-endcard.mp4file with 45 frames. NOTE: this param will override the srcBucket and srcKeys params, but the function will be treated as 'invalid' if either of those is null. Not ideal, should be fixed. For now, I setsrcBucketandsrcKeysto"none"when using this param.