• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:57
CEST 18:57
KST 01:57
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8[ASL21] Finals Preview: Two Legacies21
Community News
ZeroSpace at Steam NextFest - Last free demo15Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611Douyu Cup 2026: $20,000 Legends Event (June 26-28)10[BSL22] Non-Korean Championship from 13 to 28 June4
StarCraft 2
General
StarCraft II 5.0.16 PTR Patch Notes may 26th Daily SC2 Player Grid - feedback wanted J188 – Nhà Cái Cá Cược Trực Tuyến Đẳng Cấp Châu Á Code S Season 2 (2026) - RO8 Preview TL Poll: How do you feel about the 5.0.16 PTR balance changes?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) GSL CK #4 20-21th June Crank Gathers Season 4: BW vs SC2 Team League Douyu Cup 2026: $20,000 Legends Event (June 26-28)
Strategy
[G] Having the right mentality to improve
Custom Maps
Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
Mutation # 530 One For All The PondCast: SC2 News & Results Mutation # 529 Opportunities Unleashed Mutation # 528 Infection Detected
Brood War
General
Battle cruiser feet vs Carrier fleet BGH Auto Balance -> http://bghmmr.eu/ Fact based Zerg Upgrade Tier List vespene.gg — BW replays in browser Data needed
Tourneys
CSLAN 4 is Coming! [Megathread] Daily Proleagues Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers Relatively freeroll strategies Creating a full chart of Zerg builds Why doesn't anyone use restoration?
Other Games
General Games
ZeroSpace at Steam NextFest - Last free demo Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread ZeroSpace Megathread
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
Vanilla Mini Mafia {D-2} Late to making 20.06.2026 memorable [p]94718
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread [H]Internet/Gaming Cafe Tips and Tricks The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
How To Predict Tilt in Espor…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
Customize Sidebar...

Website Feedback

Closed Threads



Active: 10132 users

Nightmare Math Problem.

Blogs > Sgany
Post a Reply
Normal
Sgany
Profile Blog Joined July 2010
United Kingdom790 Posts
Last Edited: 2011-08-21 02:07:12
August 21 2011 02:03 GMT
#1
Ok tonight while I was watching a movie with the family it started buffering as it was being streamed. This made me think what is the number of seconds(to keep it simple) I must pause the video to, until I can watch it without it buffering again. Sounds simple right, well it turns into a nightmare.

The formula I have got are different for nearly every ratio.

A ratio of 10seconds playback(We shall call this V) and 12 seconds Buffering(We will call this B) is completely different than a ratio of 3V: 7B

For 3v: 7b I found out the % ratio which was 1%:2.33333333% and then worked out the critical mass was 53%, but I am unable to work out the critical mass for 10v:12b and other different ratios.

Could anyone help me come up with a global solution for this problem?

NaDa <3, MMA <3, Bisu <3,
Probe1
Profile Blog Joined August 2010
United States17920 Posts
Last Edited: 2011-08-21 14:03:50
August 21 2011 02:04 GMT
#2
It'd help if you quit smoking cigars when you're trying to solve complex formulas.

Edit: <3 I meant no cruelness but looking back I was a bit crass. Thanks for not jumping down my throat for the joke :p
우정호 KT_VIOLET 1988 - 2012 While we are postponing, life speeds by
Sgany
Profile Blog Joined July 2010
United Kingdom790 Posts
August 21 2011 02:07 GMT
#3
On August 21 2011 11:04 Probe1 wrote:
It'd help if you quit smoking cigars when you're trying to solve complex formulas.


Fixed :D Thanks for that sir
NaDa <3, MMA <3, Bisu <3,
cz
Profile Blog Joined August 2007
United States3249 Posts
August 21 2011 02:11 GMT
#4
On August 21 2011 11:07 Sgany wrote:
Show nested quote +
On August 21 2011 11:04 Probe1 wrote:
It'd help if you quit smoking cigars when you're trying to solve complex formulas.


Fixed :D Thanks for that sir


