Giter Site home page Giter Site logo

Comments (10)

ojw28 avatar ojw28 commented on May 6, 2024

There are a whole bunch of test mpds here:
https://github.com/Dash-Industry-Forum/dash.js/blob/master/app/sources.json

from exoplayer.

droidmax avatar droidmax commented on May 6, 2024

Any recommendation for supporting multiple periods in MPD? Would be helpful for implementing Ad insertion using only one instance of player. Is it possible to add multiple DASH video chunk sources to the renderer and seek between the chunk sources?

from exoplayer.

rogerjstringer avatar rogerjstringer commented on May 6, 2024

Is there a MPD file which current works with ExoPlayer, even the 'dev' branch?

I've tested a number of the sample MPD files provided by the sources.json file in dash.js, files which play with dash.js but all fail with ExoPlayer. The current problem appears to be in the processing of the XML-format MPD file.

Example MPD files which should play are:
http://dash.edgesuite.net/digitalprimates/fraunhofer/480p_video/heaac_5_1_with_video/Sintel/sintel_480p_heaac5_1.mpd
http://www.digitalprimates.net/dash/streams/mp4-live-template/mp4-live-mpd-AV-BS.mpd
http://dash.edgesuite.net/digitalprimates/fraunhofer/480p_video/heaac_2_0_with_video/ElephantsDream/elephants_dream_480p_heaac2_0.mpd
http://yt-dash-mse-test.commondatastorage.googleapis.com/cenc_samples/oops-20131021-DASH_FMP4_H264_1080P_CENC.mp4
http://dash.edgesuite.net/dash264/TestCases/1a/netflix/exMPD_BIP_TC1.mpd

NB: I'm testing on KitKat

from exoplayer.

ojw28 avatar ojw28 commented on May 6, 2024
  • The first and third of those mpd links already play for me on the dev branch.
  • The second one requires SegmentTemplate support. I have this working locally, and it will be pushed next week. Stay tuned. Ditto for any mpds that contain SegmentList elements.
  • The fourth link isn't an mpd.
  • I'm not sure what to do about the fifth one yet. That style of mpd neglects to define a segment index (either by specifying where the sidx is located in the stream, or by defining an index in the manifest itself). You end up having to make an unbounded request from the head of each stream until you find the index. That doesn't seem ideal, and I'm not sure we'll be supporting that case.

Thanks!

from exoplayer.

rogerjstringer avatar rogerjstringer commented on May 6, 2024

OK, I concur on #1 once I fiddled with the parameters:
new Sample("DASH-Sintel 480p", "uid:misc:sintel480",
"http://dash.edgesuite.net/digitalprimates/fraunhofer/480p_video/heaac_5_1_with_video/Sintel/sintel_480p_heaac5_1.mpd",
DemoUtil.TYPE_DASH_VOD, false, true),

Sorry for the misleading comment

from exoplayer.

ojw28 avatar ojw28 commented on May 6, 2024

Np. The big missing piece here at the moment is support for SegmentTemplate and SegmentList, both of which are fairly commonly used (as in the second mpd). This will be fixed very soon.

from exoplayer.

ojw28 avatar ojw28 commented on May 6, 2024

Support for SegmentTemplate and SegmentList have been merged into both dev and master.

from exoplayer.

IanDBird avatar IanDBird commented on May 6, 2024

Thanks for the update to include support for SegmentTemplate and SegmentList. I've been testing it out over the last day or two and it works beautifully!

from exoplayer.

hafidben avatar hafidben commented on May 6, 2024

Do you have an example of an MPD file with segmentList ?

from exoplayer.

ojw28 avatar ojw28 commented on May 6, 2024

You could try: http://www-itec.uni-klu.ac.at/dash/ddash/mpdGenerator.php?segmentlength=6&type=full

from exoplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.