-2

我試圖旋轉一個使用php SDK創建的作業中的視頻,我看到作業創建時旋轉到90,但輸出似乎不是從原始的旋轉位置,我失去了一些東西,或者旋轉不實際工作?AWS Elastic Transcoder:旋轉視頻

我在AWS論壇上張貼着沒有迴應 https://forums.aws.amazon.com/thread.jspa?threadID=226254

$job = $client->createJob(array(
    'PipelineId' => 'MYPIPELINE', 
    'Input' => array(
     'Key' => 'MYVIDEOKEY', 
     'FrameRate' => 'auto', 
     'Resolution' => 'auto', 
     'AspectRatio' => 'auto', 
     'Interlaced' => 'auto', 
     'Container' => 'auto', 
    ), 
    'OutputKeyPrefix' => 'MYPREFIX/', 
    'Output' => array(
     'Key' => 'MYNEWKEYNAME', 
     'ThumbnailPattern' => 'thumb-{count}', 
     'Rotate' => 90, 
     'PresetId' => 'MYPRESET', 
     'Watermarks' => [ 
      [ 
       'InputKey' => 'MYOVERLAY', 
       'PresetWatermarkId' => 'BottomRight' 
      ] 
     ] 
    ) 
)); 

回答

-1

所以我想通了,我想我應該在發佈前已經測試了一點,但答案很簡單,在旋轉不啓動0度,視頻的頂部在頂部,實際上左邊是頂部,圍繞該頂部旋轉90度。

enter image description here