Sprite Sheet Response
Sprite sheet configuration.
Constructors
Properties
The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit.
End time in seconds, relative to the output file timeline. When end_time_offset
is not specified, the sprites are generated until the end of the output file.
File name prefix for the generated sprite sheets. Each sprite sheet has an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as sprite_sheet0000000123.jpeg
.
The height of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_height_pixels field or the SpriteSheet.sprite_width_pixels field, but not both (the API will automatically calculate the missing field). For portrait videos that contain horizontal ASR and rotation metadata, provide the height, in pixels, per the horizontal ASR. The API calculates the width per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
The width of sprite in pixels. Must be an even integer. To preserve the source aspect ratio, set the SpriteSheet.sprite_width_pixels field or the SpriteSheet.sprite_height_pixels field, but not both (the API will automatically calculate the missing field). For portrait videos that contain horizontal ASR and rotation metadata, provide the width, in pixels, per the horizontal ASR. The API calculates the height per the horizontal ASR. The API detects any rotation metadata and swaps the requested height and width for the output.
Start time in seconds, relative to the output file timeline. Determines the first sprite to pick. The default is 0s
.
Total number of sprites. Create the specified number of sprites distributed evenly across the timeline of the output media. The default is 100.