Thanks for what?
Lixler
Profile Joined March 2010
United States265 Posts
Last Edited: 2011-08-21 02:12:24
August 21 2011 02:11 GMT
#5
I too have devoted much thought to this most interesting of problems. Basically, we assume a constant loading rate and assume that this rate is lower than the playing rate, which is always 1 second/1second. In order to pause the least, we need our loaded amount to reach the total at exactly the same moment our watched amount reaches the total. So we need to pre-load Total - Loading rate*playtime. But playtime = total, so we can simplify to total*(1-loading rate). For a video of, say, 10 seconds and a loading rate of .5 seconds/second, we get that we need to load 5 seconds in advance. During those 5 seconds, we will load 2.5 seconds, putting us at 7.5 seconds. During those 2.5 seconds, we will load 1.25 seconds, putting us at 8.75 seconds. And we will asymptotically approach having watched the video, exactly as Zeno would have predicted.
huameng
Profile Blog Joined April 2007
United States1133 Posts
August 21 2011 02:12 GMT
#6
Can you explain what that ratio means? I feel like just finding the sum of an infinite geometric series will get your answer but then again I don't really understand your post.
skating
Sgany
Profile Blog Joined July 2010
United Kingdom790 Posts
August 21 2011 02:12 GMT
#7
On August 21 2011 11:11 cz wrote:
Show nested quote +
On August 21 2011 11:07 Sgany wrote:
On August 21 2011 11:04 Probe1 wrote:
It'd help if you quit smoking cigars when you're trying to solve complex formulas.


Fixed :D Thanks for that sir


Thanks for what?


When I typed 3V: 7B it came up as 3V:7B, he pointed out the error
NaDa <3, MMA <3, Bisu <3,
cz
Profile Blog Joined August 2007
United States3249 Posts
August 21 2011 02:13 GMT
#8
On August 21 2011 11:11 Lixler wrote:
I too have devoted much thought to this most interesting of problems. Basically, we assume a constant loading rate and assume that this rate is lower than the playing rate, which is always 1 second/1second. In order to pause the least, we need our loaded amount to reach the total at exactly the same moment our watched amount reaches the total. So we need to pre-load Total - Loading rate*playtime. But playtime = total, so we can simplify to total*(1-loading rate). For a video of, say, 10 seconds and a loading rate of .5 seconds/second, we get that we need to load 5 seconds in advance. During those 5 seconds, we will load 2.5 seconds, putting us at 7.5 seconds. During those 2.5 seconds, we will load 1.25 seconds, putting us at 8.75 seconds. And we will asymptotically approach having watched the video, exactly as Zeno would have predicted.


Zeno, the guy who works at Best Buy? Never knew he was good about this stuff, even tho he sold me a sweet LG plasma a week ago...
Hypertension
Profile Joined April 2011
United States802 Posts
August 21 2011 02:19 GMT
#9
How long it takes to buffer 1 second = B
Length of video in seconds = V
Waiting time = B*V-V
Buy boots first. Boots good item.
Sgany
Profile Blog Joined July 2010
United Kingdom790 Posts
August 21 2011 02:22 GMT
#10
On August 21 2011 11:19 Hypertension wrote:
How long it takes to buffer 1 second = B
Length of video in seconds = V
Waiting time = B*V-V


That is simple to work out, what I want to know is the time it takes for the video WHILE buffering to reach a point where it is not completely buffered, but I can play it without it having to buffer at all.
NaDa <3, MMA <3, Bisu <3,
Severedevil
Profile Blog Joined April 2009
United States4839 Posts
Last Edited: 2011-08-21 02:33:51
August 21 2011 02:24 GMT
#11
Okay. You know how long the video is supposed to last; we'll call that the 'video time' and denote it by v. You don't know how long the video will take to buffer; we'll call that the 'buffer time', b.)

Now, how long do you have to pause your video and let it pre-buffer? The answer is however long it takes to buffer the full video, minus the amount of time it takes to play the full video, or b - v. If you want that as a percentage of the total buffer time, it's (b - v) / b, which is equal to 1 - (v / b).

You've already found v / b; it's the ratio you calculated. So just subtract it from 1, and you're done. (Multiply by a 100 if you want a percentage.)

So, for 10v:12b, you get 1 - (10/12) = ~17%. (This is the 'critical mass' point. You can start playing the video, and it will finish buffering right before you finish watching it. Assuming the video buffers at a constant rate, which may not be true.)

Also, I'm stealing this as a highly relatable algebra problem for students.
My strategy is to fork people.
sidr
Profile Blog Joined May 2008
United States55 Posts
Last Edited: 2011-08-21 02:31:04
August 21 2011 02:29 GMT
#12
I may be understanding this wrongly, but suppose we have L seconds left in our video and we buffer at a rate or R (R < 1, else no problem) playseconds/second. Then, buffering P (0<P<1) percent of the way and then playing the rest of the video, we want time in playseconds to buffer the rest = (L-PL) / R = L. Thus, L-PL = RL so PL = (1-R) L or P = 1-R. For your case, if R = (10 playseconds) / (12seconds), P = 1/6, i.e. if you let the video buffer for up to 1/6 of the remaining time, then play, you should have uninterrupted playback. I'm unsure exactly what critical mass means in your statement, however, so I may have completely misunderstood the problem

