GithubHelp home page GithubHelp logo

abhimanyoo / auto-dash-hls Goto Github PK

View Code? Open in Web Editor NEW

This project forked from majamee/auto-dash-hls

0.0 1.0 0.0 24 KB

Automated toolchain for generating DASH/ HLS compatible files from all videos inside a root folder

Home Page: https://majamee.github.io/auto-dash-hls/

License: MIT License

Dockerfile 7.21% Shell 92.79%

auto-dash-hls's Introduction

| Docker Automated build Docker Build Status | Docker Stars Docker Pulls

auto-dash-hls

Automated toolchain for generating DASH/ HLS compatible files from all videos inside a root folder.

Recommended usage via Docker Kitematic & Docker Hub.

Usage

Prerequisite: Docker needs to be installed and running.

docker pull majamee/auto-dash-hls
docker run -v /absolute/path/to/video/:/video majamee/auto-dash-hls

Please just replace in the command above the absolute path to your video file folder and all videos inside (recursive) will be converted to web-optimized DASH/ HLS compatible files (protected against up-scaling). You can also use tags like majamee/auto-dash-hls:edge (e.g. uses alpine's edge version as base).

Folders can not be named output within the transcoding folder as folders named output are skipped to prevent re-encoding already encoded videos.

Features

  • Creates DASH (VOD) compatible files (including Safari on Mac)
  • Creates HLS files for compatibility with Safari on iOS
  • Optimizes video files for web playback (moov atom)
  • Compresses videos using H.264@CRF22 (for best compatibility)
  • Compresses audio using AAC@128k (for DASH as separate track to save data)
  • Creates automatically 3 quality levels (Full HD/ HD/ DVD quality)
  • Fragments video files in 2 second windows to allow dynamic quality switching based on available bandwidth
  • Creates master MPD-Playlist which connects everything (MPEG-DASH)
  • Creates master M3U8-Playlist for HLS
  • Automatically scans the folder recursively for supported video files for transcoding
  • Creates .auto-hls-dash file in provided root directory for file skipping in sub-sequent calls
  • Creates all output files neatly stored in a sub-folder matching the video file name in the folder output next to the transcoded video file
  • Adds also HTML and .htaccess file including code ready for inclusion into the own website for playback next to all other created files
  • Included fallback player (plyr.html) is based on the great work of the guys at Plyr
  • Included second fallback player (fluid-player.html) is based on the great work of the guys at Fluid Player
  • Included player (index.html) is based on the great work of the guys at Video.js

Demo

http://alpine-dash-hls.gq/demos

auto-dash-hls's People

Contributors

majamee avatar bardiir avatar

Watchers

James Cloos 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.