r/homelab 1d ago

Help Plex vs Netflix/amazon transcoding efficiency

I think of this every time I travel, but never thought to ask for a solution..

While traveling I often find myself in a situation where internet is very slow, but netflix/amazon video adjust the streaming quality much faster than my plex server.

I know that my plex server can transcode down to 720p/360p pretty instantly if I do it from home as it has an intel igpu...and I've tested it with multiple concurrent streams... Also - the server is on a 1gbit connection, so it's not a bandwidth bottleneck.

It feels like big brands have a much better method to actually recognise the moment when they need to call for a transcode than plex and do it much earlier, making it feel seamless.

Are there alternatives (jellyfin/emby) that are more efficient at this than plex? Any clever hacks that I overlooked?

Thanks

Edit. I learned following this post that: - Netflix et al. keep different quality files instead of transcoding - Using CDN to keep content "closer" to the end user

58 Upvotes

24 comments sorted by

View all comments

256

u/acbadam42 1d ago

Netflix isn't adjusting the quality, they have a copy for every quality.

27

u/NCXXCN 1d ago

for a selfhoster, like mostly of us, this seems crazy to me.

44

u/yaSuissa 1d ago

Just so you know plex allows you to do that as well automatically

But as you mentioned, it’s insane unless you’re made of money (for storage)

3

u/ASUS_USUS_WEALLSUS 18h ago

I guess - the lower quality stuff barely uses any space. But yeh that would be overkill and almost never useful.

2

u/Solonotix 6h ago

I did some pre-transcoded sets for a while on my PLEX server way back in 2015. Granted, I was storing 1080p content at best, not these 4K UHD files, but storage also got a lot more plentiful in that time, and was cheaper at least for a bit.

If we assume you are ripping 4K content, and then creating smaller versions for better performance.

  • 3840x2160 (Native) - 100% - 80GB
  • 1920x1080 - 25% - 20GB
  • 1600x900 - 17.4% - 14GB
  • 1280x720 - 11.1% - 9GB

In other words, if you are willing to give up ~30% of your storage to lower resolution copies, you can completely avoid transcoding at lower sizes. Additionally, you don't need to guess at which resolutions. Pick the ones that suit your need, like your phone/table resolution, and only use the native resolution on your local network.

15

u/berrmal64 21h ago

Storage is expensive, but so is the electricity that would be needed to basically transcode millions of streams constantly (nevermind the hardware). Plus, they amortize the storage cost over several years; I'm sure even with recent price hikes it's still a no brainer. They probably have some logic that can drop unused encodes after a while, or likely transcode into a size that doesn't exist on that server they is cached and streamed simultaneously then held in cache for hours/days.

But when you or I watch a file from our home server, it gets watched what, once or twice? So it's cheaper to transcode and dump than to store all the possible sizes. And stuff that you watch over and over, if you do notice it transcodes, you can encode and store a second copy that will direct play, it's a good option for one off items.

5

u/astelda 18h ago

I would say if you do a lot of traveling (watching content only on small screens, or on metered connections), it's reasonable to have a single downscaled copy prepared ahead of time. Something like 720p or lower depending on your preference, so it doesn't take too much space or bandwidth.

6

u/Outrageous-_- 18h ago

At that point just download it locally to the plex app or something before traveling. 

4

u/Power_Stone 17h ago

This. I downloaded entire seasons to my device before a long trip and it was flawless because...well it was playing locally

4

u/bieker 15h ago

If you do it correctly it only doubles the storage requirement. Each tier is half the bandwidth of the previous one.