Hls.js: Support new fragmented MP4 streams

Created on 17 Jun 2016  路  12Comments  路  Source: video-dev/hls.js

Following (wwdc16 announcement)[https://developer.apple.com/videos/play/wwdc2016/504/] HLS will now support fMP4 as well.

Test vectors:

Enhancement

Most helpful comment

this is great news, and it should be pretty straightforward to add.
I will start stabilizing master branch next week, then merge alt-audio and PoC it

All 12 comments

this is great news, and it should be pretty straightforward to add.
I will start stabilizing master branch next week, then merge alt-audio and PoC it

@mangui Is this work in progress?

@mangui , does it works already with HLS.js?

not yet, should not be a big deal

We just tried the latest version of hls.js (v 0.8.4) and it seems like it doesn't support fragmented MP4 streams yet.

We tried one of our own streams, but we're getting errors like:

"Parsing Error:no demux matching with content found,cannot recover, last media error recovery failed ..." from your demo website: http://streambox.fr/mse/hls.js-0.8.4/demo/

Unfortunately, we cannot share our stream with you publicly.

Hi @ronak2121 , PM me a URL on video-dev slack

I'll try and see if I can get approval to do that. In the meantime, I ran my fMP4 through mp4parser.com and here's the output from that:
screen shot 2017-10-09 at 12 37 24 pm

It seems this error message has to do with the code not finding the ftyp initialization segment from the stream?

Our streams are audio only, and have no video. Could that be a cause for this? I'm trying to get the debugger to catch in that code, but it's not yet.

you should disable worker to be able to debug

We are supporting fMP4 streams now.

Two demo streams are selectable :)

Let's close this issue and reformulate further needs in other ticket.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harbinha picture harbinha  路  3Comments

NicholasAsimov picture NicholasAsimov  路  3Comments

nickcartery picture nickcartery  路  4Comments

PeterBassemYoussef picture PeterBassemYoussef  路  3Comments

jlacivita picture jlacivita  路  3Comments