403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.233
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/root/lib/python3.6/site-packages/awscli/examples/elastictranscoder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib/python3.6/site-packages/awscli/examples/elastictranscoder/create-job.rst
**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"
        }
    }

Youez - 2016 - github.com/yon3zu
LinuXploit