Giter VIP home page Giter VIP logo

chunkey's Introduction

This repository has been archived and is no longer supported—use it at your own risk. This repository may depend on out-of-date libraries with security issues, and security updates will not be provided. Pull requests against this repository will also not be merged.

Chunkey

HTTP Live Stream Encoder for endpoints in AWS EC2

This is an HLS library/crawler for conversion from static file hosting to an HLS solution for quick and high-quality/low-latency streaming that is adaptable for differing global connection speeds.

|Build|

[v1.2.3] 2018.5
(c)(GNU-GPL) @edx 2016

Install

`python setup.py install`
NOTE: This requires a compiled version of ffmpeg (with libx264) available here:

Setup

The “Deliver Root” is optional, and can point to a root subdirectory in the bucket, if desired.
The 'encode_profiles.json' file can act as a template for a set of encoding profiles as desired

Use:

from chunkey import Chunkey

VidChunk = Chunkey(mezz_file = 'link_to/file/to_be/transcoded.mp4')

will generate an HLS manifest with as many streams as indicated by default (5), or the optional 'encode_profiles.json' file pointed to by a keyword arg (see below)

Args:

Mandatory:

mezz_file = link_to/file/to_be/transcoded.mp4' ##MANDATORY
    can be filepath or URL

Optional (will deliver file to endpoint)

[MUST PASS CREDENTIALS]

manifest = 'target_manifest_name'

encode_profiles = 'path/to/encode_profiles.json' ## will read defaults

Credential Passing (optional, for delivery)

DELIVER_BUCKET = 's3_bucket_to_deliver_to'

DELIVER_ROOT = 'optional_bucket_directory'

ACCESS_KEY_ID = ''

SECRET_ACCESS_KEY = ''

Retrieve data:

VidChunk.complete -- boolean for completed encode

VidChunk.manifest_url -- endpoint url for manifest (aws s3) or local dir path

chunkey's People

Contributors

azarembok avatar ssemenova avatar mraarif avatar feanil avatar jinder1s avatar awais786 avatar yro avatar caplan188 avatar schenedx avatar usamasadiq avatar edx-requirements-bot avatar zubair-pkx avatar

Stargazers

 avatar Nate Aune avatar

Watchers

Ned Batchelder avatar Matthew Carter avatar Bill DeRusha avatar  avatar Binod Pant avatar Justin Lapierre avatar Cory Lee avatar James Cloos avatar Edward Zarecor avatar Naveed avatar Jeff Witt avatar  avatar  avatar Olga Stroilova avatar ihtram avatar Matt Drayer avatar Hassan avatar jawad khan avatar Diane Kaplan avatar Ben Warzeski avatar Muhammad Ammar avatar Monica Diaz avatar Julia Eskew avatar stv avatar Kashif Chaudhry avatar Chris Pappas avatar Agha Awais avatar Nadeem Shahzad avatar Katy Willemin avatar Hasnain Naveed avatar  avatar Bianca Severino avatar Zaman Afzal avatar  avatar  avatar Juliana Kang avatar Syed Awais Ali avatar Kellie Selinka 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.