**To create a job for ElasticTranscoder** The following ``create-job`` example creates a job for ElasticTranscoder. :: aws elastictranscoder create-job \ --pipeline-id 1111111111111-abcde1 \ --inputs file://inputs.json \ --outputs file://outputs.json \ --output-key-prefix "recipes/" \ --user-metadata file://user-metadata.json Contents of ``inputs.json``:: [{ "Key":"ETS_example_file.mp4", "FrameRate":"auto", "Resolution":"auto", "AspectRatio":"auto", "Interlaced":"auto", "Container":"mp4" }] Contents of outputs.json:: [ { "Key":"webm/ETS_example_file-kindlefirehd.webm", "Rotate":"0", "PresetId":"1351620000001-100250" } ] Contents of ``user-metadata.json``:: { "Food type":"Italian", "Cook book":"recipe notebook" } Output:: { "Job": { "Status": "Submitted", "Inputs": [ { "Container": "mp4", "FrameRate": "auto", "Key": "ETS_example_file.mp4", "AspectRatio": "auto", "Resolution": "auto", "Interlaced": "auto" } ], "Playlists": [], "Outputs": [ { "Status": "Submitted", "Rotate": "0", "PresetId": "1351620000001-100250", "Watermarks": [], "Key": "webm/ETS_example_file-kindlefirehd.webm", "Id": "1" } ], "PipelineId": "3333333333333-abcde3", "OutputKeyPrefix": "recipes/", "UserMetadata": { "Cook book": "recipe notebook", "Food type": "Italian" }, "Output": { "Status": "Submitted", "Rotate": "0", "PresetId": "1351620000001-100250", "Watermarks": [], "Key": "webm/ETS_example_file-kindlefirehd.webm", "Id": "1" }, "Timing": { "SubmitTimeMillis": 1533838012298 }, "Input": { "Container": "mp4", "FrameRate": "auto", "Key": "ETS_example_file.mp4", "AspectRatio": "auto", "Resolution": "auto", "Interlaced": "auto" }, "Id": "1533838012294-example", "Arn": "arn:aws:elastictranscoder:us-west-2:123456789012:job/1533838012294-example" } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
cancel-job.rst | File | 171 B | 0644 |
|
create-job.rst | File | 2.66 KB | 0644 |
|
create-pipeline.rst | File | 3.3 KB | 0644 |
|
create-preset.rst | File | 4.11 KB | 0644 |
|
delete-pipeline.rst | File | 229 B | 0644 |
|
delete-preset.rst | File | 184 B | 0644 |
|
list-jobs-by-pipeline.rst | File | 284 B | 0644 |
|
list-jobs-by-status.rst | File | 268 B | 0644 |
|
list-pipelines.rst | File | 2.73 KB | 0644 |
|
list-presets.rst | File | 2.97 KB | 0644 |
|
read-job.rst | File | 1.78 KB | 0644 |
|
read-pipeline.rst | File | 1.89 KB | 0644 |
|
read-preset.rst | File | 3.32 KB | 0644 |
|
update-pipeline-notifications.rst | File | 1.9 KB | 0644 |
|
update-pipeline-status.rst | File | 1.54 KB | 0644 |
|
update-pipeline.rst | File | 3.27 KB | 0644 |
|