• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle




  • TVHeadend is the way, I’ve been running it with a USB satellite tuner for 5+ years. Setting it up can be a little confusing, but once it’s running you pretty much never have to touch it again.

    As for clients, there’s a Jellyfin plugin, however it seems to not work for me right now.

    My client of choice is Kodi with the TVHeadend plugin, and that works great. If you still want Jellyfin integration, you could just add your recordings folder as a library in Jellyfin.


  • Could I purchase two different brand drives and use them with btrfs?

    I don’t quite remember the source for this, but I believe I read some time ago that it’s actually a good thing to have separate drives. The reasoning is, if you buy two identical drives (at the same time), the likelyhood of both drives failing around the same time is severely higher.

    This is then amplified by the fact that rebuilding a RAID puts a lot of strain on the non-dead drive, so if ie. drive 1 dies and drive 2 is about to die, the strain you put on drive 2 in order to rebuild your RAID onto drive 3 might kill drive 2 before you even finish rebuilding your RAID.

    Again, this is just from my memory, it might be worth doing some more research on.





  • I highly recommend transcoding all your videos with ffmpeg, for me that reduces their size to anything from 10% - 25% of the original (100MB -> 20MB). I always use this command:

    ffmpeg input.mp4 -vcodec libx265 -crf 28 ouput.mp4
    

    (This will strip metadata, I was too lazy to figure out how to make it keep metadata). What I also do for most videos is turn them all into 1080p30 if they aren’t already.

    You can ask ChatGPT to make you a small script to apply that command to all files in a folder, I can’t remember how to do it off the top of my head.

    Edit: for linux run this in the folder with your videos:

    for file in *.mp4; do ffmpeg -i "$file" -vcodec libx265 -crf 28 "${file%.*}_transcoded.mp4"; done