├── .dockerignore ├── .github ├── dependabot.yml └── workflows │ ├── docker-push.yml │ ├── docker-tests.yml │ ├── goreleaser-test.yml │ ├── goreleaser.yml │ └── main.yml ├── .gitignore ├── .golangci.yaml ├── .goreleaser.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── config ├── config.go └── config_test.go ├── db ├── dbtest │ ├── fake_db.go │ └── fake_db_test.go ├── redis │ ├── job.go │ ├── job_test.go │ ├── localpreset.go │ ├── localpreset_test.go │ ├── presetmap.go │ ├── presetmap_test.go │ ├── redis.go │ ├── redis_test.go │ └── storage │ │ ├── redis.go │ │ ├── redis_test.go │ │ ├── stub_test.go │ │ └── testdata │ │ └── sentinel.conf ├── repo.go ├── types.go └── types_test.go ├── doc.go ├── go.mod ├── go.sum ├── internal └── provider │ ├── bitmovin │ ├── bitmovin.go │ └── bitmovin_test.go │ ├── description.go │ ├── elementalconductor │ ├── client.go │ ├── elementalconductor.go │ ├── elementalconductor_fake_transcode_test.go │ ├── elementalconductor_test.go │ └── fake_server_test.go │ ├── encodingcom │ ├── encodingcom.go │ ├── encodingcom_server_test.go │ └── encodingcom_test.go │ ├── fake_provider_test.go │ ├── hybrik │ └── hybrik.go │ ├── mediaconvert │ ├── factory_test.go │ ├── fake_client_test.go │ ├── mediaconvert.go │ ├── mediaconvert_test.go │ └── preset_mapping.go │ ├── provider.go │ ├── provider_test.go │ └── zencoder │ ├── zencoder.go │ ├── zencoder_fake_test.go │ └── zencoder_test.go ├── logo ├── logo.png └── logo.svg ├── main.go ├── service ├── fake_provider_test.go ├── preset.go ├── preset_params.go ├── preset_responses.go ├── preset_test.go ├── presetmap.go ├── presetmap_params.go ├── presetmap_test.go ├── provider.go ├── provider_params.go ├── provider_responses.go ├── provider_test.go ├── response.go ├── service.go ├── swagger.go ├── swagger_test.go ├── testdata │ └── swagger.json ├── transcode.go ├── transcode_params.go ├── transcode_responses.go └── transcode_test.go └── swagger ├── handler.go ├── handler_test.go ├── response.go └── response_test.go /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/docker-push.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.github/workflows/docker-push.yml -------------------------------------------------------------------------------- /.github/workflows/docker-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.github/workflows/docker-tests.yml -------------------------------------------------------------------------------- /.github/workflows/goreleaser-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.github/workflows/goreleaser-test.yml -------------------------------------------------------------------------------- /.github/workflows/goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.github/workflows/goreleaser.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/README.md -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/config/config.go -------------------------------------------------------------------------------- /config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/config/config_test.go -------------------------------------------------------------------------------- /db/dbtest/fake_db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/dbtest/fake_db.go -------------------------------------------------------------------------------- /db/dbtest/fake_db_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/dbtest/fake_db_test.go -------------------------------------------------------------------------------- /db/redis/job.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/job.go -------------------------------------------------------------------------------- /db/redis/job_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/job_test.go -------------------------------------------------------------------------------- /db/redis/localpreset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/localpreset.go -------------------------------------------------------------------------------- /db/redis/localpreset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/localpreset_test.go -------------------------------------------------------------------------------- /db/redis/presetmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/presetmap.go -------------------------------------------------------------------------------- /db/redis/presetmap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/presetmap_test.go -------------------------------------------------------------------------------- /db/redis/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/redis.go -------------------------------------------------------------------------------- /db/redis/redis_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/redis_test.go -------------------------------------------------------------------------------- /db/redis/storage/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/storage/redis.go -------------------------------------------------------------------------------- /db/redis/storage/redis_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/storage/redis_test.go -------------------------------------------------------------------------------- /db/redis/storage/stub_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/storage/stub_test.go -------------------------------------------------------------------------------- /db/redis/storage/testdata/sentinel.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/redis/storage/testdata/sentinel.conf -------------------------------------------------------------------------------- /db/repo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/repo.go -------------------------------------------------------------------------------- /db/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/types.go -------------------------------------------------------------------------------- /db/types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/db/types_test.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/doc.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/go.sum -------------------------------------------------------------------------------- /internal/provider/bitmovin/bitmovin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/bitmovin/bitmovin.go -------------------------------------------------------------------------------- /internal/provider/bitmovin/bitmovin_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/bitmovin/bitmovin_test.go -------------------------------------------------------------------------------- /internal/provider/description.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/description.go -------------------------------------------------------------------------------- /internal/provider/elementalconductor/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/elementalconductor/client.go -------------------------------------------------------------------------------- /internal/provider/elementalconductor/elementalconductor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/elementalconductor/elementalconductor.go -------------------------------------------------------------------------------- /internal/provider/elementalconductor/elementalconductor_fake_transcode_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/elementalconductor/elementalconductor_fake_transcode_test.go -------------------------------------------------------------------------------- /internal/provider/elementalconductor/elementalconductor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/elementalconductor/elementalconductor_test.go -------------------------------------------------------------------------------- /internal/provider/elementalconductor/fake_server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/elementalconductor/fake_server_test.go -------------------------------------------------------------------------------- /internal/provider/encodingcom/encodingcom.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/encodingcom/encodingcom.go -------------------------------------------------------------------------------- /internal/provider/encodingcom/encodingcom_server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/encodingcom/encodingcom_server_test.go -------------------------------------------------------------------------------- /internal/provider/encodingcom/encodingcom_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/encodingcom/encodingcom_test.go -------------------------------------------------------------------------------- /internal/provider/fake_provider_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/fake_provider_test.go -------------------------------------------------------------------------------- /internal/provider/hybrik/hybrik.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/hybrik/hybrik.go -------------------------------------------------------------------------------- /internal/provider/mediaconvert/factory_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/mediaconvert/factory_test.go -------------------------------------------------------------------------------- /internal/provider/mediaconvert/fake_client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/mediaconvert/fake_client_test.go -------------------------------------------------------------------------------- /internal/provider/mediaconvert/mediaconvert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/mediaconvert/mediaconvert.go -------------------------------------------------------------------------------- /internal/provider/mediaconvert/mediaconvert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/mediaconvert/mediaconvert_test.go -------------------------------------------------------------------------------- /internal/provider/mediaconvert/preset_mapping.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/mediaconvert/preset_mapping.go -------------------------------------------------------------------------------- /internal/provider/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/provider.go -------------------------------------------------------------------------------- /internal/provider/provider_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/provider_test.go -------------------------------------------------------------------------------- /internal/provider/zencoder/zencoder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/zencoder/zencoder.go -------------------------------------------------------------------------------- /internal/provider/zencoder/zencoder_fake_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/zencoder/zencoder_fake_test.go -------------------------------------------------------------------------------- /internal/provider/zencoder/zencoder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/internal/provider/zencoder/zencoder_test.go -------------------------------------------------------------------------------- /logo/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/logo/logo.png -------------------------------------------------------------------------------- /logo/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/logo/logo.svg -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/main.go -------------------------------------------------------------------------------- /service/fake_provider_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/fake_provider_test.go -------------------------------------------------------------------------------- /service/preset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/preset.go -------------------------------------------------------------------------------- /service/preset_params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/preset_params.go -------------------------------------------------------------------------------- /service/preset_responses.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/preset_responses.go -------------------------------------------------------------------------------- /service/preset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/preset_test.go -------------------------------------------------------------------------------- /service/presetmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/presetmap.go -------------------------------------------------------------------------------- /service/presetmap_params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/presetmap_params.go -------------------------------------------------------------------------------- /service/presetmap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/presetmap_test.go -------------------------------------------------------------------------------- /service/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/provider.go -------------------------------------------------------------------------------- /service/provider_params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/provider_params.go -------------------------------------------------------------------------------- /service/provider_responses.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/provider_responses.go -------------------------------------------------------------------------------- /service/provider_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/provider_test.go -------------------------------------------------------------------------------- /service/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/response.go -------------------------------------------------------------------------------- /service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/service.go -------------------------------------------------------------------------------- /service/swagger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/swagger.go -------------------------------------------------------------------------------- /service/swagger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/swagger_test.go -------------------------------------------------------------------------------- /service/testdata/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/testdata/swagger.json -------------------------------------------------------------------------------- /service/transcode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/transcode.go -------------------------------------------------------------------------------- /service/transcode_params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/transcode_params.go -------------------------------------------------------------------------------- /service/transcode_responses.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/transcode_responses.go -------------------------------------------------------------------------------- /service/transcode_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/service/transcode_test.go -------------------------------------------------------------------------------- /swagger/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/swagger/handler.go -------------------------------------------------------------------------------- /swagger/handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/swagger/handler_test.go -------------------------------------------------------------------------------- /swagger/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/swagger/response.go -------------------------------------------------------------------------------- /swagger/response_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/video-dev/video-transcoding-api/HEAD/swagger/response_test.go --------------------------------------------------------------------------------