Code Monkey home page Code Monkey logo

media-stack's Introduction

NOTICE: This project is not dead, it was moved

See tritonmedia. It was moved to get out of a mono-repo and be better organized.

Media Stack

A pipeline to allow media processing.

Services / Libraries

  • API - Allows you to view statistics about the media, i.e processing status
  • Deploy - Handles orchestration of Digital Ocean instances
  • Events - Queues media and orchestrates new media into the pipeline
  • Converter - Converts media (may change w/ deploy)
  • Twilight - Organizes and deploys new media. Runs on storage host.
  • Beholder - Watches over the platform (metrics and etc)

Setup

THIS IS LOSELY WRITTEN AND MAY NOT REFLECT FINAL PRODUCT

  • Pull the repo down on a server git clone <url> --recursive
  • Edit config/config.yaml to reflect various keys / server locations.
docker-compose up

๐ŸŽ‰

Production

If you want to use this in production I highly recommend you setup a GCP instance or a rancher instance in the cloud with Kubernetes.

Please configure the following labels on your nodes / rancher hosts:

triton.role:  bigdata (for converter)
triton.role:  storage (for whatever machine has the emby volume on it)
triton.state: stable  (for whatever machine has internet)

Modify .ops/values.yaml to reflect the external IP you have.

Then install our helm chart: cd .ops; helm install --name media media-stack

License

BSD-3-Clause

media-stack's People

Contributors

jaredallard avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

media-stack's Issues

Handle converter crashes

Currently if converter crashes nothing happens, we should:

  • mark job as error'd so it can be re-scheduled
  • create a comment on the card with basic user-facing information
  • support resuming torrent downloads

Misc

  • switch to callback event system (i.e download -> main -> process -> main -> convert -> main -> deploy -> main) to prevent hardcoding shared deps

Check 2 is blocked by #1

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.