Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mp4dash: Definition of required bandwidth #88

Closed
rodrigobdz opened this issue Aug 10, 2016 · 1 comment
Closed

mp4dash: Definition of required bandwidth #88

rodrigobdz opened this issue Aug 10, 2016 · 1 comment

Comments

@rodrigobdz
Copy link

rodrigobdz commented Aug 10, 2016

Enabling verbose and debug mode in mp4dash prints out average segment bitrate, max segment bitrate and required bandwidth for each video representation.
This required bandwidth equals bandwidth under each representation in the manifest created by mp4dash.

How is this value calculated?
This should be documented.

Thanks in advance.

@barbibulle
Copy link
Contributor

The required bandwidth calculation is somewhat complicated. What this value represents is the bandwidth value for which, if the throughput remains constant as that value there should never be an underflow situation. The client is only required to buffer @minBufferTime worth of data. In theory, a precise calculation for this would require looking at every frame, and taking the possible frame reordering into account. But the current method isn't quite that complicated. It looks at the minBufferTime value and the individual segment sizes, and finds a value for which the client buffer would never go empty. This is better than just taking the average segment bitrate (which would be wrong, since there are often peaks), but not quite as precise as looking at individual frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants