create_video
- create_video(
attribute: string,
begin: string,
duration_seconds: number,
end: string,
frames_per_second: number,
style: string,
path: string,
style_parameters: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateVideoResponse>Parameters
- attribute: string
The animated attribute to map to the video’s frames. Must be present in the LAYERS specified for the visualization. This is often a time-related field but may be any numeric type.
- begin: string
The start point for the video. Accepts an expression evaluable over the
attribute. - duration_seconds: number
Seconds of video to produce.
- end: string
The end point for the video. Accepts an expression evaluable over the
attribute. - frames_per_second: number
The presentation frame rate of the encoded video in frames per second.
- style: string
The name of the visualize mode; should correspond to the schema used for the
style_parametersfield. - path: string
Fully-qualified KiFS path. Write access is required. A file must not exist at that path, unless replace_if_exists is true.
- style_parameters: string
A string containing the JSON-encoded visualize request. Must correspond to the visualize mode specified in the
stylefield. Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateVideoResponse>
Promise<Types.CreateVideoResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:7392
- attribute: string
create_video_request
- create_video_request(
request: CreateVideoRequest,
callback?: GPUdbCallback,
): Promise<CreateVideoResponse>Creates a job to generate a sequence of raster images that visualize data over a specified time.
Parameters
- request: CreateVideoRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateVideoResponse>
Promise<Types.CreateVideoResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:7354
- request: CreateVideoRequest
Creates a job to generate a sequence of raster images that visualize data over a specified time.