Code Monkey home page Code Monkey logo

mosaic-video's Introduction

Mosaic Video

Generate mosaic videos from live inputs.

Mosaic with two input videos and a background image

What is it?

Mosaic Video is a project designed to transform live streaming videos into nice mosaics in realtime.

It uses ffmpeg to capture the video and position them in a grid.

Design

The project has two main components:

  • Worker: a Go process that receives the inputs and generates the mosaic;
  • Storage backend:
    • HTTP server that receives the mosaic through HTTP and stores it on S3;
    • Or a local storage backend (local filesystem).

Mosaic Video design

Features

  • Generate mosaic from multiple video inputs;
  • Multiples audios support:
    • No audio;
    • First input audio only;
    • All inputs audios.
  • Available inputs: HLS, RTMP and MP4;
  • Available outputs: HLS;
  • A simple HLS Player available in: http://localhost:8090/player;
  • Dynamic scaling/positioning of the inputs;
  • Dynamic background for each mosaic;
  • Storage and delivery content options:
    • S3;
    • File system.
  • VoD in looping.
    • To use like a promo video, see this example.

Roadmap

  • Support for running distributed workers.

Running and tests

just test to run the tests.

just lint to run linters.

just deps starts a mock API, Redis and S3 backend.

just worker starts the go process to generate mosaics.

just storage startes the uploader component.

just player starts the HLS player.

Installation

We are still working on the installation process. For now, you can install it by cloning the repository and running separately the components (see "Running and tests" section).

Contributing

Feel free to contribute to this project by opening issues or pull requests.

mosaic-video's People

Contributors

mauricioabreu avatar luiscovelo avatar hoega avatar leandromoreira avatar rafiramadhana 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.