| Parameter | Type | Description | Example |
|---|---|---|---|
| object | The information about the frames captured, sprites, or animated images. | ||
| Sprites | array<object> | The sprites. | |
| object | The information about the sprite. | ||
| ScaleType | string | The resizing mode. Valid values:
| crop |
| StartTime | double | The time in seconds at which frame capturing starts. The default value is 0, which indicates that frame capturing starts at the beginning of the video. | 0 |
| TileHeight | integer | The number of small images in each column. Default value: 6. | 6 |
| URI | string | The URI of the sprite in Object Storage Service (OSS). The OSS URI follows the oss://bucket/object format, where bucket is the name of the bucket in the same region as the current project and object is the path of the object with the extension included. | oss://test-bucket/sprites |
| ScaleWidth | float | The width of individual small images. The default value is 1. The value can be an integer or a decimal.
| 1280 |
| Pad | integer | The padding between small images. Default value: 2. | 2 |
| Format | string | The format of the sprite. Valid values:
| jpg |
| Number | integer | The number of small images in the sprite. The default value is 0, which indicates that frames are captured until the end of the video. | 0 |
| ScaleHeight | float | The height of individual small images. The default value is 1. The value can be an integer or a decimal.
| 960 |
| TileWidth | integer | The number of small images in each row. Default value: 6. | 6 |
| Interval | double | The time interval of frame capturing in seconds. | 1 |
| Margin | integer | The margin between the small images and the edges of the sprite. Default value: 2. | 2 |
| Animations | array<object> | The animated images. | |
| object | The information about the animated image. | ||
| FrameRate | double | The frame rate of the animated image. You can use this parameter together with the Interval parameter to slow down the animation. | 25 |
| Format | string | The format of the animated image. Valid values:
| gif |
| Number | integer | The number of extracted frames. The default value is 0, which indicates that frames are extracted until the end of the video. | 100 |
| ScaleType | string | The resizing mode. Valid values:
| crop |
| StartTime | double | The start time for extracting frames. Unit: seconds. Default value: 0. | 0 |
| Height | double | The height of the animated image. By default, the animated image has the same height as the source video. The value of the parameter can be an integer or a decimal.
| 960 |
| URI | string | The URI of the animated image. The OSS URI follows the oss://bucket/object format, where bucket is the name of the bucket in the same region as the current project and object is the path of the object with the extension included. | oss://test-bucket/animations |
| Width | double | The width of the animated image. By default, the animated image has the same width as the source video. The value of the parameter can be an integer or a decimal.
| 1280 |
| Interval | double | The time interval for extracting frames. Unit: seconds. | 0.5 |
| Snapshots | array<object> | The frames. | |
| object | The information about the frame. | ||
| Format | string | The format of the frame. Valid values:
| jpg |
| Number | integer | The number of frames. The default value is 0, which indicates that frames are captured until the end of the video. | 10 |
| ScaleType | string | The resizing mode. Valid values:
| crop |
| StartTime | double | The time in seconds at which frame capturing starts. The default value is 0, which indicates that frame capturing starts at the beginning of the video. | 0 |
| Height | double | The height of the frame image. By default, the image has the same height as the source video. The value of the parameter can be an integer or a decimal.
| 960 |
| URI | string | The OSS URI of the frame. The OSS URI follows the oss://bucket/object format, where bucket is the name of the bucket in the same region as the current project and object is the path of the object with the extension included. | oss://test-bucket/snapshots |
| Width | double | The width of the frame image. By default, the image has the same width as the source video. The value of the parameter can be an integer or a decimal.
| 1280 |
| Interval | double | The time interval of frame capturing in seconds. | 0.5 |