Closed hotfusion closed 9 months ago
I found the answer, http://localhost:8000/live/example.mp4
was a wrong link, should use http://localhost:8000/example.mpd. The mp4 file must to convert into mpd ffmpeg -i example.mp4 -vcodec copy -acodec copy example.mpd
before the stream. However, for dash files you can have a simple express server.
Hello, I am been struggling to stream my mp4 files with dash.js using this package, the documentation really useless and doesn't help match. I was able to mount the server with these configurations: `{
}`
I have a file which I stored in
c:/mymedia/example.mp4
and when I am trying to play this file in dash.js player, i am getting an error: http://localhost:8000/live/example.mp4 net::ERR_CONNECTION_REFUSED Should I convert the mp4 file to another format? Maybe the URL I am entering is not correcthttp://localhost:8000/live/example.mp4
? Is there an example that I can follow how to do it? I tried to google it but found nothing... Thanks