this post was submitted on 08 Jul 2025
120 points (99.2% liked)

Selfhosted

49381 readers
618 users here now

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!

founded 2 years ago
MODERATORS
 

Background: I've been writing a new media server like Jellyfin or Plex, and I'm thinking about releasing it as an OSS project. It's working really well for me already, so I've started polishing up the install process, writing getting started docs, stuff like that.

I'm interested in how other folks have set up their media libraries. Especially the technical details around how files are encoded and organized.

My media library currently has about 1,100 movies and just shy of 200 TV shows. I've encoded everything as high quality AV1 video with Opus audio, in a WebM container. Subtitles and chapters are in a separate WebVTT file alongside the video. The whole thing is currently about 9TB. With few exceptions, I sourced everything directly from Blu-ray or DVD using MakeMKV. It's organized pretty close to how Jellyfin wants it.

What about you?

top 50 comments
sorted by: hot top controversial new old
[–] SirMaple__@lemmy.ca 37 points 4 days ago* (last edited 4 days ago) (3 children)

My Jellyfin library:

1,152 - Movies

552 - Shows

37, 062 - Episodes

491 - Albums

6,558 - Songs

362 - Music Videos

14 - Concert Films

Files are a mix of 1080p and 4K. 264 and 265. Standard and REMUX.

Total space used is currently 149.90TiB

[–] SpookyMulder@lemmy.4d2.org 5 points 3 days ago

Ahh, I like how you split Concert Films and Music Videos. I've been pigeon-holing my Short Films, Mini-Series, and TV Movies into just the two categories: Shows and Movies. Makes way more sense having separate categories.

[–] curbstickle@lemmy.dbzer0.com 4 points 3 days ago (1 children)

About the same here, minus the music videos (only a few dozen there for the kids), plus a fitness library, so I'd say it evens out to roughly equal.

Mostly HEVC but I still have some h.264 floating around that I have no interest in reencoding.

No AV1 at all until I get a new Intel GPU or newer Intel CPU to handle transcoding it nicely.

[–] SpookyMulder@lemmy.4d2.org 4 points 3 days ago (3 children)

There's some relatively inexpensive NVIDIA cards now with AV1 hardware encoding. I'm on my third round of re-encoding my whole library (HEVC, then VP9, now AV1). For 1080p NTSC, I get about 13x speeds on NVENC AV1, whereas with VP9 I was CPU-bound at around 4x. Definitely worth the upgrade, in case you're on the fence.

[–] TheYang@lemmy.world 4 points 3 days ago (1 children)

You do realize that you lose quality with wach encode, right?

It's not AS bad when bitrates are high, but it's still there.

[–] SpookyMulder@lemmy.4d2.org 3 points 3 days ago

True.

When I migrated off of Jellyfin, I re-encoded everything up to that point directly from the Blu-ray rips wherever possible. Because I'd already started culling those for space, I did end up just doing another pass on the first round of encoding for a portion of the library. There's some noticable degradation on those, and I'll want to re-rip those at some point.

Fortunately, I've got my process pretty dialed in for ripping and I actually enjoy it, so if I ever have a quality issue, it's not a huge ordeal to re-rip and encode.

[–] Onomatopoeia@lemmy.cafe 2 points 3 days ago (2 children)

So what card are you using?

load more comments (2 replies)
load more comments (1 replies)
[–] marighost@piefed.social 4 points 3 days ago (1 children)

Kinda unrelated to OOP, but out of curiosity, what does your storage setup look like? Do you keep stuff reasonably backed up with that much data?

[–] SirMaple__@lemmy.ca 13 points 3 days ago* (last edited 3 days ago) (2 children)

Ah yes. My storage system is 2 x Supermicro CSE-846 cases. Only one has a CPU and motherboard, the other is acting as a plain Jane JBOD.

Hard drives I have 21 x 8TB 7200RPM mix of Seagate and Western Digital and 4 x 16TB 7200RPM from Seagate. I use mergerfs and snapraid. Mergerfs presents all the 21 8TB drives as one mount point. Snapraid uses the 4 16TB drives to provide 4 parity drives. Note that snapraid is not live and the parity is only updated after running a "snapraid sync" which I run nightly.

I only backup my songs and music videos. The rest is easy to get again. I have a script that generates a list of every single file I have each night. So if the day comes it wouldn't take too long to get back to where I was. The other reason I use mergerfs is if 1 drive dies, I only lose the files on that one drive and not the entire array. The truely important stuff such as tax documents, mortgage details, family pictures, will & estate documents are stored on a 2 x 8TB RAID1 and all backed up nice a safe using Proxmox PBS. The PBS datastore is synced to 2 remote locations as well as to external drives that I keep offline and rotate.

[–] Policeshootout@lemmy.ca 4 points 3 days ago (1 children)

Nice write-up. I thought I had a large library (24TB) and my off site backup is starting to get full. I backup everything though but I have long debated on if there's a point of keeping movies and TV since they'll likely always be available. Anyway, I never thought of generating a list of files and eliminating the stuff that's not particularly important. Good idea.

[–] SirMaple__@lemmy.ca 6 points 3 days ago

I used to back everything up before I broke the 50TB mark. Just can't justify it now. I even looked at LTO drives for backing up the multimedia but they're still to expensive for the higher capacity drives. And then you need tapes..

All the truely good content will always be out there somewhere on the net.

The script I use to generate the file lists is very very basic. Nothing special no formatting the lists or anything since it's just for that oh balls, everything is gone scenario.

ls -alR /mnt/volume1/media > /mnt/volume2/backups/file_lists/media.txt

ls -alR /mnt/snapraid/data* > /mnt/volume2/backups/file_lists/snapraid.txt

Those text files are also part of the files backed up with PBS so I can always go back and restore previous versions of them. You may ask why I generate the list twice? The first is just everything inside the media folder on the volume1 mount point. The second let's me see what files are on each individual drive so if only 1 drive dies I can just grep the text file and output to another text file and show me what is on that 1 drive.

[–] marighost@piefed.social 2 points 3 days ago

Thanks for the detailed write up!

[–] Greg@lemmy.ca 29 points 3 days ago

Nice try Universal Studios!

[–] brygphilomena@lemmy.dbzer0.com 13 points 3 days ago

13200 movies 1200 shows

Over a 1/4 PB of data.

[–] avidamoeba@lemmy.ca 12 points 3 days ago (1 children)

Why start anew instead of forking or contributing to Jellyfin?

[–] SpookyMulder@lemmy.4d2.org 6 points 2 days ago (3 children)

The short answer is because it's a fun project, and I wanted to see if I had it in me to make exactly the media server I want.

The longer answer is that I wanted something dramatically and fundamentally different from what either Jellyfin or Plex have to offer.

  • Can run without breaking a sweat on junk/old/cheap hardware like a Raspberry Pi or old laptop.
  • Can be safely Internet-facing -- no anonymous access, and no web-based admin features or API.
  • Hyper-lean and minimal. All-in, I wanted something on the order of 1MB for client app, server, all dependencies, everything.

I don't see either of those goals happening with a contribution or fork, because achieving them would require some dramatic feature deprecation.

[–] avidamoeba@lemmy.ca 3 points 2 days ago

All-in, I wanted something on the order of 1MB for client app, server, all dependencies, everything.

Okay that's gotta be radically different!

load more comments (2 replies)
[–] culpable@lemmy.world 10 points 3 days ago* (last edited 3 days ago) (4 children)

