

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 出力ごとのイメージアクションをアクティブにする - ペイロード
<a name="cli-schedule-fields-for-activate-image-per-output"></a>

次の JSON のフィールドの意味と値については、「[出力ごとの画像オーバーレイをアクティブにするためのフィールド](schedule-fields-activate-image-per-output.md)」を参照してください。

```
{
"ChannelId": "string",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "StaticImageOutputActivateSettings": {
     "Duration": integer,
     "FadeIn": integer,
     "FadeOut": integer,
     "Height": integer,
     "Image": {
      "PasswordParam": "string",
      "Uri": "string",
      "Username": "string"
     },
     "ImageX": integer,
     "ImageY": integer,
     "Layer": integer,
     "Opacity": integer,
     "OutputNames": [
       {}
      ],
     "Width": integer
     }
    }
   }
  ]
 }
}
```

## 例
<a name="json-deactivate-image-per-output-example"></a>

このリクエストの例では、チャネル内の特定の出力に挿入されるイメージオーバーレイを作成します。オーバーレイは、Amazon S3 バケットに保存されているファイルを使用します。リクエストは出力 「`hls-high-res`」 と 「`mss-high-res`」 に画像を挿入します。イメージは、これらの出力のビデオ解像度に合わせて適切なサイズになります。

リクエストは常に存在することを意図しています。したがって、すぐに (チャネルが開始されるとすぐに) 開始するように設定されます。すべての時刻はミリ秒単位で、すべての位置の値はピクセル単位です。

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
        "ScheduleActionStartSettings": 
          {
          "ImmediateModeScheduleActionStartSettings": {
          }
         },
      },
      "ActionName": "logo-1280",
      "ScheduleActionSettings": {
        "StaticImageOutputActivateSettings": {
          "Image": {
          "PasswordParam": "corplogo!2312",
          "Uri": "s3ssl://amzn-s3-demo-bucket/logos/corporate/10percent-1280.bmp",
          "Username": "medialiveoperator"
          },
          "Layer": 0,
          "outputNames": [
            hls-high-res,mss-high-res
           ],
          "ImageX": 200,
          "ImageY": 300,
          "FadeIn": 1500,
          "Opacity": 60
          }
        }
      }
    ]
  }
}
```