Node-Media-Server icon indicating copy to clipboard operation
Node-Media-Server copied to clipboard

Adaptive Bitrate (ABR) HLS / DASH Support

Open garyns opened this issue 5 years ago • 5 comments

Hi,

Are there any plans on the roadmap for node media server to support Adaptive Bitrate (ABR) for HLS / DASH?

My research indicates there are a couple of GitHub projects providing this on top of NMS, but I'd rather be using NMS directly to achieve this.

Thanks.

garyns avatar Oct 12 '20 12:10 garyns

you can pretty easily just generate your own master.m3u8 file and use the fission task to achieve the same.

mattcwebster avatar Oct 29 '20 10:10 mattcwebster

you can pretty easily just generate your own master.m3u8 file and use the fission task to achieve the same.

can you explain more with example?!

mohsen-rasouli avatar Jan 10 '21 21:01 mohsen-rasouli

I also cant figure out a way to use HLS with Fission transcoded streams even when I use hls: true in fission config

abrar71 avatar Jun 09 '21 13:06 abrar71

any news about this request ?

viniciusaffonso-hotmart avatar Aug 19 '21 13:08 viniciusaffonso-hotmart

you can pretty easily just generate your own master.m3u8 file and use the fission task to achieve the same.

can you explain more with example?!

You can create your own playlist.m3u8 and put it inside any folder on your hosting after you set your fusion configuration. It should contain the following code to create adaptive HLS.

#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1957242,RESOLUTION=1920x1080,CODECS="avc1.4d0028,mp4a.40.2",CLOSED-CAPTIONS=NONE
https://YOURDOMAIN/live/STREAM_KEY/index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1925490,RESOLUTION=1280x720,CODECS="avc1.4d401f,mp4a.40.2",CLOSED-CAPTIONS=NONE
https://YOURDOMAIN/live/STREAM_KEY_720/index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=789415,RESOLUTION=640x360,CODECS="avc1.77.30,mp4a.40.2",CLOSED-CAPTIONS=NONE
https://YOURDOMAIN/live/STREAM_KEY_360/index.m3u8

Then for the HLS link, you should use playlist.m3u8 link

drpshtiwan avatar Apr 19 '22 22:04 drpshtiwan