AWS Elemental MediaConvert CreateJob Example Using the AWS CLI
To create a transcoding job using the AWS CLI:
-
Use
describe-endpoints
to get your account endpoint and set your region. In this example, the region is set toap-northeast-3
:aws mediaconvert describe-endpoints --region
ap-northeast-3
-
Use the
--endpoint-url
option to send your request to your account endpoint:aws --endpoint-url
https://abcd1234.mediaconvert.region-name-1.amazonaws.com
--regionregion-name-1
mediaconvert create-job --cli-input-jsonfile://~/job.json
In the preceding example,
job.json
specifies your transcoding job settings. You can use the MediaConvert console to generate the JSON job specification. For more information and sample job specifications, see Creating Your Job Specification.