Coder Social home page Coder Social logo

nullx's Introduction

nullx

Nullx is a transcoding server which converts input audio/video files (with multiple tracks) into h264/aac/mov_text format and optionally uploads resulted files into elliptics storage.

Nullx spawns a pool of processes using ribosome::fpool each one transcodes media file using ffmpeg. If process crashes it will be automatically restarted.

Transcoding is asynchronous, server will reply to client after it is completed. If elliptics upload options are not specified in the request, server will send transcoded file to client in reply.

Server config options

tmp_dir - temporal directory where input and resulted files are stored during transcoding. transcoding_workers - number of transcoding processes, default value is 16.

Elliptics upload options

If request contains following headers, transcoded file will not be returned to client but instead will be written into elliptics.

X-Ell-Groups - groups in the format 1:2:3 where transcoded file should be written. X-Ell-ID - hex ID (128 bytes, if less, the rest will be filled with zeroes) of the key to upload. Alternatively you can specify X-Ell-Bucket and X-Ell-Key - bucket (namespace)/key pair of the key which will be used to upload transcoded file into elliptics.

Also you can specify additional metadata headers, which will force server to upload some metadata of the transcoded file into elliptics. X-Ell-Metadata-Groups - groups in the format 1:2:3 where metadata for transcoded file should be written. X-Ell-Metadata-ID or X-Ell-Metadata-Bucket + X-Ell-Metadata-Key - which key should be used to write transcoded file metadata.

nullx's People

Contributors

bioothod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.