在哪里指定需要转码的文件的宽度和高度。这是我的代码。
$job = $elasticTranscoder->createJob(array('PipelineId' => 'xx-nxx','OutputKeyPrefix' => 'output2/'.$folder.'/',
'Input' => array(
'Key' => $_GET['name'],
'FrameRate' => 'auto',
'Resolution' => 'auto',
'AspectRatio' => '4:3',
'Interlaced' => 'auto',
'Container' => 'auto',
),
'Outputs' => array(
array(
'Key' => $out,
'Rotate' => 'auto',
'PresetId' =>$p ,
),),));
我引用了这个aws 文档,当我将它包含为
'DetectedProperties' => array(
'Width' => 540,
'Height' => 720, ),),
它在说
"message":"不要为 'Input:DetectedProperties' 指定值,
需要帮忙!!