Bandwidth usage when serving live video
I feel like I have messed up somewhere in my calculations thus would very much appreciate somebody to correct me if I am wrong. I will be using FFMPEG to broadcast pre-recorded videos to a live audience, while I could use sites like Twitch or YouTube and piggyback off their bandwidth I would like to look into the concept of hosting my own streaming server via nginx-rtmp.
I would like to know if my statements are correct or incorrect in two different situations;
Option 1: My current dedicated server has unlimited bandwidth on a 1Gbps line, if I am serving live video at a rate of 1,000kbits/s I
would only be able to really deliver smooth playback to around
800-900 simultaneous viewers (giving headway). My calculation is 1,000Kbits equals 1Mbps x 900 equals 0.9Gbps giving 0.1Gbps headway. What will happen if more than 1000 users watch the video simultaneously, will the stream just not play for them, buffer for everybody or what?
Option 2: If I was to use a CDN provider like BelugaCDN, paying $20 per month for 2.5TB of bandwidth how much data would I use given the following specifications. 1,000 viewers tuned in for exactly 60 minutes watching a stream at 1,000Kbits/s, how much data would be used? In my mind it would be 3600 seconds (60 Minutes) times by 1,000 equals 3.6 Million Kbits or 0.45GB per person, times 0.45GB by 1,000 totaling 450GB. So a stream, lasting for 1 hour with 1,000 viewers at 1,000Kbit/s would use 450GB of bandwidth.
Now, I would really like to be schooled on if I am going about this the total wrong way or if my calculations are correct. Essentially I am only interested in the amount bandwidth that my server is going to be using to serve this content not the amount of data the viewers at home are going to be using. I mean thinking about it now it must be the exact same right? If 1MB worth of data is piped through my server, the user will use 1MB of data, surely?
nginx video-streaming rtmp live-streaming bandwidth
add a comment |
I feel like I have messed up somewhere in my calculations thus would very much appreciate somebody to correct me if I am wrong. I will be using FFMPEG to broadcast pre-recorded videos to a live audience, while I could use sites like Twitch or YouTube and piggyback off their bandwidth I would like to look into the concept of hosting my own streaming server via nginx-rtmp.
I would like to know if my statements are correct or incorrect in two different situations;
Option 1: My current dedicated server has unlimited bandwidth on a 1Gbps line, if I am serving live video at a rate of 1,000kbits/s I
would only be able to really deliver smooth playback to around
800-900 simultaneous viewers (giving headway). My calculation is 1,000Kbits equals 1Mbps x 900 equals 0.9Gbps giving 0.1Gbps headway. What will happen if more than 1000 users watch the video simultaneously, will the stream just not play for them, buffer for everybody or what?
Option 2: If I was to use a CDN provider like BelugaCDN, paying $20 per month for 2.5TB of bandwidth how much data would I use given the following specifications. 1,000 viewers tuned in for exactly 60 minutes watching a stream at 1,000Kbits/s, how much data would be used? In my mind it would be 3600 seconds (60 Minutes) times by 1,000 equals 3.6 Million Kbits or 0.45GB per person, times 0.45GB by 1,000 totaling 450GB. So a stream, lasting for 1 hour with 1,000 viewers at 1,000Kbit/s would use 450GB of bandwidth.
Now, I would really like to be schooled on if I am going about this the total wrong way or if my calculations are correct. Essentially I am only interested in the amount bandwidth that my server is going to be using to serve this content not the amount of data the viewers at home are going to be using. I mean thinking about it now it must be the exact same right? If 1MB worth of data is piped through my server, the user will use 1MB of data, surely?
nginx video-streaming rtmp live-streaming bandwidth
add a comment |
I feel like I have messed up somewhere in my calculations thus would very much appreciate somebody to correct me if I am wrong. I will be using FFMPEG to broadcast pre-recorded videos to a live audience, while I could use sites like Twitch or YouTube and piggyback off their bandwidth I would like to look into the concept of hosting my own streaming server via nginx-rtmp.
I would like to know if my statements are correct or incorrect in two different situations;
Option 1: My current dedicated server has unlimited bandwidth on a 1Gbps line, if I am serving live video at a rate of 1,000kbits/s I
would only be able to really deliver smooth playback to around
800-900 simultaneous viewers (giving headway). My calculation is 1,000Kbits equals 1Mbps x 900 equals 0.9Gbps giving 0.1Gbps headway. What will happen if more than 1000 users watch the video simultaneously, will the stream just not play for them, buffer for everybody or what?
Option 2: If I was to use a CDN provider like BelugaCDN, paying $20 per month for 2.5TB of bandwidth how much data would I use given the following specifications. 1,000 viewers tuned in for exactly 60 minutes watching a stream at 1,000Kbits/s, how much data would be used? In my mind it would be 3600 seconds (60 Minutes) times by 1,000 equals 3.6 Million Kbits or 0.45GB per person, times 0.45GB by 1,000 totaling 450GB. So a stream, lasting for 1 hour with 1,000 viewers at 1,000Kbit/s would use 450GB of bandwidth.
Now, I would really like to be schooled on if I am going about this the total wrong way or if my calculations are correct. Essentially I am only interested in the amount bandwidth that my server is going to be using to serve this content not the amount of data the viewers at home are going to be using. I mean thinking about it now it must be the exact same right? If 1MB worth of data is piped through my server, the user will use 1MB of data, surely?
nginx video-streaming rtmp live-streaming bandwidth
I feel like I have messed up somewhere in my calculations thus would very much appreciate somebody to correct me if I am wrong. I will be using FFMPEG to broadcast pre-recorded videos to a live audience, while I could use sites like Twitch or YouTube and piggyback off their bandwidth I would like to look into the concept of hosting my own streaming server via nginx-rtmp.
I would like to know if my statements are correct or incorrect in two different situations;
Option 1: My current dedicated server has unlimited bandwidth on a 1Gbps line, if I am serving live video at a rate of 1,000kbits/s I
would only be able to really deliver smooth playback to around
800-900 simultaneous viewers (giving headway). My calculation is 1,000Kbits equals 1Mbps x 900 equals 0.9Gbps giving 0.1Gbps headway. What will happen if more than 1000 users watch the video simultaneously, will the stream just not play for them, buffer for everybody or what?
Option 2: If I was to use a CDN provider like BelugaCDN, paying $20 per month for 2.5TB of bandwidth how much data would I use given the following specifications. 1,000 viewers tuned in for exactly 60 minutes watching a stream at 1,000Kbits/s, how much data would be used? In my mind it would be 3600 seconds (60 Minutes) times by 1,000 equals 3.6 Million Kbits or 0.45GB per person, times 0.45GB by 1,000 totaling 450GB. So a stream, lasting for 1 hour with 1,000 viewers at 1,000Kbit/s would use 450GB of bandwidth.
Now, I would really like to be schooled on if I am going about this the total wrong way or if my calculations are correct. Essentially I am only interested in the amount bandwidth that my server is going to be using to serve this content not the amount of data the viewers at home are going to be using. I mean thinking about it now it must be the exact same right? If 1MB worth of data is piped through my server, the user will use 1MB of data, surely?
nginx video-streaming rtmp live-streaming bandwidth
nginx video-streaming rtmp live-streaming bandwidth
edited Nov 19 '18 at 20:37
MrBlobby
asked Nov 19 '18 at 20:32
MrBlobbyMrBlobby
2116
2116
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53382207%2fbandwidth-usage-when-serving-live-video%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53382207%2fbandwidth-usage-when-serving-live-video%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown