tencentcloud.CiMediaSnapshotTemplate
Explore with Pulumi AI
Provides a resource to create a ci media_snapshot_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const mediaSnapshotTemplate = new tencentcloud.CiMediaSnapshotTemplate("mediaSnapshotTemplate", {
bucket: "terraform-ci-xxxxxx",
snapshot: {
count: "10",
snapshotOutMode: "SnapshotAndSprite",
spriteSnapshotConfig: {
color: "White",
columns: "10",
lines: "10",
margin: "10",
padding: "10",
},
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
media_snapshot_template = tencentcloud.CiMediaSnapshotTemplate("mediaSnapshotTemplate",
bucket="terraform-ci-xxxxxx",
snapshot={
"count": "10",
"snapshot_out_mode": "SnapshotAndSprite",
"sprite_snapshot_config": {
"color": "White",
"columns": "10",
"lines": "10",
"margin": "10",
"padding": "10",
},
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewCiMediaSnapshotTemplate(ctx, "mediaSnapshotTemplate", &tencentcloud.CiMediaSnapshotTemplateArgs{
Bucket: pulumi.String("terraform-ci-xxxxxx"),
Snapshot: &tencentcloud.CiMediaSnapshotTemplateSnapshotArgs{
Count: pulumi.String("10"),
SnapshotOutMode: pulumi.String("SnapshotAndSprite"),
SpriteSnapshotConfig: &tencentcloud.CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigArgs{
Color: pulumi.String("White"),
Columns: pulumi.String("10"),
Lines: pulumi.String("10"),
Margin: pulumi.String("10"),
Padding: pulumi.String("10"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var mediaSnapshotTemplate = new Tencentcloud.CiMediaSnapshotTemplate("mediaSnapshotTemplate", new()
{
Bucket = "terraform-ci-xxxxxx",
Snapshot = new Tencentcloud.Inputs.CiMediaSnapshotTemplateSnapshotArgs
{
Count = "10",
SnapshotOutMode = "SnapshotAndSprite",
SpriteSnapshotConfig = new Tencentcloud.Inputs.CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigArgs
{
Color = "White",
Columns = "10",
Lines = "10",
Margin = "10",
Padding = "10",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CiMediaSnapshotTemplate;
import com.pulumi.tencentcloud.CiMediaSnapshotTemplateArgs;
import com.pulumi.tencentcloud.inputs.CiMediaSnapshotTemplateSnapshotArgs;
import com.pulumi.tencentcloud.inputs.CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mediaSnapshotTemplate = new CiMediaSnapshotTemplate("mediaSnapshotTemplate", CiMediaSnapshotTemplateArgs.builder()
.bucket("terraform-ci-xxxxxx")
.snapshot(CiMediaSnapshotTemplateSnapshotArgs.builder()
.count("10")
.snapshotOutMode("SnapshotAndSprite")
.spriteSnapshotConfig(CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigArgs.builder()
.color("White")
.columns("10")
.lines("10")
.margin("10")
.padding("10")
.build())
.build())
.build());
}
}
resources:
mediaSnapshotTemplate:
type: tencentcloud:CiMediaSnapshotTemplate
properties:
bucket: terraform-ci-xxxxxx
snapshot:
count: '10'
snapshotOutMode: SnapshotAndSprite
spriteSnapshotConfig:
color: White
columns: '10'
lines: '10'
margin: '10'
padding: '10'
Create CiMediaSnapshotTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CiMediaSnapshotTemplate(name: string, args: CiMediaSnapshotTemplateArgs, opts?: CustomResourceOptions);
@overload
def CiMediaSnapshotTemplate(resource_name: str,
args: CiMediaSnapshotTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CiMediaSnapshotTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
snapshot: Optional[CiMediaSnapshotTemplateSnapshotArgs] = None,
ci_media_snapshot_template_id: Optional[str] = None,
name: Optional[str] = None)
func NewCiMediaSnapshotTemplate(ctx *Context, name string, args CiMediaSnapshotTemplateArgs, opts ...ResourceOption) (*CiMediaSnapshotTemplate, error)
public CiMediaSnapshotTemplate(string name, CiMediaSnapshotTemplateArgs args, CustomResourceOptions? opts = null)
public CiMediaSnapshotTemplate(String name, CiMediaSnapshotTemplateArgs args)
public CiMediaSnapshotTemplate(String name, CiMediaSnapshotTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:CiMediaSnapshotTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CiMediaSnapshotTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CiMediaSnapshotTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CiMediaSnapshotTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CiMediaSnapshotTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CiMediaSnapshotTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CiMediaSnapshotTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CiMediaSnapshotTemplate resource accepts the following input properties:
- Bucket string
- bucket name.
- Snapshot
Ci
Media Snapshot Template Snapshot - screenshot.
- Ci
Media stringSnapshot Template Id - ID of the resource.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
.
- Bucket string
- bucket name.
- Snapshot
Ci
Media Snapshot Template Snapshot Args - screenshot.
- Ci
Media stringSnapshot Template Id - ID of the resource.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
.
- bucket String
- bucket name.
- snapshot
Ci
Media Snapshot Template Snapshot - screenshot.
- ci
Media StringSnapshot Template Id - ID of the resource.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
.
- bucket string
- bucket name.
- snapshot
Ci
Media Snapshot Template Snapshot - screenshot.
- ci
Media stringSnapshot Template Id - ID of the resource.
- name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
.
- bucket str
- bucket name.
- snapshot
Ci
Media Snapshot Template Snapshot Args - screenshot.
- ci_
media_ strsnapshot_ template_ id - ID of the resource.
- name str
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
.
- bucket String
- bucket name.
- snapshot Property Map
- screenshot.
- ci
Media StringSnapshot Template Id - ID of the resource.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
.
Outputs
All input properties are implicitly available as output properties. Additionally, the CiMediaSnapshotTemplate resource produces the following output properties:
- Create
Time string - creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Template
Id string - Template ID.
- Update
Time string - update time.
- Create
Time string - creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Template
Id string - Template ID.
- Update
Time string - update time.
- create
Time String - creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- template
Id String - Template ID.
- update
Time String - update time.
- create
Time string - creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- template
Id string - Template ID.
- update
Time string - update time.
- create_
time str - creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- template_
id str - Template ID.
- update_
time str - update time.
- create
Time String - creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- template
Id String - Template ID.
- update
Time String - update time.
Look up Existing CiMediaSnapshotTemplate Resource
Get an existing CiMediaSnapshotTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CiMediaSnapshotTemplateState, opts?: CustomResourceOptions): CiMediaSnapshotTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
ci_media_snapshot_template_id: Optional[str] = None,
create_time: Optional[str] = None,
name: Optional[str] = None,
snapshot: Optional[CiMediaSnapshotTemplateSnapshotArgs] = None,
template_id: Optional[str] = None,
update_time: Optional[str] = None) -> CiMediaSnapshotTemplate
func GetCiMediaSnapshotTemplate(ctx *Context, name string, id IDInput, state *CiMediaSnapshotTemplateState, opts ...ResourceOption) (*CiMediaSnapshotTemplate, error)
public static CiMediaSnapshotTemplate Get(string name, Input<string> id, CiMediaSnapshotTemplateState? state, CustomResourceOptions? opts = null)
public static CiMediaSnapshotTemplate get(String name, Output<String> id, CiMediaSnapshotTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CiMediaSnapshotTemplate get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bucket string
- bucket name.
- Ci
Media stringSnapshot Template Id - ID of the resource.
- Create
Time string - creation time.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - Snapshot
Ci
Media Snapshot Template Snapshot - screenshot.
- Template
Id string - Template ID.
- Update
Time string - update time.
- Bucket string
- bucket name.
- Ci
Media stringSnapshot Template Id - ID of the resource.
- Create
Time string - creation time.
- Name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - Snapshot
Ci
Media Snapshot Template Snapshot Args - screenshot.
- Template
Id string - Template ID.
- Update
Time string - update time.
- bucket String
- bucket name.
- ci
Media StringSnapshot Template Id - ID of the resource.
- create
Time String - creation time.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - snapshot
Ci
Media Snapshot Template Snapshot - screenshot.
- template
Id String - Template ID.
- update
Time String - update time.
- bucket string
- bucket name.
- ci
Media stringSnapshot Template Id - ID of the resource.
- create
Time string - creation time.
- name string
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - snapshot
Ci
Media Snapshot Template Snapshot - screenshot.
- template
Id string - Template ID.
- update
Time string - update time.
- bucket str
- bucket name.
- ci_
media_ strsnapshot_ template_ id - ID of the resource.
- create_
time str - creation time.
- name str
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - snapshot
Ci
Media Snapshot Template Snapshot Args - screenshot.
- template_
id str - Template ID.
- update_
time str - update time.
- bucket String
- bucket name.
- ci
Media StringSnapshot Template Id - ID of the resource.
- create
Time String - creation time.
- name String
- The template name only supports
Chinese
,English
,numbers
,_
,-
and*
. - snapshot Property Map
- screenshot.
- template
Id String - Template ID.
- update
Time String - update time.
Supporting Types
CiMediaSnapshotTemplateSnapshot, CiMediaSnapshotTemplateSnapshotArgs
- Count string
- Number of screenshots, range (0 10000].
- Black
Level string - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start.
- Ci
Param string - Screenshot image processing parameters, for example: imageMogr2/format/png.
- Height string
- high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video.
- Is
Check stringBlack - Whether to enable black screen detection true/false.
- Is
Check stringCount - Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots.
- Mode string
- Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express.
- Pixel
Black stringThreshold - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
- Snapshot
Out stringMode - Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode.
- Sprite
Snapshot CiConfig Media Snapshot Template Snapshot Sprite Snapshot Config - Screenshot output configuration.
- Start string
- Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- Time
Interval string - Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- Width string
- wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video.
- Count string
- Number of screenshots, range (0 10000].
- Black
Level string - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start.
- Ci
Param string - Screenshot image processing parameters, for example: imageMogr2/format/png.
- Height string
- high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video.
- Is
Check stringBlack - Whether to enable black screen detection true/false.
- Is
Check stringCount - Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots.
- Mode string
- Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express.
- Pixel
Black stringThreshold - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
- Snapshot
Out stringMode - Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode.
- Sprite
Snapshot CiConfig Media Snapshot Template Snapshot Sprite Snapshot Config - Screenshot output configuration.
- Start string
- Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- Time
Interval string - Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- Width string
- wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video.
- count String
- Number of screenshots, range (0 10000].
- black
Level String - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start.
- ci
Param String - Screenshot image processing parameters, for example: imageMogr2/format/png.
- height String
- high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video.
- is
Check StringBlack - Whether to enable black screen detection true/false.
- is
Check StringCount - Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots.
- mode String
- Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express.
- pixel
Black StringThreshold - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
- snapshot
Out StringMode - Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode.
- sprite
Snapshot CiConfig Media Snapshot Template Snapshot Sprite Snapshot Config - Screenshot output configuration.
- start String
- Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- time
Interval String - Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- width String
- wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video.
- count string
- Number of screenshots, range (0 10000].
- black
Level string - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start.
- ci
Param string - Screenshot image processing parameters, for example: imageMogr2/format/png.
- height string
- high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video.
- is
Check stringBlack - Whether to enable black screen detection true/false.
- is
Check stringCount - Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots.
- mode string
- Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express.
- pixel
Black stringThreshold - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
- snapshot
Out stringMode - Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode.
- sprite
Snapshot CiConfig Media Snapshot Template Snapshot Sprite Snapshot Config - Screenshot output configuration.
- start string
- Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- time
Interval string - Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- width string
- wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video.
- count str
- Number of screenshots, range (0 10000].
- black_
level str - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start.
- ci_
param str - Screenshot image processing parameters, for example: imageMogr2/format/png.
- height str
- high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video.
- is_
check_ strblack - Whether to enable black screen detection true/false.
- is_
check_ strcount - Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots.
- mode str
- Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express.
- pixel_
black_ strthreshold - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
- snapshot_
out_ strmode - Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode.
- sprite_
snapshot_ Ciconfig Media Snapshot Template Snapshot Sprite Snapshot Config - Screenshot output configuration.
- start str
- Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- time_
interval str - Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- width str
- wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video.
- count String
- Number of screenshots, range (0 10000].
- black
Level String - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, Value reference range [30, 100], indicating the proportion of black pixels, the smaller the value, the smaller the proportion of black pixels, Start>0, the parameter setting is invalid, no filter black screen, Start =0 parameter is valid, the start time of the frame capture is the first frame non-black screen start.
- ci
Param String - Screenshot image processing parameters, for example: imageMogr2/format/png.
- height String
- high, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video.
- is
Check StringBlack - Whether to enable black screen detection true/false.
- is
Check StringCount - Whether to check the number of screenshots forcibly, when using custom interval mode to take screenshots, the video time is not long enough to capture Count screenshots, you can switch to average screenshot mode to capture Count screenshots.
- mode String
- Screenshot mode, value range: {Interval, Average, KeyFrame}- Interval means interval mode Average means average mode- KeyFrame represents the key frame mode- Interval mode: Start, TimeInterval, The Count parameter takes effect. When Count is set and TimeInterval is not set, Indicates to capture all frames, a total of Count pictures- Average mode: Start, the Count parameter takes effect. express.
- pixel
Black StringThreshold - Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
- snapshot
Out StringMode - Screenshot output mode parameters, Value range: {OnlySnapshot, OnlySprite, SnapshotAndSprite}, OnlySnapshot means output only screenshot mode OnlySprite means only output sprite mode SnapshotAndSprite means output screenshot and sprite mode.
- sprite
Snapshot Property MapConfig - Screenshot output configuration.
- start String
- Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- time
Interval String - Screenshot time interval, (0 3600], in seconds, Support float format, the execution accuracy is accurate to milliseconds.
- width String
- wide, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video.
CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig, CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfigArgs
- Color string
- See
https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax
for details on supported colors. - Columns string
- Number of screenshot columns, value range: [1, 10000].
- Lines string
- Number of screenshot lines, value range: [1, 10000].
- Cell
Height string - Single image height Value range: [8, 4096], Unit: px.
- Cell
Width string - Single image width Value range: [8, 4096], Unit: px.
- Margin string
- screenshot margin size, Value range: [8, 4096], Unit: px.
- Padding string
- screenshot padding size, Value range: [8, 4096], Unit: px.
- Color string
- See
https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax
for details on supported colors. - Columns string
- Number of screenshot columns, value range: [1, 10000].
- Lines string
- Number of screenshot lines, value range: [1, 10000].
- Cell
Height string - Single image height Value range: [8, 4096], Unit: px.
- Cell
Width string - Single image width Value range: [8, 4096], Unit: px.
- Margin string
- screenshot margin size, Value range: [8, 4096], Unit: px.
- Padding string
- screenshot padding size, Value range: [8, 4096], Unit: px.
- color String
- See
https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax
for details on supported colors. - columns String
- Number of screenshot columns, value range: [1, 10000].
- lines String
- Number of screenshot lines, value range: [1, 10000].
- cell
Height String - Single image height Value range: [8, 4096], Unit: px.
- cell
Width String - Single image width Value range: [8, 4096], Unit: px.
- margin String
- screenshot margin size, Value range: [8, 4096], Unit: px.
- padding String
- screenshot padding size, Value range: [8, 4096], Unit: px.
- color string
- See
https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax
for details on supported colors. - columns string
- Number of screenshot columns, value range: [1, 10000].
- lines string
- Number of screenshot lines, value range: [1, 10000].
- cell
Height string - Single image height Value range: [8, 4096], Unit: px.
- cell
Width string - Single image width Value range: [8, 4096], Unit: px.
- margin string
- screenshot margin size, Value range: [8, 4096], Unit: px.
- padding string
- screenshot padding size, Value range: [8, 4096], Unit: px.
- color str
- See
https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax
for details on supported colors. - columns str
- Number of screenshot columns, value range: [1, 10000].
- lines str
- Number of screenshot lines, value range: [1, 10000].
- cell_
height str - Single image height Value range: [8, 4096], Unit: px.
- cell_
width str - Single image width Value range: [8, 4096], Unit: px.
- margin str
- screenshot margin size, Value range: [8, 4096], Unit: px.
- padding str
- screenshot padding size, Value range: [8, 4096], Unit: px.
- color String
- See
https://www.ffmpeg.org/ffmpeg-utils.html#color-syntax
for details on supported colors. - columns String
- Number of screenshot columns, value range: [1, 10000].
- lines String
- Number of screenshot lines, value range: [1, 10000].
- cell
Height String - Single image height Value range: [8, 4096], Unit: px.
- cell
Width String - Single image width Value range: [8, 4096], Unit: px.
- margin String
- screenshot margin size, Value range: [8, 4096], Unit: px.
- padding String
- screenshot padding size, Value range: [8, 4096], Unit: px.
Import
ci media_snapshot_template can be imported using the bucket#templateId, e.g.
$ pulumi import tencentcloud:index/ciMediaSnapshotTemplate:CiMediaSnapshotTemplate media_snapshot_template terraform-ci-xxxxxx#t18210645f96564eaf80e86b1f58c20152
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.