We needed to somehow convert diferent videos format into crossplatform HLS videos to be streamed using html video tag.
This is a terraform configuration for creates AWS Infraestructure to build an elastic transcoder pipeline from IAM user to cloudfront distribution.
-
Have terraform installed (see terraform website in order to know how to install terraform)
-
AWS Credentials with privileges to create Infraestructure.
-
Execute this as follow:
$ terraform init
$ terraform plan
$ terraform applyYou can check a php example magicvideo_transcoder.php using output variables.
Implements Elastic Transcoder encryption.
Creates a generic API to administrate jobs