是否有一个键可以用来设置视频im转码中缩略图的高度和宽度?
transcodeVideo = (fileName, cb) ->
elastictranscoder = new (AWS.ElasticTranscoder)(apiVersion: '2012-09-25')
elastictranscoder.createJob {
PipelineId: process.env.PIPELINE_ID
OutputKeyPrefix: fileName + '/'
Input:
Key: fileName
FrameRate: 'auto'
Resolution: 'auto'
AspectRatio: 'auto'
Interlaced: 'auto'
Container: 'auto'
Output:
Key: 'video.mp4'
Resolution: 'auto'
ThumbnailPattern: 'thumbs-{count}'
PresetId: process.env.PRESET_ID
Rotate: 'auto'
}, cb