Skip to content

SrikalaB/Ruby-SDK-script-Aws-Elastic-transcoder-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Ruby Script to encode videos using AWS elastictranscoder

Pre-requisites
  • Install the ruby sdk using
    gem install 'aws-sdk'
Execution

ruby aws-elastic-transcoder.rb

The script does the following operations

  • Sets up the AWS config (The keys need to be replaced with your keys as per https://github.com/aws/aws-sdk-ruby)
  • Uses available system preset provided by Elastic Transcoder.
  • Uploads file specified in /path/to/file to specified s3 bucket
  • Creates a pipeline for queing jobs using the Elastic encoder client
  • Creates a job

About

A ruby script that uploads a file to a s3 bucket and transcodes it to mp4 format using the Aws ElasticTranscoder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages