MPEG-DASH stream support

1 Like

We are investigating MPD support. If you have example mpd streams which play in VLC/ffmpeg/streamlink please share them to help us research.

1 Like

Check this for reference streams:

Dash JavaScript Player

That link plays https://cmafref.akamaized.net/cmaf/live-ull/2006350/akambr/out.mpd after clicking load

There are some live streams on iptv org:

$ curl -sS https://iptv-org.github.io/iptv/index.m3u | grep '[^/].mpd$'|grep -Ev 'uk|bbc'

MPD is like HLS except all audio and video tracks come separately. I think it should be possible to convert MPD manifest to HLS file just to play one of the video tracks without any remuxing. Muxing in the audio will be the hard part. It might be worth looking into streamlink to see what is doing.

1 Like

I’m very interested in getting mpd stream links recognized somehow by the DVR server.
I have a few free over the air channels broadcasting as mod online and I would be awesome if we could add the link to an m3u and inject it as a source.

Any progress?

+1
Adding MPEG-DASH support would be great. It's really hard to find reliable solutions that turn MPEG-DASH into HLS for Channels.

Will that Restreamer app mentioned recently by Lon.TV work?

Maybe it can console DASH and output HLS.

1 Like

I tried it with some DASH test streams and it's a hit or miss. It plays some formats and fails others. KODI and VLC seem to have the best DASH support based on what I have seen, but there is no way to expose those streams to Channels in HLS.

1 Like

I found a solution that somewhat works for now:

  • I use TVHeadend to feed the stream into Channels
  • TVHeadend also does not support Dash directly, but it's possible to pipe the feed into Streamlink and transcode (it's very light on resources since most Dash feeds are H264). This is the Pipe setup that worked for me:
    pipe:///usr/bin/env streamlink dash://http://url-of-dash-stream best --stdout --ffmpeg-fout "mpegts"

As you can see, I'm using Streamlink to feed FFMPEG, turn the stream into MPEG-TS and then feed it to Channels from there. I tried using straight FFMPEG, but it is very slow. With Streamlink+FFMPEG, the stream starts in Channels in 1-2 sec.

1 Like