. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.32.98   [ Reverse IP ]
Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python2.7/site-packages/awscli/examples/elastictranscoder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python2.7/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"
        }
    }

Anon7 - 2022
AnonSec Team