Comments (10)
I have a related question..
Is there any attribute in the resulting data structure to distinguish <MPD type="static"
from <MPD type="dynamic"
?
examples:
I'm looking at the JSON that was generated for each, and I'm not seeing any way to determine that one is VOD and the other is not. In fact, both include a minimumUpdatePeriod
attribute, which (please correct me if I'm wrong) I believe should not be present in a "static" manifest.
from mpd-parser.
Good idea on creating more documentation around that @patrickkunka . We will look into adding some. Right now, to determine if the result is live vs VOD, you'd have to check the endList
value on a playlist, where a truthy value means VOD, and its nonexistence or falsy value means live. This is because we've based the parsed object off of the m3u8-parser and https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.4
from mpd-parser.
I thought that attribute might be revealing, but for both of the manifests that I referenced (above).. the resulting data structures contain: "endList": true
. Can you think of any reason that the "dynamic" dash manifest would also yield this value in the output?
from mpd-parser.
@warren-bank do you have a sample we can look at?
from mpd-parser.
Just did a quick skim of the code.. and this implies that the attribute value might be hard coded?
from mpd-parser.
I was using this dynamic manifest.. mainly because when I was looking for an example, I noticed that these samples use it.
from mpd-parser.
Oh ok.. an endList
attribute occurs at different levels in the JSON.. each stream has its own. So I just need to get the value from the video stream.. not the top-level value. Gotcha..
from mpd-parser.
Off-topic question, but it's a quick one.. I'm curious about the name "toM3u8".. is there any functionality to generate HLS (m3u8) manifests (master and children) from a given DASH (mpd) input?
from mpd-parser.
Our internal JSON representation is sort of based off of HLS, and so we convert the MPD to that same JSON representation. We don't currently have a project that takes that JSON representation and produces an HLS or DASH output.
from mpd-parser.
Yes, that's what I thought. On the one hand, it would've been great if that functionality was included for free. On the other hand, I would've felt really dumb.. because the project in which I was using mpd-parser
at the time was to do just that. (PS: seems to work nicely)
from mpd-parser.
Related Issues (20)
- Not all audio codecs are being returned in json output HOT 4
- Usage in react-native HOT 4
- Undefined dateTimeObject values for live mpd manifests
- Wrong resolvedUri HOT 2
- Parser dropping values from AdaptionSet HOT 9
- How to calculate current live segment HOT 4
- xmldom vulnerability HOT 4
- DASH_INVALID_XML error HOT 7
- Security vulnerability in xmldom HOT 4
- Parser failing with blob url
- Generic Identifiers are not Parsed
- Matching upper-case keysystem UUID string in generateKeySystemInformation HOT 1
- Is there any Java/Kotlin implementation of this lib? HOT 1
- Parsing error for representations without segment info
- Update @xmldom/xmldom to fix a security advisory
- manifest endList is true for dynamic MPD instead of false HOT 1
- Security issue HOT 1
- Duplicate Playlist Entries with BaseURL tags at different levels of the Manifest
- Incorrect total number of audio tracks HOT 1
- Wrong resolvedUri HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpd-parser.