Blog Engineering

Why Fentra builds its own video player

Playback is the product. Inside the thinking behind Fentra's custom video engine, why iPhone and Android get different ones, and how we measure speed.

A developer in a hoodie working late across two screens

Open Fentra and the first thing you do is watch. Before a single tap, the app has to choose a video, fetch it, decode it and paint the first frame, and it has to do that again every time you swipe. On a short-video platform, playback isn't a feature. It is the product.

That's why Fentra builds its own video player rather than wrapping an off-the-shelf one.

The swipe is the benchmark

Most players are designed for a different job: start one long video and keep it playing smoothly. A feed asks for something else entirely. The next video has to be ready before you ask for it, the one after that has to be warming up, and the one you just left has to let go of its memory without a stutter.

Those are scheduling problems as much as decoding problems. Which videos do you prefetch, and how much of each? How many decoders can you keep alive on a mid-range phone before something else suffers? What happens when the network drops for two seconds in a tunnel? A generic player can't answer those questions for us, because it doesn't know it's inside a feed.

One core, two native engines

Fentra runs on iPhone and Android, and we want them to feel identical: the same videos, the same pace, the same brand. Under the surface they're very different machines, with different hardware decoders, memory models and ways the operating system treats an app that's working hard.

So we share what should be shared and specialise what shouldn't. The logic that decides what to play next, how to order requests and how to recover from failure is common across both platforms. The engines that actually drive decoding and rendering are written for each platform natively, and tuned on the devices people really use. Same data, same decisions, different engines, so swiping feels the same in your hand whichever phone you hold.

Measured on ordinary phones

It's easy to make an app fast on the newest flagship. It's much harder, and much more important, to make it fast on the phone most people actually own, on the network they actually have.

We measure playback continuously on everyday reference devices, not just the latest models, and we compare ourselves against the best apps in the world on the same hardware. The numbers that matter are the ones people feel: how long until the first frame, how often a video stalls, how smooth a swipe is, and how much battery an evening of watching costs.

Encoding is half the story

A player can only play what it's given. The other half of the work happens before a video ever reaches you: how we encode it, which renditions we make, and where we put them so they're close to you. A great player paired with a lazy encoding ladder still feels slow. We treat the pipeline from upload to screen as one system, owned by one set of teams.

Why this matters for the people we hire

Building your own player is a commitment. It means owning bugs nobody else will fix for you, and chasing milliseconds that only show up in aggregate. It also means the work our engineers do shows up directly in how Fentra feels to every person who opens it.

If that's the kind of problem you want, see our open engineering roles, or read how we hire.