tencentcloud.VodAdaptiveDynamicStreamingTemplate
Explore with Pulumi AI
Provide a resource to create a VOD adaptive dynamic streaming template.
Create VodAdaptiveDynamicStreamingTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VodAdaptiveDynamicStreamingTemplate(name: string, args: VodAdaptiveDynamicStreamingTemplateArgs, opts?: CustomResourceOptions);
@overload
def VodAdaptiveDynamicStreamingTemplate(resource_name: str,
args: VodAdaptiveDynamicStreamingTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VodAdaptiveDynamicStreamingTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
format: Optional[str] = None,
stream_infos: Optional[Sequence[VodAdaptiveDynamicStreamingTemplateStreamInfoArgs]] = None,
comment: Optional[str] = None,
disable_higher_video_bitrate: Optional[bool] = None,
disable_higher_video_resolution: Optional[bool] = None,
drm_type: Optional[str] = None,
name: Optional[str] = None,
segment_type: Optional[str] = None,
sub_app_id: Optional[float] = None,
vod_adaptive_dynamic_streaming_template_id: Optional[str] = None)
func NewVodAdaptiveDynamicStreamingTemplate(ctx *Context, name string, args VodAdaptiveDynamicStreamingTemplateArgs, opts ...ResourceOption) (*VodAdaptiveDynamicStreamingTemplate, error)
public VodAdaptiveDynamicStreamingTemplate(string name, VodAdaptiveDynamicStreamingTemplateArgs args, CustomResourceOptions? opts = null)
public VodAdaptiveDynamicStreamingTemplate(String name, VodAdaptiveDynamicStreamingTemplateArgs args)
public VodAdaptiveDynamicStreamingTemplate(String name, VodAdaptiveDynamicStreamingTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:VodAdaptiveDynamicStreamingTemplate
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 VodAdaptiveDynamicStreamingTemplateArgs
- 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 VodAdaptiveDynamicStreamingTemplateArgs
- 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 VodAdaptiveDynamicStreamingTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VodAdaptiveDynamicStreamingTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VodAdaptiveDynamicStreamingTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VodAdaptiveDynamicStreamingTemplate 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 VodAdaptiveDynamicStreamingTemplate resource accepts the following input properties:
- Format string
- Adaptive bitstream format. Valid values:
HLS
. - Stream
Infos List<VodAdaptive Dynamic Streaming Template Stream Info> - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- Comment string
- Template description. Length limit: 256 characters.
- Disable
Higher boolVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Disable
Higher boolVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Drm
Type string - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - Name string
- Template name. Length limit: 64 characters.
- Segment
Type string - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- Sub
App doubleId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- Vod
Adaptive stringDynamic Streaming Template Id - ID of the resource.
- Format string
- Adaptive bitstream format. Valid values:
HLS
. - Stream
Infos []VodAdaptive Dynamic Streaming Template Stream Info Args - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- Comment string
- Template description. Length limit: 256 characters.
- Disable
Higher boolVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Disable
Higher boolVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Drm
Type string - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - Name string
- Template name. Length limit: 64 characters.
- Segment
Type string - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- Sub
App float64Id - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- Vod
Adaptive stringDynamic Streaming Template Id - ID of the resource.
- format String
- Adaptive bitstream format. Valid values:
HLS
. - stream
Infos List<VodAdaptive Dynamic Streaming Template Stream Info> - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- comment String
- Template description. Length limit: 256 characters.
- disable
Higher BooleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable
Higher BooleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm
Type String - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - name String
- Template name. Length limit: 64 characters.
- segment
Type String - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- sub
App DoubleId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- vod
Adaptive StringDynamic Streaming Template Id - ID of the resource.
- format string
- Adaptive bitstream format. Valid values:
HLS
. - stream
Infos VodAdaptive Dynamic Streaming Template Stream Info[] - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- comment string
- Template description. Length limit: 256 characters.
- disable
Higher booleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable
Higher booleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm
Type string - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - name string
- Template name. Length limit: 64 characters.
- segment
Type string - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- sub
App numberId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- vod
Adaptive stringDynamic Streaming Template Id - ID of the resource.
- format str
- Adaptive bitstream format. Valid values:
HLS
. - stream_
infos Sequence[VodAdaptive Dynamic Streaming Template Stream Info Args] - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- comment str
- Template description. Length limit: 256 characters.
- disable_
higher_ boolvideo_ bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable_
higher_ boolvideo_ resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm_
type str - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - name str
- Template name. Length limit: 64 characters.
- segment_
type str - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- sub_
app_ floatid - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- vod_
adaptive_ strdynamic_ streaming_ template_ id - ID of the resource.
- format String
- Adaptive bitstream format. Valid values:
HLS
. - stream
Infos List<Property Map> - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- comment String
- Template description. Length limit: 256 characters.
- disable
Higher BooleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable
Higher BooleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm
Type String - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - name String
- Template name. Length limit: 64 characters.
- segment
Type String - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- sub
App NumberId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- vod
Adaptive StringDynamic Streaming Template Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VodAdaptiveDynamicStreamingTemplate resource produces the following output properties:
- Create
Time string - Creation time of template in ISO date format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Last modified time of template in ISO date format.
- Create
Time string - Creation time of template in ISO date format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Last modified time of template in ISO date format.
- create
Time String - Creation time of template in ISO date format.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Last modified time of template in ISO date format.
- create
Time string - Creation time of template in ISO date format.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Last modified time of template in ISO date format.
- create_
time str - Creation time of template in ISO date format.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Last modified time of template in ISO date format.
- create
Time String - Creation time of template in ISO date format.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Last modified time of template in ISO date format.
Look up Existing VodAdaptiveDynamicStreamingTemplate Resource
Get an existing VodAdaptiveDynamicStreamingTemplate 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?: VodAdaptiveDynamicStreamingTemplateState, opts?: CustomResourceOptions): VodAdaptiveDynamicStreamingTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
create_time: Optional[str] = None,
disable_higher_video_bitrate: Optional[bool] = None,
disable_higher_video_resolution: Optional[bool] = None,
drm_type: Optional[str] = None,
format: Optional[str] = None,
name: Optional[str] = None,
segment_type: Optional[str] = None,
stream_infos: Optional[Sequence[VodAdaptiveDynamicStreamingTemplateStreamInfoArgs]] = None,
sub_app_id: Optional[float] = None,
update_time: Optional[str] = None,
vod_adaptive_dynamic_streaming_template_id: Optional[str] = None) -> VodAdaptiveDynamicStreamingTemplate
func GetVodAdaptiveDynamicStreamingTemplate(ctx *Context, name string, id IDInput, state *VodAdaptiveDynamicStreamingTemplateState, opts ...ResourceOption) (*VodAdaptiveDynamicStreamingTemplate, error)
public static VodAdaptiveDynamicStreamingTemplate Get(string name, Input<string> id, VodAdaptiveDynamicStreamingTemplateState? state, CustomResourceOptions? opts = null)
public static VodAdaptiveDynamicStreamingTemplate get(String name, Output<String> id, VodAdaptiveDynamicStreamingTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:VodAdaptiveDynamicStreamingTemplate 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.
- Comment string
- Template description. Length limit: 256 characters.
- Create
Time string - Creation time of template in ISO date format.
- Disable
Higher boolVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Disable
Higher boolVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Drm
Type string - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - Format string
- Adaptive bitstream format. Valid values:
HLS
. - Name string
- Template name. Length limit: 64 characters.
- Segment
Type string - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- Stream
Infos List<VodAdaptive Dynamic Streaming Template Stream Info> - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- Sub
App doubleId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- Update
Time string - Last modified time of template in ISO date format.
- Vod
Adaptive stringDynamic Streaming Template Id - ID of the resource.
- Comment string
- Template description. Length limit: 256 characters.
- Create
Time string - Creation time of template in ISO date format.
- Disable
Higher boolVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Disable
Higher boolVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - Drm
Type string - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - Format string
- Adaptive bitstream format. Valid values:
HLS
. - Name string
- Template name. Length limit: 64 characters.
- Segment
Type string - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- Stream
Infos []VodAdaptive Dynamic Streaming Template Stream Info Args - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- Sub
App float64Id - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- Update
Time string - Last modified time of template in ISO date format.
- Vod
Adaptive stringDynamic Streaming Template Id - ID of the resource.
- comment String
- Template description. Length limit: 256 characters.
- create
Time String - Creation time of template in ISO date format.
- disable
Higher BooleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable
Higher BooleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm
Type String - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - format String
- Adaptive bitstream format. Valid values:
HLS
. - name String
- Template name. Length limit: 64 characters.
- segment
Type String - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- stream
Infos List<VodAdaptive Dynamic Streaming Template Stream Info> - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- sub
App DoubleId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- update
Time String - Last modified time of template in ISO date format.
- vod
Adaptive StringDynamic Streaming Template Id - ID of the resource.
- comment string
- Template description. Length limit: 256 characters.
- create
Time string - Creation time of template in ISO date format.
- disable
Higher booleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable
Higher booleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm
Type string - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - format string
- Adaptive bitstream format. Valid values:
HLS
. - name string
- Template name. Length limit: 64 characters.
- segment
Type string - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- stream
Infos VodAdaptive Dynamic Streaming Template Stream Info[] - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- sub
App numberId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- update
Time string - Last modified time of template in ISO date format.
- vod
Adaptive stringDynamic Streaming Template Id - ID of the resource.
- comment str
- Template description. Length limit: 256 characters.
- create_
time str - Creation time of template in ISO date format.
- disable_
higher_ boolvideo_ bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable_
higher_ boolvideo_ resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm_
type str - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - format str
- Adaptive bitstream format. Valid values:
HLS
. - name str
- Template name. Length limit: 64 characters.
- segment_
type str - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- stream_
infos Sequence[VodAdaptive Dynamic Streaming Template Stream Info Args] - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- sub_
app_ floatid - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- update_
time str - Last modified time of template in ISO date format.
- vod_
adaptive_ strdynamic_ streaming_ template_ id - ID of the resource.
- comment String
- Template description. Length limit: 256 characters.
- create
Time String - Creation time of template in ISO date format.
- disable
Higher BooleanVideo Bitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - disable
Higher BooleanVideo Resolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
false
,true
.false
: no,true
: yes. Default value:false
. - drm
Type String - DRM scheme type. Valid values:
SimpleAES
. If this field is an empty string, DRM will not be performed on the video. - format String
- Adaptive bitstream format. Valid values:
HLS
. - name String
- Template name. Length limit: 64 characters.
- segment
Type String - Segment type, valid when Format is HLS, optional values:
- ts: ts segment;
- fmp4: fmp4 segment; Default value: ts.
- stream
Infos List<Property Map> - List of AdaptiveStreamTemplate parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output. Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.
- sub
App NumberId - The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
- update
Time String - Last modified time of template in ISO date format.
- vod
Adaptive StringDynamic Streaming Template Id - ID of the resource.
Supporting Types
VodAdaptiveDynamicStreamingTemplateStreamInfo, VodAdaptiveDynamicStreamingTemplateStreamInfoArgs
- Audio
Vod
Adaptive Dynamic Streaming Template Stream Info Audio - Audio parameter information.
- Video
Vod
Adaptive Dynamic Streaming Template Stream Info Video - Video parameter information.
- Remove
Audio bool - Whether to remove audio stream. Valid values:
false
: no,true
: yes.false
by default. - Remove
Video bool - Whether to remove video stream. Valid values:
false
: no,true
: yes.false
by default. - Tehd
Config VodAdaptive Dynamic Streaming Template Stream Info Tehd Config - Extremely fast HD transcoding parameters.
- Audio
Vod
Adaptive Dynamic Streaming Template Stream Info Audio - Audio parameter information.
- Video
Vod
Adaptive Dynamic Streaming Template Stream Info Video - Video parameter information.
- Remove
Audio bool - Whether to remove audio stream. Valid values:
false
: no,true
: yes.false
by default. - Remove
Video bool - Whether to remove video stream. Valid values:
false
: no,true
: yes.false
by default. - Tehd
Config VodAdaptive Dynamic Streaming Template Stream Info Tehd Config - Extremely fast HD transcoding parameters.
- audio
Vod
Adaptive Dynamic Streaming Template Stream Info Audio - Audio parameter information.
- video
Vod
Adaptive Dynamic Streaming Template Stream Info Video - Video parameter information.
- remove
Audio Boolean - Whether to remove audio stream. Valid values:
false
: no,true
: yes.false
by default. - remove
Video Boolean - Whether to remove video stream. Valid values:
false
: no,true
: yes.false
by default. - tehd
Config VodAdaptive Dynamic Streaming Template Stream Info Tehd Config - Extremely fast HD transcoding parameters.
- audio
Vod
Adaptive Dynamic Streaming Template Stream Info Audio - Audio parameter information.
- video
Vod
Adaptive Dynamic Streaming Template Stream Info Video - Video parameter information.
- remove
Audio boolean - Whether to remove audio stream. Valid values:
false
: no,true
: yes.false
by default. - remove
Video boolean - Whether to remove video stream. Valid values:
false
: no,true
: yes.false
by default. - tehd
Config VodAdaptive Dynamic Streaming Template Stream Info Tehd Config - Extremely fast HD transcoding parameters.
- audio
Vod
Adaptive Dynamic Streaming Template Stream Info Audio - Audio parameter information.
- video
Vod
Adaptive Dynamic Streaming Template Stream Info Video - Video parameter information.
- remove_
audio bool - Whether to remove audio stream. Valid values:
false
: no,true
: yes.false
by default. - remove_
video bool - Whether to remove video stream. Valid values:
false
: no,true
: yes.false
by default. - tehd_
config VodAdaptive Dynamic Streaming Template Stream Info Tehd Config - Extremely fast HD transcoding parameters.
- audio Property Map
- Audio parameter information.
- video Property Map
- Video parameter information.
- remove
Audio Boolean - Whether to remove audio stream. Valid values:
false
: no,true
: yes.false
by default. - remove
Video Boolean - Whether to remove video stream. Valid values:
false
: no,true
: yes.false
by default. - tehd
Config Property Map - Extremely fast HD transcoding parameters.
VodAdaptiveDynamicStreamingTemplateStreamInfoAudio, VodAdaptiveDynamicStreamingTemplateStreamInfoAudioArgs
- Bitrate double
- Audio stream bitrate in Kbps. Value range:
0
and[26, 256]
. If the value is0
, the bitrate of the audio stream will be the same as that of the original audio. - Codec string
- Audio stream encoder. Valid value are:
libfdk_aac
andlibmp3lame
. whilelibfdk_aac
is recommended. - Sample
Rate double - Audio stream sample rate. Valid values:
32000
,44100
,48000
Hz. - Audio
Channel string - Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
- Bitrate float64
- Audio stream bitrate in Kbps. Value range:
0
and[26, 256]
. If the value is0
, the bitrate of the audio stream will be the same as that of the original audio. - Codec string
- Audio stream encoder. Valid value are:
libfdk_aac
andlibmp3lame
. whilelibfdk_aac
is recommended. - Sample
Rate float64 - Audio stream sample rate. Valid values:
32000
,44100
,48000
Hz. - Audio
Channel string - Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
- bitrate Double
- Audio stream bitrate in Kbps. Value range:
0
and[26, 256]
. If the value is0
, the bitrate of the audio stream will be the same as that of the original audio. - codec String
- Audio stream encoder. Valid value are:
libfdk_aac
andlibmp3lame
. whilelibfdk_aac
is recommended. - sample
Rate Double - Audio stream sample rate. Valid values:
32000
,44100
,48000
Hz. - audio
Channel String - Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
- bitrate number
- Audio stream bitrate in Kbps. Value range:
0
and[26, 256]
. If the value is0
, the bitrate of the audio stream will be the same as that of the original audio. - codec string
- Audio stream encoder. Valid value are:
libfdk_aac
andlibmp3lame
. whilelibfdk_aac
is recommended. - sample
Rate number - Audio stream sample rate. Valid values:
32000
,44100
,48000
Hz. - audio
Channel string - Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
- bitrate float
- Audio stream bitrate in Kbps. Value range:
0
and[26, 256]
. If the value is0
, the bitrate of the audio stream will be the same as that of the original audio. - codec str
- Audio stream encoder. Valid value are:
libfdk_aac
andlibmp3lame
. whilelibfdk_aac
is recommended. - sample_
rate float - Audio stream sample rate. Valid values:
32000
,44100
,48000
Hz. - audio_
channel str - Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
- bitrate Number
- Audio stream bitrate in Kbps. Value range:
0
and[26, 256]
. If the value is0
, the bitrate of the audio stream will be the same as that of the original audio. - codec String
- Audio stream encoder. Valid value are:
libfdk_aac
andlibmp3lame
. whilelibfdk_aac
is recommended. - sample
Rate Number - Audio stream sample rate. Valid values:
32000
,44100
,48000
Hz. - audio
Channel String - Audio channel system. Valid values: mono, dual, stereo. Default value: dual.
VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfig, VodAdaptiveDynamicStreamingTemplateStreamInfoTehdConfigArgs
- Type string
- Extreme high-speed HD type, available values:
- TEHD-100: super high definition-100th;
- OFF: turn off Ultra High definition.
- Max
Video doubleBitrate - Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
- Type string
- Extreme high-speed HD type, available values:
- TEHD-100: super high definition-100th;
- OFF: turn off Ultra High definition.
- Max
Video float64Bitrate - Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
- type String
- Extreme high-speed HD type, available values:
- TEHD-100: super high definition-100th;
- OFF: turn off Ultra High definition.
- max
Video DoubleBitrate - Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
- type string
- Extreme high-speed HD type, available values:
- TEHD-100: super high definition-100th;
- OFF: turn off Ultra High definition.
- max
Video numberBitrate - Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
- type str
- Extreme high-speed HD type, available values:
- TEHD-100: super high definition-100th;
- OFF: turn off Ultra High definition.
- max_
video_ floatbitrate - Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
- type String
- Extreme high-speed HD type, available values:
- TEHD-100: super high definition-100th;
- OFF: turn off Ultra High definition.
- max
Video NumberBitrate - Video bitrate limit, which is valid when Type specifies extreme speed HD type. If you leave it empty or enter 0, there is no video bitrate limit.
VodAdaptiveDynamicStreamingTemplateStreamInfoVideo, VodAdaptiveDynamicStreamingTemplateStreamInfoVideoArgs
- Bitrate double
- Bitrate of video stream in Kbps. Value range:
0
and[128, 35000]
. If the value is0
, the bitrate of the video will be the same as that of the source video. - Codec string
- Video stream encoder. Valid values:
libx264
,libx265
,av1
.libx264
: H.264,libx265
: H.265,av1
: AOMedia Video 1. Currently, a resolution within 640x480 must be specified forH.265
. and theav1
container only supports mp4. - Fps double
- Video frame rate in Hz. Value range:
[0, 60]
. If the value is0
, the frame rate will be the same as that of the source video. - Codec
Tag string - Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:
- hvc1: stands for hvc1 tag;
- hev1: stands for the hev1 tag; Default value: hvc1.
- Fill
Type string - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
stretch
: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer;black
: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained. - Gop double
- Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
- Height double
- Maximum value of the height (or short side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained. - Preserve
Hdr stringSwitch - Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:
- ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
- OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
- Resolution
Adaptive bool - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
the height. Default value:true
. Note: this field may return null, indicating that no valid values can be obtained. - Vcrf double
- Video constant bit rate control factor, value range is [1,51].
Note:
- If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
- This field is required when the video stream encoding format is H.266. The recommended value is 28;
- If there are no special requirements, it is not recommended to specify this parameter.
- Width double
- Maximum value of the width (or long side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained.
- Bitrate float64
- Bitrate of video stream in Kbps. Value range:
0
and[128, 35000]
. If the value is0
, the bitrate of the video will be the same as that of the source video. - Codec string
- Video stream encoder. Valid values:
libx264
,libx265
,av1
.libx264
: H.264,libx265
: H.265,av1
: AOMedia Video 1. Currently, a resolution within 640x480 must be specified forH.265
. and theav1
container only supports mp4. - Fps float64
- Video frame rate in Hz. Value range:
[0, 60]
. If the value is0
, the frame rate will be the same as that of the source video. - Codec
Tag string - Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:
- hvc1: stands for hvc1 tag;
- hev1: stands for the hev1 tag; Default value: hvc1.
- Fill
Type string - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
stretch
: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer;black
: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained. - Gop float64
- Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
- Height float64
- Maximum value of the height (or short side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained. - Preserve
Hdr stringSwitch - Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:
- ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
- OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
- Resolution
Adaptive bool - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
the height. Default value:true
. Note: this field may return null, indicating that no valid values can be obtained. - Vcrf float64
- Video constant bit rate control factor, value range is [1,51].
Note:
- If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
- This field is required when the video stream encoding format is H.266. The recommended value is 28;
- If there are no special requirements, it is not recommended to specify this parameter.
- Width float64
- Maximum value of the width (or long side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained.
- bitrate Double
- Bitrate of video stream in Kbps. Value range:
0
and[128, 35000]
. If the value is0
, the bitrate of the video will be the same as that of the source video. - codec String
- Video stream encoder. Valid values:
libx264
,libx265
,av1
.libx264
: H.264,libx265
: H.265,av1
: AOMedia Video 1. Currently, a resolution within 640x480 must be specified forH.265
. and theav1
container only supports mp4. - fps Double
- Video frame rate in Hz. Value range:
[0, 60]
. If the value is0
, the frame rate will be the same as that of the source video. - codec
Tag String - Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:
- hvc1: stands for hvc1 tag;
- hev1: stands for the hev1 tag; Default value: hvc1.
- fill
Type String - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
stretch
: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer;black
: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained. - gop Double
- Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
- height Double
- Maximum value of the height (or short side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained. - preserve
Hdr StringSwitch - Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:
- ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
- OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
- resolution
Adaptive Boolean - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
the height. Default value:true
. Note: this field may return null, indicating that no valid values can be obtained. - vcrf Double
- Video constant bit rate control factor, value range is [1,51].
Note:
- If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
- This field is required when the video stream encoding format is H.266. The recommended value is 28;
- If there are no special requirements, it is not recommended to specify this parameter.
- width Double
- Maximum value of the width (or long side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained.
- bitrate number
- Bitrate of video stream in Kbps. Value range:
0
and[128, 35000]
. If the value is0
, the bitrate of the video will be the same as that of the source video. - codec string
- Video stream encoder. Valid values:
libx264
,libx265
,av1
.libx264
: H.264,libx265
: H.265,av1
: AOMedia Video 1. Currently, a resolution within 640x480 must be specified forH.265
. and theav1
container only supports mp4. - fps number
- Video frame rate in Hz. Value range:
[0, 60]
. If the value is0
, the frame rate will be the same as that of the source video. - codec
Tag string - Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:
- hvc1: stands for hvc1 tag;
- hev1: stands for the hev1 tag; Default value: hvc1.
- fill
Type string - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
stretch
: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer;black
: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained. - gop number
- Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
- height number
- Maximum value of the height (or short side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained. - preserve
Hdr stringSwitch - Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:
- ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
- OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
- resolution
Adaptive boolean - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
the height. Default value:true
. Note: this field may return null, indicating that no valid values can be obtained. - vcrf number
- Video constant bit rate control factor, value range is [1,51].
Note:
- If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
- This field is required when the video stream encoding format is H.266. The recommended value is 28;
- If there are no special requirements, it is not recommended to specify this parameter.
- width number
- Maximum value of the width (or long side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained.
- bitrate float
- Bitrate of video stream in Kbps. Value range:
0
and[128, 35000]
. If the value is0
, the bitrate of the video will be the same as that of the source video. - codec str
- Video stream encoder. Valid values:
libx264
,libx265
,av1
.libx264
: H.264,libx265
: H.265,av1
: AOMedia Video 1. Currently, a resolution within 640x480 must be specified forH.265
. and theav1
container only supports mp4. - fps float
- Video frame rate in Hz. Value range:
[0, 60]
. If the value is0
, the frame rate will be the same as that of the source video. - codec_
tag str - Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:
- hvc1: stands for hvc1 tag;
- hev1: stands for the hev1 tag; Default value: hvc1.
- fill_
type str - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
stretch
: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer;black
: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained. - gop float
- Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
- height float
- Maximum value of the height (or short side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained. - preserve_
hdr_ strswitch - Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:
- ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
- OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
- resolution_
adaptive bool - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
the height. Default value:true
. Note: this field may return null, indicating that no valid values can be obtained. - vcrf float
- Video constant bit rate control factor, value range is [1,51].
Note:
- If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
- This field is required when the video stream encoding format is H.266. The recommended value is 28;
- If there are no special requirements, it is not recommended to specify this parameter.
- width float
- Maximum value of the width (or long side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained.
- bitrate Number
- Bitrate of video stream in Kbps. Value range:
0
and[128, 35000]
. If the value is0
, the bitrate of the video will be the same as that of the source video. - codec String
- Video stream encoder. Valid values:
libx264
,libx265
,av1
.libx264
: H.264,libx265
: H.265,av1
: AOMedia Video 1. Currently, a resolution within 640x480 must be specified forH.265
. and theav1
container only supports mp4. - fps Number
- Video frame rate in Hz. Value range:
[0, 60]
. If the value is0
, the frame rate will be the same as that of the source video. - codec
Tag String - Encoding label, valid only if the encoding format of the video stream is H.265 encoding. Available values:
- hvc1: stands for hvc1 tag;
- hev1: stands for the hev1 tag; Default value: hvc1.
- fill
Type String - Fill type. Fill refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
stretch
: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot shorter or longer;black
: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks. Default value: black. Note: this field may return null, indicating that no valid values can be obtained. - gop Number
- Interval between Keyframe I frames, value range: 0 and [1, 100000], unit: number of frames. When you fill in 0 or leave it empty, the gop length is automatically set.
- height Number
- Maximum value of the height (or short side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained. - preserve
Hdr StringSwitch - Whether the transcoding output still maintains HDR when the original video is HDR (High Dynamic Range). Value range:
- ON: if the original file is HDR, the transcoding output remains HDR;, otherwise the transcoding output is SDR (Standard Dynamic Range);
- OFF: regardless of whether the original file is HDR or SDR, the transcoding output is SDR; Default value: OFF.
- resolution
Adaptive Boolean - Resolution adaption. Valid values:
true
,false
.true
: enabled. In this case,width
represents the long side of a video, whileheight
the short side;false
: disabled. In this case,width
represents the width of a video, whileheight
the height. Default value:true
. Note: this field may return null, indicating that no valid values can be obtained. - vcrf Number
- Video constant bit rate control factor, value range is [1,51].
Note:
- If this parameter is specified, the bitrate control method of CRF will be used for transcoding (the video bitrate will no longer take effect);
- This field is required when the video stream encoding format is H.266. The recommended value is 28;
- If there are no special requirements, it is not recommended to specify this parameter.
- width Number
- Maximum value of the width (or long side) of a video stream in px. Value range:
0
and[128, 4096]
. If bothwidth
andheight
are0
, the resolution will be the same as that of the source video; Ifwidth
is0
, butheight
is not0
,width
will be proportionally scaled; Ifwidth
is not0
, butheight
is0
,height
will be proportionally scaled; If bothwidth
andheight
are not0
, the custom resolution will be used. Default value:0
. Note: this field may return null, indicating that no valid values can be obtained.
Import
VOD adaptive dynamic streaming template can be imported using the id($subAppId#$templateId), e.g.
$ pulumi import tencentcloud:index/vodAdaptiveDynamicStreamingTemplate:VodAdaptiveDynamicStreamingTemplate foo $subAppId#$templateId
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.