Coder Social home page Coder Social logo

fmw-namorim / openencoder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alfg/openencoder

0.0 1.0 0.0 1.21 MB

:movie_camera: Open Source Cloud Video Encoding API for FFmpeg.

Home Page: https://github.com/alfg/openencoder

License: MIT License

Dockerfile 0.70% Go 64.31% Makefile 0.07% JavaScript 6.28% HTML 0.28% Vue 28.26% Shell 0.10%

openencoder's Introduction

openencoder

Open Source Cloud Encoder for FFmpeg

A distributed and scalable video encoding pipeline to be used as an API or web interface using your own hosted or cloud infrastructure and FFmpeg encoding presets.

โš ๏ธ Currently functional, but a work-in-progress! Check back for updates!

Build Status GoDoc Go Report Card Docker Automated build Docker Pulls

Features

  • HTTP API for submitting jobs to a redis-backed FFmpeg worker
  • FTP and S3 storage (AWS, Digital Ocean Spaces and Custom S3 Providers supported)
  • Web Dashboard UI for managing encode jobs, workers, users and settings
  • Machines UI/API for scaling cloud worker instances in a VPC
  • Database stored FFmpeg encoding presets
  • User accounts and roles

Preview

Screenshot

Development

Requirements

  • Docker
  • Go 1.11+
  • NodeJS 8+ (For web dashboard)
  • FFmpeg
  • Postgres
  • S3 API Credentials & Bucket (AWS or Digital Ocean)
  • Digital Ocean API Key (only required for Machines API)

Docker is optional, but highly recommended for this setup. This guide assumes you are using Docker.

Setup

  • Start Redis and Postgres in Docker:
docker-compose up -d redis
docker-compose up -d db

When the database container runs for the first time, it will create a persistent volume as /var/lib/postgresql/data. It will also run the scripts in scripts/ to create the database, schema, settings, presets, and an admin user.

  • Build & start API server:
go build -v && ./openencoder server
  • Start the worker:
./openencoder worker
  • Start Web Dashboard for development:
cd static && npm run serve
  • Open http://localhost:8081/dashboard in the browser and login with admin/password.

See Quick-Setup-Guide for full development setup guide.

API

See: API.md

Scaling

You can scale workers by adding more machines via the Web UI or API.

Currently only Digital Ocean is supported. More providers are planned.

See: API.md for Machines API documentation.

Documentation

See: wiki for more documentation.

Roadmap

See: Development Project for current development tasks and status.

License

MIT

openencoder's People

Contributors

alfg avatar

Watchers

James Cloos avatar

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.