Export.video.toCloudStorage
Creates a batch task to export an ImageCollection as a video to Google Cloud Storage. The collection must only contain RGB images. Tasks can be started from the Tasks tab. "crsTransform", "scale", and "dimensions" are mutually exclusive.
Usage | Returns |
---|
Export.video.toCloudStorage(collection, description, bucket, fileNamePrefix, framesPerSecond, dimensions, region, scale, crs, crsTransform, maxPixels, maxFrames, priority) | |
Argument | Type | Details |
---|
collection | ImageCollection | The image collection to export. |
description | String, optional | A human-readable name of the task. Defaults to "myExportVideoTask". |
bucket | String, optional | The Cloud Storage destination bucket. |
fileNamePrefix | String, optional | The string used as the output's prefix. A trailing "/" indicates a path. Defaults to the description. |
framesPerSecond | Number, optional | The framerate of the exported video. Must be a value between 0.1 and 100. Defaults to 1. |
dimensions | Number|String, optional | The dimensions to use for the exported image. Takes either a single positive integer as the maximum dimension or
"WIDTHxHEIGHT" where WIDTH and HEIGHT are each positive integers. |
region | Geometry.LinearRing|Geometry.Polygon|String, optional | A LinearRing, Polygon, or coordinates representing region to export. These may be specified as the Geometry objects or coordinates serialized as a string. |
scale | Number, optional | Resolution in meters per pixel. |
crs | String, optional | CRS to use for the exported image. Defaults to the Google Maps Mercator projection, SR-ORG:6627. |
crsTransform | String, optional | Affine transform to use for the exported image. Requires "crs" to be defined. |
maxPixels | Number, optional | Restrict the number of pixels in the export. By default, you will see an error if the export exceeds 1e8 pixels. Setting this value explicitly allows one to raise or lower this limit. |
maxFrames | Number, optional | Set the maximum number of frames to export. By default, a maximum of 1000 frames may be exported. By setting this explicitly, you may raise or lower this limit. |
priority | Number, optional | The priority of the task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-06 UTC.
[null,null,["Last updated 2024-03-06 UTC."],[[["Exports an ImageCollection containing only RGB images as a video to Google Cloud Storage."],["Enables customization of video parameters like frames per second, dimensions, region, and resolution."],["Allows setting a custom file name prefix and description for easier management in Cloud Storage."],["Offers control over export limits for pixels and frames to manage processing resources."],["Utilizes a task-based system, allowing users to initiate and monitor exports through the Tasks tab."]]],["This function exports an ImageCollection as a video to Google Cloud Storage. It requires an RGB ImageCollection and starts as a batch task. Key actions involve specifying the `collection`, destination `bucket`, `fileNamePrefix`, and `framesPerSecond`. Optional parameters include `dimensions`, `region`, `scale`, `crs`, `crsTransform`, `maxPixels`, `maxFrames`, and `priority`. The parameters `crsTransform`, `scale`, and `dimensions` are mutually exclusive, with default values and limitations for several arguments.\n"]]