Edit: darn beaten
zEMPd
Profile Joined June 2011
Angola259 Posts
August 21 2011 02:30 GMT
#13
I have come up with the answer 7.
Hypertension
Profile Joined April 2011
United States802 Posts
August 21 2011 02:34 GMT
#14
On August 21 2011 11:22 Sgany wrote:
Show nested quote +
On August 21 2011 11:19 Hypertension wrote:
How long it takes to buffer 1 second = B
Length of video in seconds = V
Waiting time = B*V-V


That is simple to work out, what I want to know is the time it takes for the video WHILE buffering to reach a point where it is not completely buffered, but I can play it without it having to buffer at all.



That is the waiting time, if you wait B*V-V seconds, you can start watching safely, assuming your internet has zero hiccups.
Buy boots first. Boots good item.
Sgany
Profile Blog Joined July 2010
United Kingdom790 Posts
Last Edited: 2011-08-21 02:43:28
August 21 2011 02:35 GMT
#15
On August 21 2011 11:24 Severedevil wrote:
Okay. You know how long the video is supposed to last; we'll call that the 'video time' and denote it by v. You don't know how long the video will take to buffer; we'll call that the 'buffer time', b.)

Now, how long do you have to pause your video and let it pre-buffer? The answer is however long it takes to buffer the full video, minus the amount of time it takes to play the full video, or b - v. If you want that as a percentage of the total buffer time, it's (b - v) / b, which is equal to 1 - (v / b).

You've already found v / b; it's the ratio you calculated. So just subtract it from 1, and you're done. (Multiply by a 100 if you want a percentage.)

So, for 10v:12b, you get 1 - (10/12) = ~17%.

Also, I'm stealing this as a highly relatable algebra problem for students.


I love you and the other guys who mentioned this <3 It is a lot simplier if you do not use odd B to V ratios like 3v: 7b and ratios like 1v: 7b instead thank you sir :D
NaDa <3, MMA <3, Bisu <3,
ghrur
Profile Blog Joined May 2009
United States3786 Posts
August 21 2011 02:35 GMT
#16
On August 21 2011 11:24 Severedevil wrote:
Okay. You know how long the video is supposed to last; we'll call that the 'video time' and denote it by v. You don't know how long the video will take to buffer; we'll call that the 'buffer time', b.)

Now, how long do you have to pause your video and let it pre-buffer? The answer is however long it takes to buffer the full video, minus the amount of time it takes to play the full video, or b - v. If you want that as a percentage of the total buffer time, it's (b - v) / b, which is equal to 1 - (v / b).

You've already found v / b; it's the ratio you calculated. So just subtract it from 1, and you're done. (Multiply by a 100 if you want a percentage.)

So, for 10v:12b, you get 1 - (10/12) = ~17%. (This is the 'critical mass' point. You can start playing the video, and it will finish buffering right before you finish watching it. Assuming the video buffers at a constant rate, which may not be true.)

Also, I'm stealing this as a highly relatable algebra problem for students.


What this guy said. It's basically a geometric series.
darkness overpowering
itachisan
Profile Blog Joined June 2011
Canada109 Posts
August 21 2011 03:08 GMT
#17
nerds

User was warned for this post
SarR
Profile Joined June 2011
476 Posts
August 21 2011 05:41 GMT
#18
On August 21 2011 12:08 itachisan wrote:
nerds

User was warned for this post

Paraphrase:-
"Watching all these people talk about stuff that I cant understand makes me feel like a dumbass and left out because it reminds me that I'm intellectually inadequate which renders me unable to participate in intelligent discussions. In order to salvage some pride, I'm going to attempt to make them feel like they are the losers by labeling them using a word which traditionally carries such connotations thereby making me feel superior by virtue of being intellectually inadequate. In other words I get to be "cool" by not knowing shit"
itachisan
Profile Blog Joined June 2011
Canada109 Posts
August 21 2011 15:52 GMT
#19
On August 21 2011 14:41 SarR wrote:
Show nested quote +
On August 21 2011 12:08 itachisan wrote:
nerds

User was warned for this post

Paraphrase:-
"Watching all these people talk about stuff that I cant understand makes me feel like a dumbass and left out because it reminds me that I'm intellectually inadequate which renders me unable to participate in intelligent discussions. In order to salvage some pride, I'm going to attempt to make them feel like they are the losers by labeling them using a word which traditionally carries such connotations thereby making me feel superior by virtue of being intellectually inadequate. In other words I get to be "cool" by not knowing shit"


^ nerd.

