REST Resource: projects.locations.videoThumbnails

Resource: VideoThumbnail

Information about a video thumbnail.

JSON representation
{
  "name": string,
  "expression": {
    object (Expression)
  },
  "videoOptions": {
    object (VideoOptions)
  },
  "fileFormat": enum (VideoFileFormat),
  "grid": {
    object (PixelGrid)
  }
}
Fields
name

string

The resource name representing the video thumbnail, of the form "projects/*/videoThumbnails/**" (e.g. "projects/earthengine-legacy/videoThumbnails/").

expression

object (Expression)

The expression to compute. Must evaluate to an ImageCollection.

videoOptions

object (VideoOptions)

Options for the animation.

fileFormat

enum (VideoFileFormat)

The output encoding in which to generate the resulting video thumbnail. Currently only GIF is supported.

grid

object (PixelGrid)

An optional pixel grid describing how the images computed by expression are reprojected and clipped.

VideoOptions

Basic options for generating videos.

JSON representation
{
  "framesPerSecond": number,
  "maxFrames": integer,
  "maxPixelsPerFrame": string
}
Fields
framesPerSecond

number

The frame rate of the exported video. Must be a value between 0.1 and 120. Defaults to 5.0.

maxFrames

integer

The maximum number of video frames to compute and export. This is a safety guard to prevent you from accidentally starting a larger export than you had intended. The default value is 1000 frames, but you can set the value explicitly to raise or lower this limit.

maxPixelsPerFrame

string (Int64Value format)

The maximum number of pixels to compute and export per frame. This is a safety guard to prevent you from accidentally starting a larger export than you had intended. The default value is 1e8 pixels, but you can set the value explicitly to raise or lower this limit.

VideoFileFormat

Selects a video file format in which to encode a sequence of images.

Enums
VIDEO_FILE_FORMAT_UNSPECIFIED Unspecified.
MP4 MPEG-4 Part 14 format.
GIF Animated GIF.
VP9 WEBM/VP9

Methods

create

Creates an ID that can be used to render an image containing an animation of multiple images from a collection.