- Notifications
You must be signed in to change notification settings - Fork70
Agnostic API to transcode media assets across different cloud services.
License
video-dev/video-transcoding-api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The Video Transcoding API provides an agnostic API to transcode media assetsacross different cloud services. Currently, it supports the followingproviders:
Withlatest Go installed, make sure to export the followenvironment variables:
ForBitmovin
export BITMOVIN_API_KEY=your.api.keyexport BITMOVIN_AWS_ACCESS_KEY_ID=your.access.key.idexport BITMOVIN_AWS_SECRET_ACCESS_KEY=your.secret.access.keyexport BITMOVIN_AWS_STORAGE_REGION=your.s3.region.such.as.US_EAST_1.or.EU_WEST_1export BITMOVIN_DESTINATION=s3://your-s3-bucketexport BITMOVIN_ENCODING_REGION=your.provider.region.such.as.AWS_US_EAST_1.or.GOOGLE_EUROPE_WEST_1export BITMOVIN_ENCODING_VERSION=STABLE.or.BETAexport ELEMENTALCONDUCTOR_HOST=https://conductor-address.cloud.elementaltechnologies.com/export ELEMENTALCONDUCTOR_USER_LOGIN=your.loginexport ELEMENTALCONDUCTOR_API_KEY=your.api.keyexport ELEMENTALCONDUCTOR_AUTH_EXPIRES=30export ELEMENTALCONDUCTOR_AWS_ACCESS_KEY_ID=your.access.key.idexport ELEMENTALCONDUCTOR_AWS_SECRET_ACCESS_KEY=your.secret.access.keyexport ELEMENTALCONDUCTOR_DESTINATION=s3://your-s3-bucket/ForEncoding.com
export ENCODINGCOM_USER_ID=your.user.idexport ENCODINGCOM_USER_KEY=your.user.keyexport ENCODINGCOM_DESTINATION=http://access.key.id:secret.access.key@your-s3-bucket.s3.amazonaws.com/export ENCODINGCOM_REGION="us-east-1"ForHybrik
export HYBRIK_URL=your.hybrik.api.endpoint.such.as.https://api_demo.hybrik.com/v1export HYBRIK_COMPLIANCE_DATE=20170601export HYBRIK_OAPI_KEY=your.hybrik.oapi.keyexport HYBRIK_OAPI_SECRET=your.hybrik.oapi.secretexport HYBRIK_AUTH_KEY=your.hybrik.auth.keyexport HYBRIK_AUTH_SECRET=your.hybrik.auth.secretexport HYBRIK_DESTINATION=s3://your-s3-bucketexport HYBRIK_PRESET_PATH=video-transcoding-api-presetsHYBRIK_PRESET_PATH is optional and defines the folder presets will bestored in. If not specified, it will default to'video-transcoding-api-presets'.
ForZencoder
export ZENCODER_API_KEY=your.api.keyexport ZENCODER_DESTINATION=http://access.key.id:secret.access.key@your-s3-bucket.s3.amazonaws.com/ForMediaConvert
export MEDIACONVERT_AWS_ACCESS_KEY_ID=your.access.key.idexport MEDIACONVERT_AWS_SECRET_ACCESS_KEY=your.secret.access.keyexport MEDIACONVERT_AWS_REGION="us-east-1"export MEDIACONVERT_ENDPOINT=your.mediaconvert.endpointexport MEDIACONVERT_QUEUE_ARN=your.queue.arnexport MEDIACONVERT_ROLE_ARN=your.iam.role.arnexport MEDIACONVERT_DESTINATION=s3://your-s3-bucketIn order to store preset maps and job statuses we need a Redis instancerunning. Learn how to setup and run a Redishere. With the Redis instance running, setits configuration variables:
export REDIS_ADDR=192.0.2.31export REDIS_PASSWORD=p4ssw0rd.hereIf you are running Redis in the same host of the API and on the default port(6379) the API will automatically find the instance and connect to it.
With all environment variables set and redis up and running, clone thisrepository and run:
$ git clone https://github.com/video-dev/video-transcoding-api.git$ make run$ make testCheck out on our Wikihowtouse this API.
- Fork it
- Create your feature branch:
git checkout -b my-awesome-new-feature - Commit your changes:
git commit -m 'Add some awesome feature' - Push to the branch:
git push origin my-awesome-new-feature - Submit a pull request
- This code is underApache 2.0license.
- The video-transcoding-api logo is a variation on the Go gopher that wasdesigned by Renee French and copyrighted under theCreative CommonsAttribution 3.0 license.
About
Agnostic API to transcode media assets across different cloud services.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