I use Tdarr to transcode everything in VP9 (can play in a browser and doesn't need transcoding from Jellyfin).

Audio is AAC 2 channel (I keep the original audio track and add the new AAC). Subs are in SRT.

Everything is made for play from a browser without issue. I use Infuse on my Apple TV and ether never the web player but when my family watch something form Jellyfin wathever the device no trancode needed.

TV Shows : 172 | Movies : 394 | 7.2 Tib

Actually, not all files are transcoded the process is very slow. All files are stored on my NAS (Synology DS918+) with SHR-1 (hybrid RAID with 1 drive fault).

I use Janitorr, he removes old files when I run low on space. This is why my library is not big.

Feel free to ask if you have questions.

Sorry for my English.

[–] alexcleac@szmer.info 4 points 3 days ago (1 children)

Wow, thanks for suggestion of Tdarr — that project indeed looks very nice. What is. your experience using it? Any quirks?

load more comments (1 replies)
[–] SpookyMulder@lemmy.4d2.org 2 points 3 days ago

Playing files directly in the browser and avoiding the need for transcoding is exactly what the system I've built is designed around, so I get the appeal!

load more comments (2 replies)
[–] thatradomguy@lemmy.world 10 points 3 days ago

My ~~porn~~ media library is roughly ~500GB right now.

[–] tuckerm@feddit.online 9 points 3 days ago (1 children)

Sometimes I hear about other people's storage setups and I think, "that is overkill, no one really needs that." According to this thread, I am quite mistaken about that. 😳

I have 2,057 songs, taking up a measly 51 GB, on a Funkwhale server. No movies or TV shows.

That should get a little larger soon. I have about 100 vinyl records that I want to make digital rips of.

[–] rezifon@lemmy.world 6 points 2 days ago (2 children)

I have single movies that are larger than your entire song library.

[–] tuckerm@feddit.online 4 points 2 days ago

I'm kind of surprised that it's only 51 GB. They're all FLAC files ripped from CDs -- I was expecting like 300 GB at least.

So apparently this 1TB SSD is going to last me a while. :P

load more comments (1 replies)
[–] ThePantser@sh.itjust.works 9 points 3 days ago* (last edited 3 days ago)

Emby Server

382 Shows

30130 Episodes

1703 Movies

24740 Music Albums

Most are downloaded with *arr apps and are random quality. I shoot for 1080 for shows and movies but for the really good stuff that I personally like I will get the 4K version.

[–] remon@ani.social 8 points 3 days ago* (last edited 3 days ago)

1911 TV shows (65728 episodes)

2294 Movies

5051 Albums (66644 songs)

65.37 TB total.

[–] Dumbkid@lemmy.dbzer0.com 8 points 3 days ago (1 children)

650 shows, 1400 movies, 1450 anime. Take up like 130TB or something

[–] remon@ani.social 3 points 2 days ago

1450 anime

Since you listed them separately from shows does the count also include anime movies?

Still, if I add up both my shows and movie I'm at 1447. Damn you!

[–] batmaniam@lemmy.world 8 points 3 days ago

Nice try FBI Agent.

[–] LilB0kChoy@midwest.social 7 points 3 days ago

2.71Tb/515 series for TV, 6.28Tb/1176 titles in Movies.

Almost everything in MKV because that's what I prefer.

I use Plex so it's organized according to their requirements.

Everything is stored with a redundant backup on a Synology NAS with 6/9 HDD bays filled, totaling 48Tb in total storage space.

I run two servers (one on the Synology, one on a NUC-type Asus box) along with all my other systems.

Oh, and I have dual antenna tuners connected as well for live TV, DVR and playback.

[–] phoenixz@lemmy.ca 6 points 2 days ago

~70TB, ~2500 movies, and ~250 series with , varying quality, I'm still trying to replace lower quality stuff with better versions

[–] ISolox@lemmy.world 6 points 2 days ago

My Linux ISO collection take up around 12TB, 268 of smaller ISOs, and 751 big boi ISOs.

[–] HiTekRedNek@lemmy.world 6 points 3 days ago

cries in broke

I have 4x3TiB drives in a currently-degraded RAIDZ1 due to a hard drive failure. I have a replacement coming, and my fingers are crossed that I don't lose another drive beforehand.

[–] some_guy@lemmy.sdf.org 6 points 3 days ago

12.8TB. Mostly uncompressed rips from Blu-rays, some DVDs, some from iTunes Store. Some from the high seas, but not in a long time because the market solved that problem with streaming.

[–] lemmylommy@lemmy.world 6 points 3 days ago (1 children)

~2000 movies ~200 tv shows

Many English only, many German and English, some German only. A few in different languages, if it’s the original language.

~50TB

Mostly 1080p h264. Lately, due to free space running out, I have started prioritizing and redownloading accordingly. Low bitrate h265 1080p for less important stuff, 4K h265 for important things and normal bitrate h264/265 (preferably the latter) 1080p for everything else.

[–] Onomatopoeia@lemmy.cafe 5 points 3 days ago (2 children)

50TB?

Dang, thought I was doing well at about 5TB,haha

[–] Tolookah@discuss.tchncs.de 4 points 3 days ago

I know, right? I feel like the little guy in the memes next to the Giants in armor.

[–] metaStatic@kbin.earth 3 points 3 days ago (1 children)

I thought 20TB of storage would last me forever

I've had low storage warnings for years now

load more comments (1 replies)
[–] neomachino@lemmy.dbzer0.com 5 points 3 days ago

~3tb of a jumbled disgusting mess of miscellaneous files. Somehow it all works on jellyfin though.

I'd be down to try something new if you do end up releasing something. Jellyfin works just fine but I'm not in love with it.

[–] Lemmyrick@lemmy.zip 5 points 3 days ago

4TB mostly TV, then movies, then a distant third is music. Novice at all, tried remuxing a few things that didn't work. Everything works on jellyfin android and PC. Android TV jellyfin is frustrating, some things don't play so well

[–] entropicdrift@lemmy.sdf.org 4 points 3 days ago* (last edited 3 days ago)

1,028 movies

517 shows (20,702 episodes)

Shows are all 1080p or lower except a couple seasons of select shows in 4k. Movies are 4k HDR when it's available, otherwise best quality I can find.

I use Jellyfin because of the client apps and FOSS nature.

I tend to prefer HEVC/h.265 encodings for the strong trade off between player compatibility and smaller size for the quality level, but h264 and AV1 are also both in my library. I don't reencode anything except through the Jellyfin server transcoding.

[–] Appoxo@lemmy.dbzer0.com 4 points 3 days ago
[–] keyez@lemmy.world 4 points 2 days ago

My library is almost cracking 18TB. Backing up all documents, pictures, videos and profile/settings dumps for apps and laptops. Also have plenty of moving Linux ISOs, 1359 longer isos and 269 smaller iso series.

About a gig of books, and one movie called "Lensman: Secret of the Lens"

[–] sugar_in_your_tea@sh.itjust.works 3 points 2 days ago* (last edited 2 days ago)

Nowhere near as big as yours. I haven't bothered checking, but probably something like 100 movies and about the same number of TV shows (only a handful of series). It consists pretty much only of what I've ripped from physical media, plus a handful of things my SO uploaded. Total storage is about 2TB, and mostly DVDs w/ a handful of Blurays. Rips are full quality, and mostly ripped from MakeMKV, with a handful ripped w/ Handbrake.

We don't watch a ton, but I do order new stuff periodically, so it slowly grows (most recent addition is Adventure Time).

[–] DrunkAnRoot@sh.itjust.works 3 points 3 days ago

4 direct tv boxes worth

[–] makeshiftreaper@lemmy.world 3 points 3 days ago

Just started with YAMS using Plex 2 months ago:

Movies: 241 TV Shows: 30

About 3.5 TB on an 8 TB drive

[–] irmadlad@lemmy.world 3 points 3 days ago

80K+ hires music flac - no movies - no episodes, no shows, no podcasts, no youtube

load more comments
view more: next ›