question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Local .mpd files not streaming in Node.js

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues? Yes, I have read and there isn’t a similar issue.

What version of Shaka Player are you using? v 2.5.12

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from master? Yes

Are you using the demo app or your own custom app? Custom app

If custom app, can you reproduce the issue using our demo app? NA

What browser and OS are you using? Browser: Chrome. OS: Windows 10

For embedded devices (smart TVs, etc.), what model and firmware version are you using? NA

What are the manifest and license server URIs?

NA What did you do? I have a video file (.mp4) in my system in C drive I have converted it into .mpd using FFmpeg and fluent-FFmpeg in Node.js and then copy-pasted the .mpd file path in javascript var manifestUri = " " variable.

What did you expect to happen? I expected that the video would play

What actually happened?

Error 1001 in the console was the output. Can you please tell me where and how to put these .mpd files so that they would get played on the browser Capture

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TheModMakercommented, Jun 8, 2020

You need to enter a web URL, not a local file path. So /foo/bar won’t work since it will interpret the path as a web URL relative to the current web page. Some browsers support local files using file:///foo, but not all browsers allow reading local files. You need to serve the MPD and segments on a web server for the browser to be able to read them.

0reactions
pranjal5399commented, Jun 17, 2020

Thank you @joeyparrish .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Local .mpd files not streaming in Node.js · Issue #2622 - GitHub
What did you do? I have a video file (.mp4) in my system in C drive I have converted it into .mpd using...
Read more >
HTML 5 and Node: How to Stream Audio and Video? Part 1
We can deliver audio and video to the viewer in a variety of ways, ranging from static media files to adaptive live streaming....
Read more >
video streaming node js video controls not working on local ...
With streaming media, the browser doesn't usually make just a request for the whole media file. It will use ranged requests to enable ......
Read more >
Setting up adaptive streaming media sources - MDN Web Docs
A media presentation description (MPD) file is used to hold the information on the various streams and the bandwidths they are associated with....
Read more >
node-media-server - npm
If the stream does not exist, pull the stream from the configured edge server to local. When the stream is not played by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found