MPD: BaseURL twice in URL for init.mp4
|Reported by:||giwiniswut||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
I'm trying to download the livestream at https://www.prosieben.de/livestream. (I hope there is no geoblocking on this, so it can be tested outside of germany.)
For this, i have obtained an MPD file URL using Firefox developer tools' network tab while playing the stream.
I believe this file to be the correct MPEG-DASH manifest for capturing said livestream.
However, when trying to open the stream using
ffmpeg -i <MPD URL> or
ffmpeg -i <MPD URL> -c copy stream.ts, i am getting a 404 error.
Investigating the ffmpeg trace log showed that ffmpeg fails to download the init.mp4 file due to this 404 error. By taking a closer look in line 68 of the log it shows that ffmpeg is trying to download the init.mp4 file from an URL that contains the MPD BaseURL twice. Removing one of those two occurences of the BaseURL fixes the URL; i.e. trying to open it returns a file download and no 404 error.
I'm not sure if this is a fault in the MPD file itself or if i'm missing any ffmpeg options neccessary or helpful in this case but i can't help myself but suspect that this is actually a bug.
How to reproduce:
Make sure you have a working interenet connection, then run ffmpeg command as stated in attached logfile:
ffmpeg -report -v 9 -loglevel 99 -i https://psdlv001-a.akamaihd.net/d9f5c007/t_001/prosieben-de/cenc-default.mpd