Page 1 of 1

MPEG-DASH live stream playback problem

Posted: 03 Mar 2020 01:19
by lordjim
Hi,

I'm having problem with the newest version of VLC 3.0.8 for Windows. I've also tested 3.0.7.1 and 3.0.1.
The problem is i cannot get stable playback of FFmpeg generated MPEG-DASH live stream (MP4 not WebM).

Funny thing is if I use VLC version 3.0.1 it plays the same stream wihtout issues.

The playback starts but after a few seconds it stops. The problem seems to be a bit odd because there are times where VLC will connect to the stream, play the lowest stream for a few seconds then it will stop playing. On occassion it will change the stream to higher available resolution and play it for a few seconds and then quit.

Sometimes replacing startNumber="1" to startNumber="0" in manifest.mpd helps and allows the newer version to play the stream but at the same time it can cause VLC to freeze sometimes and quit.

From what I understand from the logs, VLC cannot find some of the required segments.
Anyway I'm attaching the messages with loglevel set to debug.

If anyone can help I would appreciate it.

I'm attaching information from the message windows with details set to debug.

[url]https://pastebin.com/QqHCAyJ4[/url]

Re: MPEG-DASH live stream playback problem

Posted: 05 Mar 2020 20:11
by #thweiss
This is not a Solution, but I will add some MPEG-DASH Examples for checking.

Code: Select all

#EXTM3U #EXTINF:-1,Öppna Kanalen Malmö https://edg02-prd-se-dcs.solidtango.com/edge/_8ynhbua3_/8ynhbua3/manifest.mpd #EXTINF:-1,Öppna Kanalen Skövde https://edg02-prd-se-dcs.solidtango.com/edge/_451iw2h_/451iw2h/manifest.mpd #EXTINF:-1,Východoceská TV https://stream.polar.cz/vctv/vctvlive-2/manifest_w1967880673.mpd #EXTINF:-1,Business News Network https://pe-ak-lp01a-9c9media.akamaized.net/live/News1BNNDigi/p/dash/00000001/1bba52dc66e4c68e/manifest.mpd
You can save the Examples as *.m3u Playlist.

I will also add two Links for Hints about MPEG-DASH, perhaps they can help to find a Solution.

- https://stackoverflow.com/questions/53352348/mpeg-dash-output-generated-by-ffmpeg-not-working

- https://rybakov.com/blog/mpeg-dash/

Re: MPEG-DASH live stream playback problem

Posted: 06 Mar 2020 21:31
by lordjim
The Videos You provided work in 3.0.8.

What I think is relevant: when i'm creating the MPEG-DASH stream in FFmpeg i don't use SegmentTimeline. Using it, caused VLC to hang while playing the video.

Because the links You provided work, it seems I will need to change my encoding software.
Still the question remains, why VLC 3.0.1 plays FFmpeg stream and newer ones stop after few seconds.

Thank You very much for providing me with these links :)


EDIT: I've tested FFmpeg Stable and FFmpeg Nightly from 18.02.2020