Monday, May 27, 2013

VOD HLS in Nginx

Recently I have finished one project for Nginx Inc. The project is VOD HLS module making HLS stream from mp4 file. The module is fast and completely asynchronous. I think it is the fastest solution available. The module is easy to configure as well.

location / {
hls;
root /var/mp4;
}


Nginx VOD HLS module is proprietary. Please apply to Nginx Inc for more details.

18 comments:

  1. Hi,

    Where could I find more info?

    Thanks Rarut

    ReplyDelete
  2. Do you mean technical info or contacts?
    I think you can try this contact e-mail: nginx-inquiries@nginx.com. I have several personal contacts but I'm not sure I can share them here.

    ReplyDelete
  3. Is not add-on for nginx-rtmp? How to build it?

    ReplyDelete
  4. It's not nginx-rtmp add-on, it's nginx addon, plain --add-module is used.
    I think it will cost some money, please apply to Nginx Inc I made this work for.

    ReplyDelete
  5. Ouch, any plans to make this available as open source ? or available at a sane price.

    HDS module from nginx was costing around $500 per server.

    ReplyDelete
  6. That's not something i can tell.

    ReplyDelete
  7. No problem :)

    Got a reply from nginx inc, it would cost 1200/yr/server.

    ReplyDelete
  8. Before i buy this from nginx inc, would like to know if something like http://rarut.wordpress.com/2013/06/09/secure-links-in-nginx-rtmp/ works with vod hls mod ?

    Is it possible to secure the stream.

    ReplyDelete
  9. It does not. But don't worry, it'll be fine, I'll add it if you or any other customer requests. Please feel free to request any features.

    ReplyDelete
  10. Cool, yah we do need to secure the stream.

    Can you tell how much of a CPU overhead does this module cause, against ngx_http_mp4_module. We have servers which stream to 1000+ users at a time with ngx_http_mp4_module., am little worried about the cpu consumption as the this module would be making those segments on the fly.

    Thanks again for your prompt replies, even on a sunday :)

    ReplyDelete
  11. CPU usage is a little higher than with plain mp4 module which just outputs static files in most cases. It's better to cache all data generated on the fly for better performance.

    ReplyDelete
  12. I have reply from nginx inc, price is 1500/server/year. It is too big price, because wowza - 995$/server (unlim years), ams starter 995$/server (unlim years), erlyvideo HDS-free, hls 1900$/server (unlim years)

    Nginx inc: why the price is too big?

    ReplyDelete
  13. I think nginx (including hls module) is much faster than those you have mentioned.

    ReplyDelete
  14. Has there been any benchmarking done for hls, comparing to other servers ?

    you mentioned cache the data generated, can multiple devices be used to cache ? does it work similar to nginx static cache.

    ReplyDelete
  15. I think you should apply to nginx inc for these details.

    ReplyDelete
  16. hi Arut,
    I don't understand purpose of hls vod module, why not stream mp4 file?

    ReplyDelete