GithubHelp home page GithubHelp logo

lexmakali / cloudtranscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bfansports/cloudtranscode

2.0 1.0 1.0 4.31 MB

Distributed video encoding/transcoding using Amazon Web Services and FFMpeg

Home Page: http://sportarchive.github.io/CloudTranscode/

License: GNU General Public License v2.0

Makefile 0.57% PHP 99.43%
aws video-transcoding php

cloudtranscode's Introduction

Gitter Scrutinizer Code Quality

What is Cloud Transcode ?

Cloud Transcode is your own distributed transcoding stack. With it you can transcode media files in a distributed way, at scale.

Goal

The goal of this project is to create an open source, scalable and cheap distributed transcoding platform where users have complete control over performance and cost.

We started with video transcoding as it is the most costly, but the goal is to transcode any type media files (audio, documents and images). We use FFMpeg for video transcoding.

Today's commercial solutions for video transcoding are very expensive for large volumes. With this solution you can transcode large quantity of files at the pace you want, thus controling your cost.

Benefits

With Cloud Transcode, you control: scale, speed and cost. You can run everything locally if you want, no Cloud instance required. Or you can deploy on AWS EC2, Beanstalk or Docker containers.

Your workers only need an Internet connection to use the required Amazon services: SWF, SQS and S3. It means that you can have a local, hybrid or full cloud setup. It's up to you.

Transcoding supported

  • Video to Video transcoding: One video IN, many videos OUT. Any formats and codecs supported by your ffmpeg.
  • Video to Thumbnails transcoding: Snapshot at certain time in video or intervals snapshot every N seconds. Keep image ratio.
  • Watermark integration in video: Take image IN and position a watermark on top of the video. Custom position and transparency. Keep image ratio.

We are working to support ALL FFmpeg options.

How to use CT ?

Cloud Transcode is a set of "activities" that are executed by the Cloud Processing Engine (CPE) project.

With CPE you can execute workflows (chain of tasks) in a distributed way using the SWF cloud service. It initiate tasks executions on workers that you deploy. You can deploy your workers anywhere: locally or in the Cloud. Your workers (machines running your tasks) only need an Internet connection to access the AWS services.

CPE allows the execution of arbitrary workflow that you define yourself. CPE is a good fit for any type of orchestrated batch processing that needs to span over several workers.

CPE makes use of the following AWS services:

  • SWF (Simple Workflow): Define your own workflow and let SWF track its progress and initiate tasks.
  • SQS (Simple Queue Messaging): Your client applications communicate with the CPE stack simply using SQS messages.

You need to clone the CPE project to get going with Cloud Transcode.

So head to the CPE project page, clone it and discover what you can do with CPE: https://github.com/sportarchive/CloudProcessingEngine

The CPE detailed documentation is here: http://sportarchive.github.io/CloudProcessingEngine/

CT Documentation

To understand all about Cloud Transcode and the transcoding activities, head to the CT documentation here: http://sportarchive.github.io/CloudTranscode/

We explain how to create transcoding jobs and detail all available transcoding options.

Contributing

We need help from the community to develop other types of transcoding:

  • Audio
  • Image
  • Document

The transcoders classes are already created, they just need to be implemented. (Check the src/activities/transcoders/ folder)

Thanks for contributing !

FFMpeg performance benchmark on Amazon EC2

Download the spreadsheet to compare the different Amazon EC2 instances cost and performances running FFMpeg: https://github.com/sportarchive/CloudTranscode/blob/master/benchmark/benchmark-aws-ffmpeg.xlsx

cloudtranscode's People

Contributors

ceache avatar gyzmogwai avatar koxon avatar parent5446 avatar scrutinizer-auto-fixer avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

hackevil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.