- NAME
-
- gcloud transcoder jobs create - create Transcoder jobs
- SYNOPSIS
-
-
gcloud transcoder jobs create[--batch-mode-priority=BATCH_MODE_PRIORITY] [--input-uri=INPUT_URI] [--labels=[KEY=VALUE, …]] [--location=LOCATION] [--mode=MODE] [--optimization=OPTIMIZATION] [--output-uri=OUTPUT_URI] [--file=FILE|--json=JSON|--template-id=TEMPLATE_ID] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Create Transcoder jobs.
- EXAMPLES
- To create a transcoder job with default template, input URI, and output URI:
gcloud transcoder jobs create --location = us-central1 --input-uri = "gs://bucket/input.mp4" --output-uri = "gs://bucket/output/"To create a transcoder job with template id, input URI, and output URI:
gcloud transcoder jobs create --location = us-central1 --input-uri = "gs://bucket/input.mp4" --output-uri = "gs://bucket/output/" --template-id = my-templateTo create a transcoder job with json format configuration:
gcloud transcoder jobs create --location = us-central1 --json = "config: json-format"To create a transcoder job with json format configuration file:
gcloud transcoder jobs create --location = us-central1 --file = "config.json"To create a transcoder job with labels:
gcloud transcoder jobs create --location = us-central1 --file = "config.json" --labels = key = valueTo create a transcoder job in batch mode:
gcloud transcoder jobs create --location = us-central1 --file = "config.json" --mode = PROCESSING_MODE_BATCHTo create a transcoder job in batch mode with priority:
gcloud transcoder jobs create --location = us-central1 --file = "config.json" --mode = PROCESSING_MODE_BATCH --batch-mode-priority = 3To create a transcoder job with optimizations disabled:
gcloud transcoder jobs create --location = us-central1 --file = "config.json" --optimization = DISABLED - FLAGS
-
-
--batch-mode-priority=BATCH_MODE_PRIORITY - Processing priority of a batch mode transcoder job. This value will override batch mode priority in job config.
-
--input-uri=INPUT_URI - Google Cloud Storage URI. This value will override input URI in job config.
-
--labels=[KEY=VALUE,…] - List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (
-), underscores (_), lowercase characters, and numbers. Values must contain only hyphens (-), underscores (_), lowercase characters, and numbers. - Location resource - Transcoder location This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
To set the
projectattribute:- provide the argument
--locationon the command line with a fully specified name; - set the property
transcoder/locationwith a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
- provide the argument
-
--location=LOCATION - ID of the location or fully qualified identifier for the location.
To set the
locationattribute:- provide the argument
--locationon the command line; - set the property
transcoder/location.
- provide the argument
-
--mode=MODE - Processing mode of transcode job. This value will override mode in job config.
MODEmust be one of:PROCESSING_MODE_INTERACTIVE,PROCESSING_MODE_BATCH. -
--optimization=OPTIMIZATION - Optimization strategy of transcode job. This value will override optimization in
job config.
OPTIMIZATIONmust be one of:AUTODETECT,DISABLED. -
--output-uri=OUTPUT_URI - Google Cloud Storage directory URI (followed by a trailing forward slash). This value will override output URI in job config.
- At most one of these can be specified:
-
--file=FILE - Path to job config.
-
--json=JSON - Job config in json format.
-
--template-id=TEMPLATE_ID - Job template id.
-
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details.
gcloud transcoder jobs create
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 2026-05-27 UTC.

