[FFmpeg-trac] #8097(undetermined:new): MPD: BaseURL twice in URL for init.mp4

FFmpeg trac at avcodec.org
Mon Aug 26 18:59:11 EEST 2019

#8097: MPD: BaseURL twice in URL for init.mp4
             Reporter:  giwiniswut   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  mpd          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 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

Ticket URL: <https://trac.ffmpeg.org/ticket/8097>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list