Skip to content

flavioribeiro/nginx-vod-module-fmp4-hls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-vod-module-fmp4-hls

This project aims to support some experiments around the playback of fragmented MP4’s on the HTTP Live Streaming protocol.

It uses Kaltura’s nginx-vod-module and lua-nginx-module to reuse m4s segments from the MPEG-Dash location by pointing the HLS manifests to them.

Running

Assuming you have docker installed on your computer, clone the repository and go to the folder:

$ git clone https://github.com/flavioribeiro/nginx-vod-module-fmp4-hls.git && cd nginx-vod-module-fmp4-hls

Build a docker image from the Dockerfile:

$ docker build .

Now, get the docker IMAGE ID and spin up a new instance binding to your local port:

$ docker images
REPOSITORY                TAG                               IMAGE ID            CREATED             SIZE
<none>                    <none>                            4c064be1f291        12 minutes ago      296 MB
$ docker run -p 127.0.0.1:80:80 4c064be1f291

The nginx instance is writing logs on stdout to make it easier for debugging. You should be all set.

Examples

Drone

Food

Rocket

Devito

Occupy

Playing the HLS examples

You can playback the examples by using hls.js test page: http://video-dev.github.io/hls.js/demo/?src=[source_here]

References

About

Play fragmented mp4's on HLS using nginx-vod-module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages