I want to automate using Amazon\'s Elastic Transcoder to trim a video file in Django. My code so far is:
def trim_video(key, new_key, duration): pipeline