XO.PL / IT Made Fun
PL / EN
IT Made Fun

Technology explained in human terms. No magic, no marketing fluff. Just useful examples.

Simple explanations without sacrificing technical accuracy.

Menu & Topics

Home Page
Navigation
SearchFavorites
Networking16RoutingAudio version availableIP AddressesDHCPNATTCP and UDPDNSTTLTraceroutePing, Jitter and LossDoS and DDoSQoSMTU and MSSVPNHTTP & HTTPSSSL/TLS CertificatesBGPOSI ModelNetwork SwitchRouterWireless Access Point
Internet11BrowsersCookiesCachingProxyCDNEmailInstant MessagingVoIPFile TransferCloudStreamingSearch Engines
Data & Storage4BackupsData RecoveryData EncryptionDatabases
Operating Systems4WindowsLinuxmacOSAndroidiOS / iPadOSProcessesThe KernelFile Systems
IT Security1IT Security BasicsSecurity PolicyPhishingPasswords and MFAFirewalls
Hardware2Data StorageRAIDCPURAMHDD and SSD
Software-UpdatesSoftware BugsOpen Source
Programming-VariablesLoopsDebugging
Read or listen to this article onlineScan the QR code to open this article on XO.PLArticle source:https://xo.pl/it-made-fun-inet-streaming
QR Code
Internet

Streaming: a cinema where the movie arrives in pieces

Greg bought a ticket to a 4K screening at the Buffer Cinema. He sat in the front row, opened his popcorn and watched an actor freeze on screen with his mouth wide open. “PROJECTIONIST! IS THIS A MOVIE OR A PHOTOGRAPH?!” “A movie, Greg. The next piece just hasn't arrived yet.” 🎬🍿🤣

The whole movie doesn't have to arrive first

— How can you show a movie you haven't received in full?! — Greg asked.

— We get it gradually — replied Agnieszka, the cinema manager. — No need to wait for one giant truck loaded with film reels.

Streaming delivers audio or video so playback can start before the entire item has been downloaded. A player receives data, prepares it and plays it at the right pace. Many modern services deliver short segments, although other streaming methods exist too.

— So I don't need the whole movie before the first scene?

— Usually not.

— The movie grows as I watch?

— More data arrives during playback.

— Then make it arrive faster! My popcorn is getting cold.

— Greg, your popcorn was cold when you came in.

The buffer: spare reels backstage

Before the next screening, Agnieszka placed several reels beside the projector.

— Why keep those there?

— So we can continue playing when a delivery is a little late.

The player uses a buffer, keeping some data ready before displaying it. Short disruptions don't necessarily interrupt playback. But if the player consumes data faster than it arrives, the buffer can run empty and the dreaded spinning wheel appears.

— A full buffer means we're safe?

— For a while, not forever.

— Why does playback sometimes take a moment to begin?

— The player is building its initial reserve.

— I want enough buffer for an entire season!

— Then we'd be back to waiting for an enormous download.

Greg glared at the loading spinner.

— Worst actor in the entire movie. And he keeps coming back.

I paid for 4K and got a potato

Suddenly the picture became blurry.

— WHY IS THERE A POTATO ON THE SCREEN?! — Greg yelled.

— The player reduced the quality to keep the movie running — explained Agnieszka.

In adaptive streaming, the provider prepares several versions of a video at different resolutions and bitrates. The player estimates network conditions and buffer levels, then chooses suitable segments. If delivery slows down, it may switch to a smaller version; if conditions improve, it can switch back.

— So a 4K television doesn't guarantee constant 4K streaming?

— Correct. The available stream versions, connection, device and service conditions all matter.

— And 1080p is a disaster?

— Not for most people. For you, apparently, the end of civilization.

— I demand a refund for missing pixels!

Bitrate, codecs and trucks full of pixels

Two trucks arrived at the cinema. One carried a huge amount of data; the other, much less.

— Are they the same movie? — Greg asked.

— The same story, encoded in different versions.

Bitrate tells you how much data is used per unit of time. Higher bitrate can preserve more detail, but it isn't the only measure of quality. Codecs such as H.264, H.265/HEVC and AV1 compress images differently, so two equally watchable versions may have very different sizes. The playback device also needs to support the codec.

— Better packing for the same scene?

— Exactly. But encoding takes computing work, and decoding needs suitable hardware or software.

— Why not fit every film in one kilobyte?

