I’m looking for some recommendations to improve my homelab. But first a bit of history to explain where I’m at and where I’m going. I currently have a super old Odroid C2 and a Raspberry Pi 4B. Everything is working great, but I’m missing two things in this setup: -The ability to transcode -A NAS Now a little bit about me, I’ve been using Linux for more than a decade, so I know how to do stuff, but when it comes to hardware, I have close to zero knowledge… So I was a bit surprised when I plugged 2 external HDDs on my rpi and it shutdown them after a few minutes. I found out that it was a power supply issue, so I did the first thing that came to my mind at this time: I bought another HDD with external power supply, to then find out that having a self powered and an external powered HDD would still fail (although it took longer).

So now I know my mistakes, I should have gone with a NAS instead. I checked the Synology NAS and found out NAS are actually quite expensive. I’m looking for at least 4 bays. I’ve been looking at some DIY NAS, but I’m a bit lost. I found some builds using a Jonsbo N2 that seems cool but at the same time I’m reading the fans are always running at full speed and I’m afraid that the power consumption will skyrocket.

So to sum up, I would like to have a NAS, ideally that can transcode and is low power. In the beginning, I wanted to have a NAS and a mini-PC that can transcode to replace my Odroid C2. But it seems the NAS are far more expensive than the mini PC. What are the recommendations here?

-Synology (Can it transcode?)

-A DIY (Jonsbo with an ITX board that can transcode)

-A DIY (Jonsbo with an ITX board just powerful enough for a NAS) + a mini PC

-Something else?

My budget was 500€, but it seems I won’t be able to do much below 700€

15 points

Regardless if you use a NUC or NAS, I would recommend focusing on the processor. Make sure it can can handle the type of codec that you’re wanting to transcode to and from (hevc, avc) on the transcoder device. Intel QSV is also pretty nice if your chip supports it and you don’t care too much about quality.

Here’s my (semi) educated opinion: Get a NAS just for storage and retrieval. Get a NUC with a modern chip and run your apps and transcoding on it. I have this in my lab and it allows me to upgrade in the future depending on what my needs are. If I need more processor power, I get a new NUC. If I need more storage, I can add an expansion device and/or replace the NAS completely.

If you combine the storage and transcoding into a single device on the NAS, you’re locked in if your needs change and you will need to start looking at more expensive HCI options.

permalink
report
reply
6 points
*

and you don’t care too much about quality.

QuickSync isn’t too bad these days, and the UHD 770 can easily handle 5+ concurrent 4K transcodes.

This thread on the Emby forum says it can do 18 concurrent transcodes but I’m not so sure about that 🤔. This Reddit thread says 8-10 concurrent 4K transcodes.

permalink
report
parent
reply
4 points

I would vote for running jellyfish off the NAS with powerful hardware Intel 8th Gen and up you should be fine. I personally don’t transcode video on my server only audio.

If I’m not sure about a video format working, I’ll manually re-encode the video with handbrake to h265 or av1. I also have used handbrake to create lower resolution copies of the same movies to reduce bandwidth needs when roaming on LTE.

permalink
report
parent
reply
1 point

Thanks, I didn’t know about handbrake, maybe it can solve my issues if I transcode before playing the media

permalink
report
parent
reply
2 points

Yeah, you can re-encode on your PC to a compatible codec and that should solve your issues

permalink
report
parent
reply
2 points

Thanks

If I have a NAS and a NUC, do I need to have a 10Gb network? I don’t have this right now, that’s why I was trying to build everything in one case.

Also do you know the power consumption of a NUC when idling?

permalink
report
parent
reply
5 points

I don’t think you really need a 10gb network, unless you’re pulling down 4k and 8k video files or if you have over 10 users connecting at a time.

At idle, power consumption of the NUC is very low–about 5 watts. At load, it’s about 100 watts.

permalink
report
parent
reply
2 points

At idle, power consumption of the NUC is very low–about 5 watts. At load, it’s about 100 watts.

100W? What kind of monster NUC are you running? O.o

permalink
report
parent
reply
7 points

How often do you need to transcode? If you’re streaming on your local network, you shouldn’t need to transcode. It’s only needed if you’re streaming while away from home.

permalink
report
reply
3 points

Oh? This is weird, I have disabled transcoding on my rpi and I have some files that won’t play or the subtitles won’t load. I’m playing from my local network on an AndroidTV. I thought this was a file format issue and that transcoding would solve the issue

permalink
report
parent
reply
3 points

It’s possible it’s a file format issue. A video using a common format like H264 or H265 should work fine though. What format is the file and what codecs does it use?

permalink
report
parent
reply
1 point

The need to transcode has nothing to do with location. It has everything to do with the codec support on the client.

permalink
report
parent
reply
1 point
*

Modern clients support most of the modern codecs, so codec support isn’t as bad as in the old days when we had to use sketchy codec packs.

