REST Resource: projects.locations.videoThumbnails
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रिसॉर्स: VideoThumbnail
वीडियो के थंबनेल के बारे में जानकारी.
फ़ील्ड |
name |
string
वीडियो के थंबनेल का नाम, जो "projects/*/videoThumbnails/**" फ़ॉर्मैट में होता है. उदाहरण के लिए, "projects/earthengine-legacy/videoThumbnails/".
|
expression |
object (Expression )
कैलकुलेट करने के लिए एक्सप्रेशन. यह किसी ImageCollection के तौर पर आकलन किया जाना चाहिए.
|
videoOptions |
object (VideoOptions )
ऐनिमेशन के विकल्प.
|
fileFormat |
enum (VideoFileFormat )
आउटपुट कोडिंग, जिसमें वीडियो का थंबनेल जनरेट किया जाएगा. फ़िलहाल, सिर्फ़ GIF फ़ॉर्मैट का इस्तेमाल किया जा सकता है.
|
grid |
object (PixelGrid )
वैकल्पिक पिक्सल ग्रिड, जिसमें यह बताया गया है कि expression की मदद से कैलकुलेट की गई इमेज को फिर से प्रोजेक्ट और क्लिप कैसे किया जाता है.
|
VideoOptions
वीडियो जनरेट करने के बुनियादी विकल्प.
JSON के काेड में दिखाना |
{
"framesPerSecond": number,
"maxFrames": integer,
"maxPixelsPerFrame": string
} |
फ़ील्ड |
framesPerSecond |
number
एक्सपोर्ट किए गए वीडियो का फ़्रेम रेट. वैल्यू, 0.1 से 120 के बीच होनी चाहिए. डिफ़ॉल्ट रूप से, यह वैल्यू 5.0 होती है.
|
maxFrames |
integer
कैलकुलेट और एक्सपोर्ट करने के लिए, वीडियो फ़्रेम की ज़्यादा से ज़्यादा संख्या. यह एक सुरक्षा सुविधा है, ताकि गलती से भी आपके ज़रूरत से ज़्यादा डेटा एक्सपोर्ट न हो. डिफ़ॉल्ट वैल्यू 1,000 फ़्रेम होती है. हालांकि, इस सीमा को बढ़ाने या घटाने के लिए, वैल्यू को साफ़ तौर पर सेट किया जा सकता है.
|
maxPixelsPerFrame |
string (Int64Value format)
हर फ़्रेम में, कैलकुलेट और एक्सपोर्ट करने के लिए ज़्यादा से ज़्यादा पिक्सल. यह एक सुरक्षा सुविधा है, ताकि गलती से भी आपके ज़रूरत से ज़्यादा डेटा एक्सपोर्ट न हो. डिफ़ॉल्ट वैल्यू 1e8 पिक्सल होती है. हालांकि, इस सीमा को बढ़ाने या कम करने के लिए, वैल्यू को साफ़ तौर पर सेट किया जा सकता है.
|
तरीके |
|
एक ऐसा आईडी बनाता है जिसका इस्तेमाल, किसी कलेक्शन की कई इमेज के ऐनिमेशन वाली इमेज को रेंडर करने के लिए किया जा सकता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eVideoThumbnail resources represent animated thumbnails generated from Earth Engine image collections.\u003c/p\u003e\n"],["\u003cp\u003eThese thumbnails are customizable with options like frame rate, maximum frames, and output format (GIF is currently supported).\u003c/p\u003e\n"],["\u003cp\u003eVideoThumbnail creation involves specifying an image collection expression, animation options, and an optional pixel grid for reprojection and clipping.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the expression to compute the image collection, set the video options such as frames per second and maximum frames, and specify the output video format like GIF or MP4.\u003c/p\u003e\n"]]],["This describes video thumbnail creation using a JSON-based configuration. Key actions include defining a `name`, an `expression` that evaluates to an ImageCollection, and `VideoOptions` such as `framesPerSecond`, `maxFrames`, and `maxPixelsPerFrame`. The `fileFormat` (GIF, MP4, VP9) for output and an optional `grid` for image adjustments can also be set. Methods allow creation of an ID to render animated image sequences from image collection, with GIF currently the only supported output.\n"],null,["# REST Resource: projects.locations.videoThumbnails\n\nResource: VideoThumbnail\n------------------------\n\nInformation about a video thumbnail.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": { object (/earth-engine/reference/rest/v1alpha/Expression) }, \"videoOptions\": { object (/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat), \"grid\": { object (/earth-engine/reference/rest/v1alpha/PixelGrid) } } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name representing the video thumbnail, of the form \"projects/\\*/videoThumbnails/\\*\\*\" (e.g. \"projects/earthengine-legacy/videoThumbnails/\"). |\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1alpha/Expression)`)` The expression to compute. Must evaluate to an ImageCollection. |\n| `videoOptions` | `object (`[VideoOptions](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions)`)` Options for the animation. |\n| `fileFormat` | `enum (`[VideoFileFormat](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat)`)` The output encoding in which to generate the resulting video thumbnail. Currently only GIF is supported. |\n| `grid` | `object (`[PixelGrid](/earth-engine/reference/rest/v1alpha/PixelGrid)`)` An optional pixel grid describing how the images computed by `expression` are reprojected and clipped. |\n\n### VideoOptions\n\nBasic options for generating videos.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------|\n| ``` { \"framesPerSecond\": number, \"maxFrames\": integer, \"maxPixelsPerFrame\": string } ``` |\n\n| Fields ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `framesPerSecond` | `number` The frame rate of the exported video. Must be a value between 0.1 and 120. Defaults to 5.0. |\n| `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. |\n| `maxPixelsPerFrame` | `string (`[Int64Value](https://developers.google.com/discovery/v1/type-format)` 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. |\n\n### VideoFileFormat\n\nSelects a video file format in which to encode a sequence of images.\n\n| Enums ||\n|---------------------------------|------------------------|\n| `VIDEO_FILE_FORMAT_UNSPECIFIED` | Unspecified. |\n| `MP4` | MPEG-4 Part 14 format. |\n| `GIF` | Animated GIF. |\n| `VP9` | WEBM/VP9 |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| ### [create](/earth-engine/reference/rest/v1alpha/projects.locations.videoThumbnails/create) | Creates an ID that can be used to render an image containing an animation of multiple images from a collection. |"]]