this post was submitted on 30 Jan 2024
77 points (96.4% liked)

Technology

59135 readers
6622 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 45 comments
sorted by: hot top controversial new old
[–] lepinkainen@lemmy.world 22 points 9 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.

[–] yokonzo@lemmy.world 3 points 9 months ago (2 children)
[–] lepinkainen@lemmy.world 2 points 9 months ago (1 children)

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

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.

[–] maryjayjay@lemmy.world 2 points 9 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.

[–] CaptainBasculin@lemmy.ml 20 points 9 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.

[–] NotSteve_@lemmy.ca 11 points 9 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.

[–] Technoguyfication@sh.itjust.works 10 points 9 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.

[–] kratoz29@lemm.ee 6 points 9 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.

[–] yokonzo@lemmy.world 4 points 9 months ago (2 children)

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

[–] nerdschleife@lemm.ee 8 points 9 months ago

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

[–] habitualTartare@lemmy.world 2 points 9 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.

[–] yokonzo@lemmy.world 3 points 9 months ago

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

[–] n2burns@lemmy.ca 1 points 9 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.

[–] atomWood@lemm.ee 9 points 9 months ago (3 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.

[–] yokonzo@lemmy.world 3 points 9 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

[–] BrianTheeBiscuiteer@lemmy.world 2 points 9 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).

[–] just_another_person@lemmy.world -3 points 9 months ago (1 children)

Low-end AMD APU will blow any Intel away for this purpose and also have hardware transcoding capabilities.

[–] n2burns@lemmy.ca 6 points 9 months ago

Per Jellyfin's hardware guide, that's only for recent AMD CPUs. If we're looking at budget options (as OP seems to be heading), then we can go with older, used Intel CPUs.

[–] Bizarroland@kbin.social 8 points 9 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.

[–] Meuzzin@lemmy.world 2 points 9 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.

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

[–] thejml@lemm.ee 5 points 9 months ago* (last edited 9 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.

[–] n2burns@lemmy.ca 4 points 9 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.

[–] Poutinetown@lemmy.ca 2 points 9 months ago (1 children)

What's the point of transcoding for local serving?

[–] Petter1@lemm.ee 5 points 9 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

[–] Poutinetown@lemmy.ca 1 points 9 months ago (1 children)

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

[–] Petter1@lemm.ee 2 points 9 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.

[–] yokonzo@lemmy.world 1 points 9 months ago

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

[–] hitmyspot@aussie.zone 3 points 9 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.

[–] BigTrout75@lemmy.world 3 points 9 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.

[–] hylo@fedia.io 2 points 9 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.

[–] JokaJukka@lemmy.world 2 points 9 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.

[–] Falcon@lemmy.world 2 points 9 months ago

I just use and old laptop

[–] powerage@lemmy.ml 2 points 9 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.

[–] redcalcium@lemmy.institute 0 points 9 months ago

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

[–] Unyieldingly@lemmy.world 2 points 9 months ago

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

[–] vox@sopuli.xyz 1 points 9 months ago (1 children)

just grab one of your old laptops

[–] yokonzo@lemmy.world 1 points 9 months ago

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

[–] roterabe@discuss.tchncs.de 1 points 9 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.

[–] BlackSkinnedJew@lemmynsfw.com 1 points 9 months ago* (last edited 9 months ago)

GMKtec?

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

[–] yokonzo@lemmy.world 1 points 9 months ago

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

[–] 7heo@lemmy.ml -2 points 9 months ago* (last edited 9 months ago) (1 children)

Supermicro latest H13 servers are good pieces of hardware. They also can run jellyfish. 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.

[–] yokonzo@lemmy.world 1 points 9 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

[–] 7heo@lemmy.ml -2 points 9 months ago* (last edited 9 months ago)

No budget was stated, and I'm not gonna assume you don't want a "good piece of hardware" because you looked at something 2 orders of magnitude cheaper. If I had the cash, I would definitely get one (or more!) of those bad boys, and would run all my infra on them... I might however in such case still look at an additional SBC just for plugging to the IPMI interfaces and turn the machines on and off at will.