翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
次の のフィールドの意味と値についてはJSON、「」を参照してください出力ごとの画像オーバーレイをアクティブにするためのフィールド。
{ "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 } } } ] } }
例
このリクエストの例では、チャネル内の特定の出力に挿入されるイメージオーバーレイを作成します。オーバーレイは、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 } } } ] } }