Giter Club home page Giter Club logo

docker-2dash's Introduction

Docker to DASH

This is a Docker container to pre-package MPEG DASH on demand content. It is based on Bento4.

Install

Make sure you have Docker installed and can run Docker containers on your computer. Then download and install the helper script

curl -L https://github.com/Eyevinn/docker-2dash/releases/download/v0.0.3/mp4todash > /usr/local/bin/mp4todash
chmod +x /usr/local/bin/mp4todash
curl -L https://github.com/Eyevinn/docker-2dash/releases/download/v0.0.3/hlstodash > /usr/local/bin/hlstodash
chmod +x /usr/local/bin/hlstodash

This is a helper script that runs the container with a pre-defined set of arguments to start the container

Create MPEG DASH from MP4s

Place yourself in the directory where you have the MP4s (one MP4 per bitrate) and then run:

$ mp4todash example-1920-4500.mp4 example-720-1500.mp4

Create MPEG DASH from HLS VOD

$ hlstodash http://example.com/file/master.m3u8

docker-2dash's People

Contributors

birme avatar

Stargazers

 avatar Nate Wildermuth avatar Nick Krzemienski avatar Laurian Gridinoc avatar Tec Fu avatar Alex Gitonga avatar

Watchers

Fredrik Johansson avatar James Cloos avatar Alex Gitonga avatar  avatar

docker-2dash's Issues

Audio directories mixed

When I use mp4todash, the resulting audio directory structure is:

~/output/audio/und/mp4a# find
./1
./1/seg-2.m4s
./1/seg-18.m4s
./1/seg-5.m4s
./1/seg-15.m4s
./1/seg-9.m4s
./1/seg-8.m4s
./1/seg-7.m4s
./1/seg-4.m4s
./1/seg-16.m4s
./1/seg-20.m4s
./1/seg-17.m4s
./1/seg-13.m4s
./1/seg-11.m4s
./1/init.mp4
./1/seg-12.m4s
./1/seg-14.m4s
./1/2
./1/2/seg-2.m4s
./1/2/seg-18.m4s
./1/2/seg-5.m4s
./1/2/seg-15.m4s
./1/2/seg-9.m4s
./1/2/seg-8.m4s
./1/2/seg-7.m4s
./1/2/seg-4.m4s
./1/2/seg-16.m4s
./1/2/seg-20.m4s
./1/2/seg-17.m4s
./1/2/seg-13.m4s
./1/2/seg-11.m4s
./1/2/init.mp4
./1/2/seg-12.m4s
./1/2/seg-14.m4s
./1/2/seg-3.m4s
./1/2/seg-1.m4s
./1/2/seg-19.m4s
./1/2/seg-10.m4s
./1/2/seg-6.m4s
./1/seg-3.m4s
./1/seg-1.m4s
./1/seg-19.m4s
./1/seg-10.m4s
./1/seg-6.m4s

Directory 2 is inside directory 1. Should be on the same level in "mp4a" directory.

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.