Re:Hundred Rabbits is a small collective exploring the faila...
by danielheath on Thursday August 01, 2024 @07:45PM
(#41134822)
Dynamic bitrate is the main one - the browser & server coordinate to figure out the highest video quality the user can watch without stuttering/buffering.
Re:Hundred Rabbits is a small collective exploring the faila...
by lelandbatey on Thursday August 01, 2024 @07:56PM
(#41134892)
The client can do that 100% client side, you can serve pure static files with a JS player that handles the streaming. All you have to do is chunk the video into small 2-5 second chunks at a variety of nitrates and list them all in an .m3u8 playlist file if the right format.
I know because I explored this for a hobby project of a movie I liked. See here: http://lelandbatey.com/projects/REDLINE-intro/
Use your network inspector to observe your browser requesting the individual chunks over time. Note that my server is just an Apache2 file server.
Re:Hundred Rabbits is a small collective exploring the faila...
by nine_k on Thursday August 01, 2024 @09:38PM
(#41135390)
Pretty cool!
Re:Hundred Rabbits is a small collective exploring the faila...
by sulandor on Friday August 02, 2024 @03:57AM
(#41136952)
always wondered how this handles prebuffering. (i.e. max-prebuffer = chunk-size) ?
Re:Hundred Rabbits is a small collective exploring the faila...
by sulandor on Friday August 02, 2024 @03:41AM
(#41136888)
> any reasonable browser can play off a HTTP stream
most video players also support http and there is no problem with just putting files up.
imho all the streaming tech, drm, hls, adaptive bitrate selection and whatnot, are just commercial fads to increase margin
Re:Hundred Rabbits is a small collective exploring the faila...
by nine_k on Friday August 02, 2024 @11:36AM
(#41139742)
Adaptive bitrate selection seems important if your clients have narrow or unstable bandwidth (e.g. mobile), or when you may get constrained by outgoing bandwidth (/. effect aka HN crowd).
Re:Hundred Rabbits is a small collective exploring the faila...
by sulandor on Saturday August 03, 2024 @04:54AM
(#41145457)
imo this is mainly due to the constraint of keeping clientside pre-buffering as low as possible.
sending the whole file at network-speed usually works fine, but maybe uneconomical at scale especially if coupled with users that skip a lot and tend to not watch the whole thing anyway.
What else am I missing?