Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Agnostic API to transcode media assets across different cloud services.

License

NotificationsYou must be signed in to change notification settings

video-dev/video-transcoding-api

Repository files navigation

video-transcoding-api logo

Video Transcoding API

Build StatusGo Report CardDocker Pulls

The Video Transcoding API provides an agnostic API to transcode media assetsacross different cloud services. Currently, it supports the followingproviders:

Setting Up

Withlatest Go installed, make sure to export the followenvironment variables:

Providers configuration

export AWS_ACCESS_KEY_ID=your.access.key.idexport AWS_SECRET_ACCESS_KEY=your.secret.access.keyexport AWS_REGION="us-east-1"export ELASTICTRANSCODER_PIPELINE_ID="yourpipeline-id"

Please notice that for Elastic Transcoder you don't specify the destinationbucket, as it isdefined in the Elastic TranscoderPipeline.

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.BETA
export 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/
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"
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-presets

HYBRIK_PRESET_PATH is optional and defines the folder presets will bestored in. If not specified, it will default to'video-transcoding-api-presets'.

export ZENCODER_API_KEY=your.api.keyexport ZENCODER_DESTINATION=http://access.key.id:secret.access.key@your-s3-bucket.s3.amazonaws.com/
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-bucket

Database configuration

In 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.here

If 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

Running tests

$ make test

Using the API

Check out on our Wikihowtouse this API.

Contributing

  1. Fork it
  2. Create your feature branch:git checkout -b my-awesome-new-feature
  3. Commit your changes:git commit -m 'Add some awesome feature'
  4. Push to the branch:git push origin my-awesome-new-feature
  5. Submit a pull request

License

About

Agnostic API to transcode media assets across different cloud services.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors17

Languages


[8]ページ先頭

©2009-2025 Movatter.jp