イメージアクションをアクティブ化 – ペイロード - MediaLive

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

イメージアクションをアクティブ化 – ペイロード

次の JSON のフィールドの意味と値については、AWS Elemental MediaLiveAPI リファレンスをご覧ください

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

このリクエストの例では、Amazon S3 バケットに保存されているファイルを使用して、イメージオーバーレイを作成します。リクエストには期間が含まれないため、フェードアウトが含まれません。代わりに、別の無効化リクエストを適切な時刻に送信することが目的です。すべての時刻はミリ秒単位で、すべての位置の値はピクセル単位です。

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:19.000Z" } }, "ActionName": "corporate-logo-030", "ScheduleActionSettings": { "StaticImageActivateSettings": { "Image": { "PasswordParam": "corplogo!2312", "Uri": "s3ssl://DOC-EXAMPLE-BUCKET/logos/corporate/high-res.bmp", "Username": "medialiveoperator" }, "ImageY": 300, "FadeIn": 1500, "ImageX": 200, "Width": 800, "Opacity": 60, "Layer": 1, "Height": 900 } } } ] } }