User was temp banned for this post.
xxpack09
Profile Blog Joined September 2010
United States2160 Posts
August 21 2011 16:10 GMT
#20
On August 22 2011 00:52 itachisan wrote:
Show nested quote +
On August 21 2011 14:41 SarR wrote:
On August 21 2011 12:08 itachisan wrote:
nerds

User was warned for this post

Paraphrase:-
"Watching all these people talk about stuff that I cant understand makes me feel like a dumbass and left out because it reminds me that I'm intellectually inadequate which renders me unable to participate in intelligent discussions. In order to salvage some pride, I'm going to attempt to make them feel like they are the losers by labeling them using a word which traditionally carries such connotations thereby making me feel superior by virtue of being intellectually inadequate. In other words I get to be "cool" by not knowing shit"


^ nerd.


rofl

gets warned then immidiately makes the same post again

Is there a reason you agressively lash out at people who have different interests than you?
LordOfDabu
Profile Blog Joined December 2003
United States394 Posts
August 21 2011 18:12 GMT
#21
So let's make the problem a bit harder since I think the current one has been solved.

Let's say that a video has length T and that at time t of the video, the video/buffer ratio is given by r(t). (Above we did the case when r(t) is constant for all t). Say, for example, the video is T=10 seconds, and that the ratio is given by r(t) = (t+1)/11, 0 < t < T. What is the minimum time that you will remain paused throughout the video?

Not sure if this makes sense, but I believe a simple answer can still be given (using Calculus), provided r(t) isn't too messy. Curious to see if anyone gets an answer that agrees with mine.

My answer: + Show Spoiler +
I think it's just (int_0^T 1/r(t) dt) - T
Think fast. Click faster.
Normal
Please log in or register to reply.
Live Events Refresh
IPSL
16:00
Ro8 M3
Bonyth vs Dewalt
Liquipedia
PSISTORM Gaming Misc
15:55
FSL TeamLeague: PTB vs ASH
Freeedom21
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ByuN 684
BRAT_OK 65
MindelVK 26
StarCraft: Brood War
Britney 29273
Horang2 899
Zeus 611
actioN 424
ggaemo 326
firebathero 164
Hyun 135
Leta 125
Barracks 66
Movie 65
[ Show more ]
scan(afreeca) 30
910 30
ToSsGirL 26
Rock 18
Shine 18
JYJ 15
ajuk12(nOOB) 13
Dota 2
qojqva1908
420jenkins333
Counter-Strike
tarik_tv7409
fl0m7351
Heroes of the Storm
Khaldor425
Other Games
singsing2389
B2W.Neo921
Mlord769
FrodaN479
byalli439
crisheroes179
DeMusliM126
KnowMe88
Trikslyr52
UpATreeSC36
uThermal5
Organizations
Other Games
EGCTV930
gamesdonequick184
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• Airneanach54
• Pr0nogo 6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis2690
• Jankos2271
Counter-Strike
• C_a_k_e 1641
• Shiphtur146
Upcoming Events
BSL22 NKC (BSL vs China)
2h 4m
XuanXuan vs Jaystar
Mihu vs Messiah
eOnzErG vs Dewalt
Bonyth vs Jaystar
TerrOr vs Messiah
XuanXuan vs Mihu
eOnzErG vs Jaystar
Replay Cast
7h 4m
WardiTV Spring Champion…
18h 4m
GSL
19h 4m
IPSL
23h 4m
Hawk vs Julia
Patches Events
1d
BSL22 NKC (BSL vs China)
1d 2h
Dewalt vs Messiah
Bonyth vs Mihu
TerrOr vs XuanXuan
eOnzErG vs Messiah
Jaystar vs Mihu
Dewalt vs XuanXuan
Bonyth vs TerrOr
Replay Cast
1d 7h
WardiTV Weekly
1d 18h
Monday Night Weeklies
1d 23h
[ Show More ]
Sparkling Tuna Cup
2 days
The PondCast
3 days
Douyu Cup 2020
4 days
Oliveira vs Trap
Jieshi vs XY
soO vs FanTaSy
TY vs Coffee
Douyu Cup 2020
5 days
Neeb vs Impact
MacSed vs Cyan
Scarlett vs Kelazhur
INnoVation vs Dear
Douyu Cup 2020
6 days
Maestros of the Game
6 days
herO vs Classic
Maru vs Serral
BSL22 NKC (BSL vs China)
6 days
Liquipedia Results

Completed

Proleague 2026-06-19
uThermal 2v2 2026 Main Event
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 1
SCTL 2026 Spring
Maestros of the Game 2
WardiTV Spring 2026
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026

Upcoming

CSL Season 21: Qualifier 2
CSL 2026 Summer (S21)
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
Douyu Cup 2026
BCC 2026
Light HT
Heroes Pulsing #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.