Code Monkey home page Code Monkey logo

amazon-vod-preset-convert's People

Contributors

alenzamanyan avatar jeremyjohnsonamazon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

amazon-vod-preset-convert's Issues

No module named boto.elastictranscoder

Getting the following error when trying to execute script:

ets_mediaconvert_preset_v2.py", line 34, in <module>
    import boto.elastictranscoder
ImportError: No module named boto.elastictranscoder

Invalid security token

JSONResponseError: 403 Forbidden {u'message': u'The security token included in the request is invalid.'}

Seeing this error, but unsure on where to go about resolving this.
Tried assuming role as based user with MFA session token as well as setting the output of the assumed role within the credentials file and setting the AWS_PROFILE. What am I missing here?

Security token is invalid

JSONResponseError: 403 Forbidden {u'message': u'The security token included in the request is invalid.'}

I configure aws by editing the default profile in ~/.aws/credentials with an aws_session_token. THe aws command in terminal could run. But I will get the above message if I tried to run the ets_mediaconvert_preset_v2.py.

Any idea how to fix it?

Crashing when casting 'auto' for preset settings

Looks like it's not able to handle auto settings in the preset

Please type in a supported ETS region: us-east-1
Preset ID: 1532200621915-3dc1k1
Please type in output a output group type you want to place this ETS preset into, options are file, apple, dash, smooth: file
Traceback (most recent call last):
  File "ets_mediaconvert_preset_v2.py", line 792, in <module>
    emf_VideoDescription = translate_video(ets_preset_payload, s_video)
  File "ets_mediaconvert_preset_v2.py", line 577, in translate_video
    emf_bitrate_temp = int(ets_preset_payload['Preset']['Video']['BitRate'])
ValueError: invalid literal for int() with base 10: 'auto'
``

Docker Recipe

FROM python:2.7
RUN pip install awscli boto boto3
ADD ets_mediaconvert_preset_v2.py
ENTRYPOINT ["python", "ets_mediaconvert_preset_v2.py"]

Need to use AWS profile

Can't seem to git this working with an AWS profile vs using key and id.

Is there some way to get this working when account is using shared services profile --profile

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.