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

"kbps" should be 1000 bits per second, not 1024 bits per second #382

Open
duckware opened this issue Feb 4, 2024 · 0 comments
Open

"kbps" should be 1000 bits per second, not 1024 bits per second #382

duckware opened this issue Feb 4, 2024 · 0 comments

Comments

@duckware
Copy link

duckware commented Feb 4, 2024

I was using https://gpac.github.io/mp4box.js/test/filereader.html -- and comparing what mp4box.js reports vs another MP4 analyzer, the bitrates are slightly off. As soon as I multiplied mp4box.js numbers by "1024/1000", I got the correct numbers.

To convert bits to kbps divide by 1000 (do not divide by 1024). 1024 would be correct for the amount of memory (KB), but in data communications, network speeds are based on "1000".

Original Ethernet is 10,000,000 bits/sec, or 10,000 kbps, or 10 Mbps. It is NOT 9765.625 kbps (as mp4box.js would say).

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

1 participant