Giter Club home page Giter Club logo

dashc's People

Contributors

ar112 avatar jq5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dashc's Issues

The adaptation does not work if the representations are not ordered descending by bandwidth

Hello,

Thank you for sharing your project!

I was testing your tool and I observed that it does not adapt if the representation list is not ordered descending by bandwidth (it always choose the biggest rate if ordered ascending). I tried to find the problem in the code, but I know nothing about OCAML :/

With the following MPD the player stalls but does not adapt to a lower quality.

<?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 0.7.1-revrelease  at 2018-07-20T15:28:07.015Z-->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H10M34.634S" maxSegmentDuration="PT0H0M2.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011,http://dashif.org/guidelines/dash264">
 <ProgramInformation moreInformationURL="http://gpac.io">
  <Title>BBB</Title>
 </ProgramInformation>

 <Period duration="PT0H10M34.634S">
  <AdaptationSet segmentAlignment="true" bitstreamSwitching="true" maxWidth="3840" maxHeight="2160" maxFrameRate="30" par="16:9" lang="und">
   <SegmentTemplate initialization="manifest_init.mp4"/>
   <Representation id="1" mimeType="video/mp4" codecs="avc3.640033" width="3840" height="2160" frameRate="30" sar="1:1" startWithSAP="1" bandwidth="16798960">
    <SegmentTemplate timescale="15360" media="bbb_3840x2160_17000000.0_dash$Number$.m4s" startNumber="1" duration="30720"/>
   </Representation>
   <Representation id="2" mimeType="video/mp4" codecs="avc3.640033" width="3840" height="2160" frameRate="30" sar="1:1" startWithSAP="1" bandwidth="19768008">
    <SegmentTemplate timescale="15360" media="bbb_3840x2160_20000000.0_dash$Number$.m4s" startNumber="1" duration="30720"/>
   </Representation>
  </AdaptationSet>
 </Period>
</MPD>

With this MPD the player adapts as I was expecting.

<?xml version="1.0"?>
<!-- MPD file Generated with GPAC version 0.7.1-revrelease  at 2018-07-20T15:28:07.015Z-->
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" minBufferTime="PT1.500S" type="static" mediaPresentationDuration="PT0H10M34.634S" maxSegmentDuration="PT0H0M2.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011,http://dashif.org/guidelines/dash264">
 <ProgramInformation moreInformationURL="http://gpac.io">
  <Title>BBB</Title>
 </ProgramInformation>

 <Period duration="PT0H10M34.634S">
  <AdaptationSet segmentAlignment="true" bitstreamSwitching="true" maxWidth="3840" maxHeight="2160" maxFrameRate="30" par="16:9" lang="und">
   <SegmentTemplate initialization="manifest_init.mp4"/>
   <Representation id="1" mimeType="video/mp4" codecs="avc3.640033" width="3840" height="2160" frameRate="30" sar="1:1" startWithSAP="1" bandwidth="19768008">
    <SegmentTemplate timescale="15360" media="bbb_3840x2160_20000000.0_dash$Number$.m4s" startNumber="1" duration="30720"/>
   </Representation>
   <Representation id="2" mimeType="video/mp4" codecs="avc3.640033" width="3840" height="2160" frameRate="30" sar="1:1" startWithSAP="1" bandwidth="16798960">
    <SegmentTemplate timescale="15360" media="bbb_3840x2160_17000000.0_dash$Number$.m4s" startNumber="1" duration="30720"/>
   </Representation>
  </AdaptationSet>
 </Period>
</MPD>

Thanks!

Showing error package "cohttp" doesn't exist in the current project for ocaml-cohttp version 1.2.0

I am trying installing DashC from the last 30 days. Every time I faced the same problem as mentioned in the subject or title. You people must provide a clear installation guide. Why cohttp doesn't exist in the current directory. Similarly, a message came, that cohttp pinned to GitHub.
Atleast provide complete commands to run this on Ubuntu 16.04. The guide you provided on GitHub is not enough.

Thanks

small bit of help

Hi Bud,

Can you add "curl" to the list of dependencies in the configure file.

I tried adding dashc to a clean install of ubuntu 18.4 and the problems nearly killed me :)

Thanks,

Hope life is good

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.