Giter Site home page Giter Site logo

erlyvideo's Introduction

erlyvideo is a flash streaming server, written in erlang: http://erlyvideo.org/
Repo moved to http://github.com/erlyvideo/erlyvideo


currently it can:

  * stream, seek, pause and resume mp4 and flv files 
  * fast starting of flv playback with building index in background
  * record flv from camera
  * have possibility to auth users
  * broadcast flv between people
  * provide push channel to flash, just like juggernaut, just like AMQP (look doc/push.edoc)
  * read MPEG TS and restream it to flash clients.
  * handle different types of authorization. Look at json_session for example of authorization
  * both AMF0 and AMF3 encoding are possible
  * got support for many netstreams. It mean, that videoconference is possible.
  * support virtual hosts. Look at src/erlmedia.app for examples
  * save last GOP of incoming stream, so that client can start looking video much faster
  * Can stream from QuickTime Broadcaster and Wirecast via RTSP/RTP. Read more in doc/rtsp.edoc

currently in development:
  * improve handling of background vlc/ffmpeg for them to recode uploaded videos
  * add support for extended play command (with initial seek, length, ets)

  
future plans:
  * MPEG TS restreaming of files
  * Apple HTTP LiveStreaming
  * Source authorization (RTSP, MPEG TS, etc.)
  * Shared Objects
  * try to change quality on fly (smooth streaming)
  * capture mpeg4 IP cameras
  * raw RTP capture from sdp file


What you can do right now?

  * use it for streaming flv and mp4 files
  * use it as a replacement for long-poll push channels
  * use it as a recorder of video camera
  * use it with longtailvideo player


How can You help?
  
  * Launch it and test on your content;
  * make fork on github, add your improvements and push them to me;
  * take any of “currently in development” issues or future plans and try to make them

How to launch:

  * git clone git://github.com/erlyvideo/erlyvideo.git
  * cd erlyvideo
  * git submodule init
  * git submodule update
  * cp src/erlmedia.app ebin/erlmedia.app
  * $EDITOR ebin/erlmedia.app
  * change /tmp to /Users/username/Movies
  * make
  * make run
  * open http://localhost:8082
  * click on any flv/mp4 file and then press Play
  * change any erlang code
  * type ems:rebuild() in console
  * profit!

How to hack and add features:

  * read doc/hacking.edoc
  * add plugin

Plugin structure:

  * Look at src/apps_streaming.erl
  * You should define and export functions, that will be available to flash. Format is  FunctionName(AMF, State). Reply is State.
  * To handle events to client runloop, add 'WAIT_FOR_DATA'(Message, State) function, which should respond in the same way as OTP handler.

erlyvideo's People

Contributors

maxlapshin avatar hwatkins avatar windock avatar chooh avatar

Stargazers

Gun.io Robot avatar

Watchers

Gun.io Robot 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.