this post was submitted on 25 Nov 2023
4 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hello Everyone,

I'm currently looking for a way to optimise even further the amount of video file I have, I mainly store anime and series episodes.

Currently what I do is : Getting the video on my main computer (5800X3D + 1080ti) Convert it using Handbrake to H265 NVENC then store it on my server which is basically a Ubuntu server (i7 8700 no graphic cards) with mainly a zfs pool.

I'm looking to improve this to getting directly the video on my server, converting it using handbrake (I'm considering getting an intel ark card to switch to AV1 instead of H265) and storing it directly on it.

The issues I'm currently facing are mainly concerning Handbrake itself, the support on linux using hardware encoding looks limited I still have to make more testing but I was wondering if anyone got a better solution than what I'm currently envisaging.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago

My target was Emby. While Emby can and does support AV1, it needs some hardware decoding to shift it back down for most devices, because most devices can't handle AV1.

I picked HEVC (H.265). I can still throw cores at it to CPU decode to target, AVC (H.264) which is the best most devices support, so I don't need to finagle a GPU into my R710.

For the encode, I wrote a script to scour my movie and tv collection for anything huge (movies > 4GiB, TV episodes > 1.5GiB), and in anything other than HEVC already (pulled from mediainfo --Inform="Video;%Format%" "$file").

Once I had the list, batch processing of copy file over to desktop, ffmpeg re-encode, tag it in [] for Emby, copy it back into place, and finally delete the original file.

It took the better part of 3 months to complete.

However, my collection went down in size from ~38TiB to ~26TiB. That's a win in my book.

I rewrote the scripts to be manual triggers and just folder watching, now (inotifywait -q -q -e close_write) the shared folder, and it just fires whenever I drop shit in that folder, and spits out much smaller, still high-quality HEVC MKVs for me to pick up later :)