— Nobody has invented a codec that compresses reality down to Greg's wishes.

HLS and DASH: the couriers' timetable

Agnieszka showed Greg the delivery plan on the wall.

— Addresses of the next pieces, plus the available quality variants.

— A timetable?

— A useful comparison.

Popular adaptive streaming methods include HLS and MPEG-DASH. The player first downloads a description of the stream — a playlist or manifest — then requests the appropriate media segments. This commonly works over HTTP or HTTPS, allowing web infrastructure and CDNs to help with delivery.

— The movie uses the same roads as websites?

— In many systems, yes.

— Can I skip straight to the ending?

— If the content and server permit it, the player can request segments from that part.

— Excellent. The ending, without the beginning.

— Greg, you bought a thriller ticket, not a summary for impatient people.

CDN puts cinemas closer to the audience

An exhausted courier arrived from distant headquarters.

— WHY CARRY EVERY REEL FROM THE OTHER SIDE OF THE PLANET?! — Greg demanded.

— We don't always have to — said Agnieszka. — Popular pieces may already be stored closer to viewers.

A CDN can deliver video segments from distributed locations, reducing requests to origin servers and often shortening the network route. That doesn't guarantee flawless playback: the user's connection, server load, application and device still matter.

— Like getting pizza from the local branch, only now it's a chase scene?

— Exactly. And please don't try to eat the segments.

— What if packets arrive badly?

— The player can buffer, recover and adjust quality, but it can't perform miracles.

— No miracles again. This entire Internet needs better marketing.

Live: the ending hasn't happened yet

A sports commentator entered the theatre.

— Live match coverage starts shortly!

— Please fast-forward to the final score — Greg demanded.

— The match is still happening.

— THEN WHY DON'T YOU HAVE THE WHOLE MOVIE?!

VOD lets you watch material that has already been prepared, on demand. In live streaming, the content is captured, encoded, delivered and played while the event is happening. Each stage adds time, so one viewer may see a goal later than someone at the stadium or using another service.

— Can I get absolutely zero delay?

— Not in practice. Some approaches reduce latency, but there are trade-offs involving buffering and resilience.

— My neighbour might shout GOAL before I even see the shot?

— Yes.

— Then mute him.

— He's a neighbour, not a chat notification.

Fast Internet, frozen movie

Greg held up a speed test result.

— FIVE HUNDRED MEGABITS! AND THE MOVIE FROZE!

— One average speed-test result doesn't tell you everything about the path to this service — said Agnieszka.

Streaming needs sufficient throughput over time. Short-term drops, unreliable Wi-Fi, device overload, player bugs and problems on the provider's side can all affect playback. A small buffer and sudden variations can stall a movie even on a nominally fast connection.

— Should I upgrade to gigabit?

— First let's find out whether bandwidth is the problem.

— And if it isn't?

— No need for a wider highway when the exit ramp is closed.

— Why does troubleshooting always ruin my shopping plans?

Can I take the movie offline?

Greg approached the ticket desk.

— I'd like to download this to watch on a train without Internet.

— Some services allow that, subject to device, time and licence restrictions.

Streaming doesn't mean every item can be freely saved and kept forever. Services may use DRM, technology that controls access to protected content. Even downloaded video may need periodic licence checks or become inaccessible when rights expire.

— So I paid, but I don't own a permanent copy?

— That depends on the service terms. Often you pay for access, not a physical copy.

— What about the popcorn?

— Yours, until you eat it.

— Finally, a clear licence.

The final screening report

The end credits appeared.

— Well? — asked Agnieszka.

— Great film. One buffering wheel, two potato pictures and three arguments with my neighbour.

— A remarkably peaceful screening.

Streaming supplies audio and video as playback progresses. Buffers smooth brief disruptions, adaptive quality responds to conditions, and segments, codecs and CDNs make delivery efficient. Live streaming adds the challenge of delay between the event and the viewer.

— So everything works?

— Today, yes.

— Let's watch the next episode.

— It's released tomorrow.

— TOMORROW?! BUT I HAVE FAST INTERNET!

— Greg, the Internet still can't deliver the future.


The Buffer Cinema management reports: every segment eventually arrived, and the projector survived an attempt to pour extra megabits into it by hand. Greg complained that the 4K picture briefly looked like a potato. The complaint was rejected: “The potato was part of the set design.” The neighbour is still shouting GOAL before the stream catches up. 🎬🍿🤣❤️