1
votes

I have already used the ffmpeg and mp4box to get the necessary file,just like the guild Making Your Own Simple MPEG-DASH Server.Then I put all the files include the MPD and the dash segments into my http server folder(nginx I used,the folder is **/wwwroot/default/).

But I can not play my video via player like akamai player or dash-if-reference-player.The url is right because I can directly use "my domain/video/one_of_the_dash_segments.mp4" to play the video in Chrome.

Thank you a lot if you could tell me what should I do to fix this problem.

1
Pop-up you browser's console and check the network tab for errors. Did you enable CORS like in the example? - aergistal
Thank you! I can see the error,"Failed to load http://****/manifest.mpd: No 'Access-Control-Allow-Origin' header is present on the requested ". I add "add_header Access-Control-Allow-Origin "*" in my nginx.conf,and use "nginx -s reload" to active this configure.But it doesn't work. - renkang chen

1 Answers

0
votes

well,it seems that the player which I use does not support the dash segments generated by MP4Box.So I try to use another tool bento4 and put the output into my nginx's root folder.Then it works.