1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CiMediaSnapshotTemplate
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.CiMediaSnapshotTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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 CiMediaSnapshotTemplateSnapshot
    screenshot.
    CiMediaSnapshotTemplateId string
    ID of the resource.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Bucket string
    bucket name.
    Snapshot CiMediaSnapshotTemplateSnapshotArgs
    screenshot.
    CiMediaSnapshotTemplateId string
    ID of the resource.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket String
    bucket name.
    snapshot CiMediaSnapshotTemplateSnapshot
    screenshot.
    ciMediaSnapshotTemplateId String
    ID of the resource.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket string
    bucket name.
    snapshot CiMediaSnapshotTemplateSnapshot
    screenshot.
    ciMediaSnapshotTemplateId string
    ID of the resource.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket str
    bucket name.
    snapshot CiMediaSnapshotTemplateSnapshotArgs
    screenshot.
    ci_media_snapshot_template_id str
    ID of the resource.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    bucket String
    bucket name.
    snapshot Property Map
    screenshot.
    ciMediaSnapshotTemplateId String
    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:

    CreateTime string
    creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateId string
    Template ID.
    UpdateTime string
    update time.
    CreateTime string
    creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateId string
    Template ID.
    UpdateTime string
    update time.
    createTime String
    creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    templateId String
    Template ID.
    updateTime String
    update time.
    createTime string
    creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    templateId string
    Template ID.
    updateTime 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.
    createTime String
    creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    templateId String
    Template ID.
    updateTime 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.
    The following state arguments are supported:
    Bucket string
    bucket name.
    CiMediaSnapshotTemplateId string
    ID of the resource.
    CreateTime string
    creation time.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Snapshot CiMediaSnapshotTemplateSnapshot
    screenshot.
    TemplateId string
    Template ID.
    UpdateTime string
    update time.
    Bucket string
    bucket name.
    CiMediaSnapshotTemplateId string
    ID of the resource.
    CreateTime string
    creation time.
    Name string
    The template name only supports Chinese, English, numbers, _, - and *.
    Snapshot CiMediaSnapshotTemplateSnapshotArgs
    screenshot.
    TemplateId string
    Template ID.
    UpdateTime string
    update time.
    bucket String
    bucket name.
    ciMediaSnapshotTemplateId String
    ID of the resource.
    createTime String
    creation time.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    snapshot CiMediaSnapshotTemplateSnapshot
    screenshot.
    templateId String
    Template ID.
    updateTime String
    update time.
    bucket string
    bucket name.
    ciMediaSnapshotTemplateId string
    ID of the resource.
    createTime string
    creation time.
    name string
    The template name only supports Chinese, English, numbers, _, - and *.
    snapshot CiMediaSnapshotTemplateSnapshot
    screenshot.
    templateId string
    Template ID.
    updateTime string
    update time.
    bucket str
    bucket name.
    ci_media_snapshot_template_id str
    ID of the resource.
    create_time str
    creation time.
    name str
    The template name only supports Chinese, English, numbers, _, - and *.
    snapshot CiMediaSnapshotTemplateSnapshotArgs
    screenshot.
    template_id str
    Template ID.
    update_time str
    update time.
    bucket String
    bucket name.
    ciMediaSnapshotTemplateId String
    ID of the resource.
    createTime String
    creation time.
    name String
    The template name only supports Chinese, English, numbers, _, - and *.
    snapshot Property Map
    screenshot.
    templateId String
    Template ID.
    updateTime String
    update time.

    Supporting Types

    CiMediaSnapshotTemplateSnapshot, CiMediaSnapshotTemplateSnapshotArgs

    Count string
    Number of screenshots, range (0 10000].
    BlackLevel 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.
    CiParam 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.
    IsCheckBlack string
    Whether to enable black screen detection true/false.
    IsCheckCount string
    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.
    PixelBlackThreshold string
    Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
    SnapshotOutMode string
    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.
    SpriteSnapshotConfig CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig
    Screenshot output configuration.
    Start string
    Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    TimeInterval 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].
    BlackLevel 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.
    CiParam 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.
    IsCheckBlack string
    Whether to enable black screen detection true/false.
    IsCheckCount string
    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.
    PixelBlackThreshold string
    Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
    SnapshotOutMode string
    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.
    SpriteSnapshotConfig CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig
    Screenshot output configuration.
    Start string
    Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    TimeInterval 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].
    blackLevel 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.
    ciParam 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.
    isCheckBlack String
    Whether to enable black screen detection true/false.
    isCheckCount String
    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.
    pixelBlackThreshold String
    Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
    snapshotOutMode String
    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.
    spriteSnapshotConfig CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig
    Screenshot output configuration.
    start String
    Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    timeInterval 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].
    blackLevel 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.
    ciParam 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.
    isCheckBlack string
    Whether to enable black screen detection true/false.
    isCheckCount string
    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.
    pixelBlackThreshold string
    Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
    snapshotOutMode string
    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.
    spriteSnapshotConfig CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig
    Screenshot output configuration.
    start string
    Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    timeInterval 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_black str
    Whether to enable black screen detection true/false.
    is_check_count str
    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_threshold str
    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_mode str
    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_config CiMediaSnapshotTemplateSnapshotSpriteSnapshotConfig
    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].
    blackLevel 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.
    ciParam 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.
    isCheckBlack String
    Whether to enable black screen detection true/false.
    isCheckCount String
    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.
    pixelBlackThreshold String
    Screenshot black screen detection parameters, Valid when IsCheckBlack=true, The threshold for judging whether a pixel is a black point, value range: [0, 255].
    snapshotOutMode String
    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.
    spriteSnapshotConfig Property Map
    Screenshot output configuration.
    start String
    Starting time, [0 video duration] in seconds, Support float format, the execution accuracy is accurate to milliseconds.
    timeInterval 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].
    CellHeight string
    Single image height Value range: [8, 4096], Unit: px.
    CellWidth 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].
    CellHeight string
    Single image height Value range: [8, 4096], Unit: px.
    CellWidth 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].
    cellHeight String
    Single image height Value range: [8, 4096], Unit: px.
    cellWidth 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].
    cellHeight string
    Single image height Value range: [8, 4096], Unit: px.
    cellWidth 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].
    cellHeight String
    Single image height Value range: [8, 4096], Unit: px.
    cellWidth 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack