this post was submitted on 30 Jan 2024
107 points (95.0% liked)

Technology

58303 readers
4 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

I'm wanting to set up my external Seagate drive with all my media on it to run a jellyfin server but I'm not sure which device to use. I'm thinking a raspberry pi but I'm not sure which one. From what I can tell from running the server on my laptop it is fairly CPU intensive for lower end systems

Edit: so general consensus seems to be, don't use a pi, it's not powerful enough

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 33 points 10 months ago (3 children)

Consider how many devices will use it at the same time.

Only you? A pi is fine.

A few friends too? An old computer with a rough equivilent of i5-2300 with integrated graphics should do the trick. 4GB Ram will do fine.

A small group that'll use it constantly? Plug in a GPU that supports hardware encoding, (Some low-end cards like GT 1030 doesnt support this feature, check this properly.) , upgrade RAM a notch more, like 8GB.

You can scale it higher for more people via logic; you'll also know how much storage you'll need; but it'll be a lot if you want to satisfy a huge group of people.

[–] [email protected] 16 points 10 months ago (1 children)

Any more recent Intel CPU with quicksync works well too. I have a $100 CAD i3 powering Jellyfin and it's able to handle ~5 1080p streams going at a time without any issues.

[–] [email protected] 12 points 10 months ago

+1 for QuickSync. Intel 9th gen can transcode HEVC and they don’t have a transcode session limit like Nvidia. An i9-9900K will transcode a half dozen 4K streams without breaking a sweat. I don’t even run a GPU in my plex box anymore.

If you’re running your media server in docker, make sure you pass /dev/dri into the container so it can find the GPU.

[–] [email protected] 10 points 10 months ago

Only you? A pi is fine.

I struggle to recommend using such a low end device for any media serving related proprieties that might require transcoding.

Even with the native Plex Media Server that my Shield TV Pro has and I being the main user it led to some undesired transcoding (like anime video files) making it struggle at times, which I consider is better suited than the Pi for these activities.

Usually you want to avoid transcoding, but sooner or later you will face it, and if you have more users using your server then this scale grows.

[–] [email protected] 7 points 10 months ago (2 children)

Me and my girlfriend but honestly I think only one instance will be going at a time

[–] [email protected] 15 points 10 months ago (2 children)

I use a raspberry pi 4 with 3 simultaneous sessions sometimes. Direct play, it works fine. It can't transcode at all, though.

[–] [email protected] 1 points 10 months ago

Same. Works fine as long as it's x264 content

[–] [email protected] 1 points 10 months ago

I second that. I did reinstall it recently though, the whole system, and switched to docker for Jellyin. I noticed a few new movies are transcoding now and for one stream it is actually bearable. But I have no idea why it didn't work on my first install and why it is working now.

[–] [email protected] 6 points 10 months ago (2 children)

If space isn't an issue, getting a cheap office surplus machine like a Dell Optiplex SFF line for ~$100 US vs the USFF so that it supports low profile PCI-E for a hba card for more storage, or nvidia quadro p400 for better encoding at like $30-50.

It will probably use a bit more wattage, especially with more HDDs, but still should be around 50w idle for even the old systems.

[–] [email protected] 3 points 10 months ago

Yeah no we live in a tiny 700 sq ft apartment lol, smaller is better

[–] [email protected] 2 points 10 months ago

If they're getting a used desktop (unless it's really old), it probably already has an Intel CPU with a decent enough integrated GPU to do transcoding without the GPU. Not only will that save OP money on their setup, but also on their power bill.

[–] [email protected] 31 points 10 months ago* (last edited 10 months ago) (1 children)

Someone did the math at /r/Plex and an N100 based Intel mini pc was the most efficient.

It has hardware transcoding support and uses under 10W of power

EDIT: found the link: https://www.reddit.com/r/PleX/comments/1ae6683/intel_n100_vs_ryzen_7_1700_1st_gen_an_interesting/

[–] [email protected] 8 points 10 months ago (2 children)
[–] [email protected] 4 points 10 months ago

That's the exact one I upgraded to two weeks ago. Runs jelly, sonarr, radarr, bazaar, sabnzbget and overseerr with a 24tb lvm raid on USB. Barely touches the amount of RAM installed and live transcodes two 1080p movies simultaneously.

[–] [email protected] 3 points 10 months ago (1 children)

Yea, I think there was one from MSI too and a dozen other manufacturers on Amazon, eBay and AliExpress.

[–] [email protected] 1 points 10 months ago

My beelink one is pretty OK. It gets a bit pissy when I try to debloat win11, but I haven't bothered installing Linux on it yet.

I did modify it to install a good wifi antenna, though. Was pretty easy and only cost $10.

[–] [email protected] 17 points 10 months ago (4 children)

A Raspberry Pi will work as a Jellyfin server, but it will really struggle if it has to transcode any media.

If you want your Jellyfin server to be up and accessible at all times, I would suggest getting a second hand PC. I’m personally a fan of small form factor mini PCs. Anything with a 7th gen Intel processor or newer, with integrated graphics, will be able to hardware transcode anything but AV1.

[–] [email protected] 3 points 10 months ago

Hmm, I have an old MOBO and parts from back in the day I used to play garrys mod all the time, maybe that would work

[–] [email protected] 2 points 10 months ago

I'm running Jellyfin on Pi now and it's exactly like this. I either make sure I download the right version from the start or use handbrake to do a bulk conversion. Works just fine with H264 (H265 I don't recall).

load more comments (2 replies)
[–] [email protected] 9 points 10 months ago (2 children)

If you can get a 7th gen Intel or even a halfway decent basic El cheapo Nvidia card then that will help with transcoding but outside of that anything that runs the interface should be fine.

[–] [email protected] 2 points 10 months ago

This. Not to mention, there are a million Nvidia P4s on Ebay for cheap after everyone dismantled their old mining rigs. Also, they're low-pro cards not any longer than an ITX motherboard.

[–] [email protected] 2 points 10 months ago (1 children)

You don't even need 7th gen. My i7 920 could run it without breaking a sweat.

[–] [email protected] 3 points 10 months ago

The reason why I said 7th gen is because the built-in graphics card can do some pretty good quality transcoding.

It's also nice because on the used market there's quite a few i3 and i5 based 7th gen PCs available for a hundred and change.

[–] [email protected] 7 points 10 months ago* (last edited 10 months ago)

I’ve got it running in a docker container on my Synology, but I’ve been experimenting with a Raspberry Pi 4… and to all those on here talking about how the Pi can’t transcode, you have to do some work to enable hardware transcoding. I went through a whole bunch, but here’s a summary someone else wrote up: https://www.reddit.com/r/jellyfin/comments/ei6ew6/rpi4_hardware_acceleration_guide/

It makes a huge difference. ffmpeg normally is like 8fps, with HW accel, it’s like 50+. It’s why I’m playing with it. Lower power draw and the Synology I’ve got it on now has no HW acceleration and is old and crusty.

[–] [email protected] 5 points 10 months ago (2 children)

Jellyfin server itself isn't all that intensive. My "server" is running on a 13y/o low-end desktop CPU (Pentium E5800, in case you're curious). However, if you noticed your laptop struggling, as others have pointed out, that's probably when it was transcoding. While I want eventually update my server with transcoding hardware, I just disabled transcoding completely for now, and it's pretty workable.

[–] [email protected] 2 points 10 months ago (1 children)

What's the point of transcoding for local serving?

[–] [email protected] 6 points 10 months ago (1 children)

If the client can’t play the codec because of some limitations, you are required to transcode. You can, of course config *arr services to pick only wanted codec, or skip "bad" codecs

[–] [email protected] 1 points 10 months ago (1 children)

Interesting. I think ccwgtv can read h264 and h265, I guess av1 would be a "bad" codec then?

[–] [email protected] 3 points 10 months ago

It depends on device, my apple tv on my TV screen has sometimes problems with specific audio channels as well as with some 4k HEVC HDR files. Most it is performance of the device running the client, or it can also be some licensing stuff. On Apple TV, jellyfin uses the the video player provided from apple, I assume, at least in plex it is like that. This comes with the limitation, that some codecs are supported by apple.

[–] [email protected] 1 points 10 months ago

To be fair, that laptop is running windows in all its bloated glory and that probably didn't help

[–] [email protected] 5 points 10 months ago

I just use and old laptop

[–] [email protected] 4 points 10 months ago (1 children)

I use a second-hand office fleet Thinkcentre m910q (with proxmox on bare metal then a bunch of VMs, including Ubuntu, which handles my Plex server).

Cost me about 150 AUD and I'm incredibly happy with it.

[–] [email protected] 1 points 10 months ago (1 children)

Add a secondhand slot-powered RTX A2000 GPU, transcoding won't be an issue.

[–] [email protected] 1 points 10 months ago

Why would I need that?

[–] [email protected] 4 points 10 months ago

I use a Synology nas. It also runs pihole, and is my back up for photos and videos etc. as well as my network file server and can be my VPN as needed when using public hot spots.

I'm not currently running the arrs on it too, but I plan to. They are already set up on my PC, so next time i need to change anything, I'll load them on the nas. None are particularly resource intensive, but need more than a pi.

I recommend looking at what your overall needs are. Will you do any more than serving locally. Do the other features of a nas appeal? For me, running a 24/7 laptop is more inefficient and I don't have a spare, like you. A nas was pretty cheap with other features I use.

[–] [email protected] 3 points 10 months ago

It's not that ras pi are not powerful enough, it's more that they don't have built in hardware encoding for h.264 and h.265. I currently use a pi4 and it "works" but I have a fancy encoding script that handles a queue. It's not perfect and spoilers the CPU when processing. And I died a little when I read that the new pi doesn't have it either. So in sort, make sure the video card\chip can encode and decode video and audio.

[–] [email protected] 3 points 10 months ago

fwiw, I run emby on my fileserver using an atom C3558 and it can handle h264 and below just fine. h265 needs more cpu though, so. transcoding is transcoding.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

You’ll be disappointed with an RPi any time you need to transcode. If you’re only going to be streaming locally and you know that all of your devices support DirectPlay, then great. Go ahead. But if you think you might need transcoding, then you’ll likely want to look elsewhere for something that will actually be able to keep up with transcoding.

Consider looking for something like an HP EliteDesk. You can pick up a refurb G5 model for anywhere from $200-$400. Hell, Amazon probably has refurbs even cheaper than that; They’re commonly used in office buildings for desk workers, then recycled when IT’s 3-year replacement cycle comes around. So there are a lot of used ones on the market, which have only been used for basic things like word processing and excel spreadsheets. The refurb is basically just a matter of adding a new SSD to it (because IT will have ripped the drive out when they recycled it) and giving it some new thermal paste and a blast of air. It’ll be beefy enough to run 2k transcoding decently, while still maintaining a MicroATX size.

Maybe throw an external case fan on it, since it’s passively cooled and tends to run warm? But that’s honestly optional, especially if you’re only using it for Jellyfin and the *arr suite.

It’s hard to make specific recommendations without knowing a budget. You mentioned the RPi so I’m assuming your budget is low. But I just wanted to caution you against the RPi, since you’ll quickly find that it is underpowered for video transcodes.

If you’re dead set on using an SBC for it, maybe something a little more powerful? I’m not super up-to-date on SBC stuff right now, but I know there are several competitors to RPi that offer better specs. The issue with competitors has (at least last time I looked at them) been with software support. The RPi dominates the market, so there is a lot of software written for it. But competitors have historically struggled to get the same kind of support, so you’ll want to do some research to make sure your particular SBC will actually have a decent distro available for Jellyfin.

[–] [email protected] 3 points 10 months ago

I'm hosting mine on an old i5-750 (yeah, not 7500...), with an GeForce gt640 and 4GB of ram... Never encountered any problems whatsoever.

I would take a hot take and say, any old pc that you can find will do just fine.

[–] [email protected] 2 points 10 months ago

I been using a Intel n100, you can get a box for just over $100 and use a cheap USB 10TB HDD.

[–] [email protected] 2 points 10 months ago

I have it running on a Raspberry Pi 4 (with a lot of other stuff) and it works great. I'm only direct streaming tho, it's too slow for transcode I think.

[–] [email protected] 2 points 10 months ago (1 children)

just grab one of your old laptops

[–] [email protected] 2 points 10 months ago

Just have the one unfortunately and it's got other uses, may stop by goodwill and see if ones availible

[–] [email protected] 1 points 10 months ago

I'm doing it on a ln i3 6th gen SFF PC. It's holding up quite well for many other things as well. A pi could suffice, but maybe for a single user at a time.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

GMKtec?

Look for a gmktec barebone at AliExpress you wouldn't find anything better on the net.

[–] [email protected] 0 points 10 months ago

I've bought $10 Igel thin client with some quadcore AMD shitcessor. It runs very snappy, even transcodes (that is not snappy), but as I never need to transcode, it works very well for me. I've mounted my TV and Movie & music colections from my NAS with CIFS and it works very well.

[–] [email protected] -4 points 10 months ago* (last edited 10 months ago) (1 children)

Supermicro latest H13 servers are good pieces of hardware. They also can run jellyfin. For optimal longevity, I recommend a Supermicro AS -2025HS-TNR fit with 2 9654, 12 dimms of 64GB DDR5, and 12 20TB HDDs.

So that would be my pick, with the stated requirements.

[–] [email protected] 4 points 10 months ago (1 children)

I mean if I'm looking at a raspberry pi first I think it would be a good assumption to make that £4,200 is a little out of my budget to run a FOSS media server, a little overkill even

load more comments (1 replies)
load more comments
view more: next ›