I mentioned the location because the primary reason to transcode is that you don’t have enough bandwidth to stream the original file. That’s not an issue over a LAN.

permalink
report
parent
reply
6 points

I bought myself a second hand Intel Celeron J4105 SBC in a super cheapo mATX case with time bomb power supply and 16GB RAM for ~70-80€ IIRC. I haven’t had a serious use for transcoding yet but that thing has an skylake-era iGPU, so it should be capable of that.

I Added a SATA HBA with Marvell chip (or SIL, don’t get Asmedia) for ~20-30€ and had myself a NAS for like 100€.

10-20W at idle, so that’s about 30€/Year at 0.3€/kWh.

Last year, a new generation of Intel’s ATX SBCs finally released in form of the N100, so look out for those maybe. You could probably achieve basically the same using socketed low-end second hand chips from previous generations; I’d take a look at second hand prebuilts.

I didn’t know about them when I specced mine but “Wolfgang’s channel” on Youtube makes great content about this sort of thing: https://youtube.com/channel/UCsnGwSIHyoYN0kiINAGUKxg

permalink
report
reply
3 points

Here is an alternative Piped link(s):

https://piped.video/channel/UCsnGwSIHyoYN0kiINAGUKxg

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source; check me out at GitHub.

permalink
report
parent
reply
2 points

Thanks I’ll look into this!

permalink
report
parent
reply
6 points

Why don’t you get a server? You can pickup a old desktop for a fairly reasonable price and then install proxmox. From there you will need a pcie sata card and some drives. Create a new TrueNAS VM and pass though the sata card with virtio. You will have a virtual NAS and then you can install whatever you want in other VMs

Alternatively you could do just TrueNAS but if you are to the point you are worrying about transcoding you should go ahead and get going with virtualization.

permalink
report
reply
1 point

I would have, but this is all about the power consumption. Getting an old PC, I’m afraid to be at least around 100W…

permalink
report
parent
reply
4 points

I use an Intel NUC with a recent(ish) Intel CPU that’s good for transcoding and not bad on power. Then a 4 bay DAS. You can either get something with hardware RAID or without and do it in software. I run Debian but another OS might be better for you.

permalink
report
parent
reply
1 point

Got any recommendations for a good DAS with a fair price, either new or used?

I’m looking for something to place three 22 TB drives in, eventually to be expanded in the future, so I’m looking for a DAS with at least three 3.5" bays.

permalink
report
parent
reply
3 points
*

The 4 HDDs alone will do at least 60W, no matter what you connect them to.

CPUs have excellent idling capabilities, and you can control and customize fans.

You may save like 10-20W with a low power PC but you also give up a lot of features — HDDs in a cramped enclosure with one 50-80mm fan going crazy vs having 2x 120mm fans spinning slowly for example.

You also have to figure out offsetting the initial costs — how soon will the money you spend on hardware will be recovered from the power bill savings? If it takes 10 years to break even it may not be worth it to you.

permalink
report
parent
reply
1 point

Indeed, this is something I need to take into account

permalink
report
parent
reply
3 points

Not really unless you are buying a monster. For instance, the i7-6700k has a TDP of 91W. If you go with a Intel i5-6500 it was a TDP of 60W.

If you want really efficiency you could go with a Intel N100 as it has a TDP of 8W and is much newer.

permalink
report
parent
reply
2 points
*

Look at mini-PCs like the Lenovo Tiny series. These can be had for very little on the used market, and don’t use much power (<10W typically, although I don’t have any mechanical HDDs in mine).

EDIT: Obviously missed that you meant just a single device for everything. SFF PCs usually have a few SATA slots, and their power usage and price on the used market isn’t too bad.

permalink
report
parent
reply
1 point

Actually I wanted to have a NAS and another more powerful server. But this is because I thought NAS were some cheap basic servers… When I saw the price I thought I might as well have a single more powerful server doing NAS + transcoding. I haven’t made my mind up, I’ll check the Lenovo Tiny, thanks

permalink
report
parent
reply
6 points

The answer to your prayers. Basically, get a 7th gen Intel CPU. I’m trying myself, waiting on ebay.

permalink
report
reply
1 point

Here is an alternative Piped link(s):

answer to your prayers

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source; check me out at GitHub.

permalink
report
parent
reply
1 point

Indeed, this looks really good! The only issue is that there are slots for only two HDDs. But looking at the cheap price I may go with something like this and look for a NAS once my disks are full!

permalink
report
parent
reply
3 points

Actually 2 3.5" and one 2.5", with 3 SATA ports, if you actually go for the the Elite Desk instead of Pro. Anyway, Look at it more like a concept. Get a mid tower of your goal is more flexibility. The key is the CPU for transcoding.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.8K

    Monthly active users

  • 3.5K

    Posts

  • 75K

    Comments