Todas as amostras de código da API Transcoder

This page contains code samples for Transcoder API. To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.

Create a job template

Create a transcoding job template to define the job configuration.

View in documentation

Create a job that generates a spritesheet with a fixed number of images

Create a transcoding job that generates a spritesheet of video frames. You define the number of images (rows x columns) in the spritesheet.

Create a job that generates a spritesheet with a variable number of images

Create a transcoding job that generates a spritesheet of video frames. You define how often to capture a video frame image from the output video.

Create a job using a preset

Create a transcoding job using a preset. A preset is similar to a job template but contains system-defined default values instead of user-defined default values.

View in documentation

Create a job using a template

Create a transcoding job based on a predefined job template.

View in documentation

Create a job using an ad-hoc configuration

Create a transcoding job by defining the values for the job configuration rather than referencing a job template or preset.

View in documentation

Create a job with a static overlay

Create a transcoding job with an overlay. The overlay consists of a static JPEG image that is inserted on top of the output video.

View in documentation

Create a job with an animated overlay

Create a transcoding job with an overlay. The overlay consists of a JPEG image that is inserted on top of the output video. The overlay can fade in or fade out.

View in documentation

Delete a job template

Delete a transcoding job template.

View in documentation

Get a job

Get the details for a specific transcoding job.

View in documentation

Get a job template

Get the details for a specific transcoding job template.

View in documentation

Get the job state

Get the job state for a specific transcoding job.

List job templates

List all of the transcoding job templates for a given location.

View in documentation

List jobs

List all of the transcoding jobs for a given location.

View in documentation