serverless-architectures-aws
serverless-architectures-aws copied to clipboard
Lambda transcode-video function will not create folders as described in the book.
In order for an output folder to be created in the transcode bucket, the folder needs to be prepended to the output path for each of the versions:
Outputs: [ { Key: outputKey + "/" + outputKey + '-1080p' + '.mp4', PresetId: '1351620000001-000001' //Generic 1080p }, { Key: outputKey + "/" + outputKey + '-720p' + '.mp4', PresetId: '1351620000001-000010' //Generic 720p }, { Key: outputKey + "/" + outputKey + '-web-720p' + '.mp4', PresetId: '1351620000001-100070' //Web Friendly 720p } ]};