this post was submitted on 01 Oct 2025
88 points (100.0% liked)

Selfhosted

51895 readers
592 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
 

This is something that has been increasingly prevalent with my server, for the longest time I could torrent, have two people watching and everything's fine, but lately, especially with specific shows, it will take upwards of a minute for a show to start.

I've looked into it and the culprit is ffmpeg most of the time, I assume this has something to do with the specific files not having transcoding "baked in" but I don't know enough to know if that's the case. Can anyone help me optimize my pipeline at all?

you are viewing a single comment's thread
view the rest of the comments
[–] rumba@lemmy.zip 9 points 1 day ago

If everything is working correctly, whether or not you transcode is basically whether or not the end device can play the file without changes.

For example, my old Roku can play a raw 4K File under H264 with no problem. But if I throw an H265 at it, it requires the server to transcode. It also has problems with AAC audio. And my server is so old that just trying to rip the 4k apart entrance to the audio is often too much for it.

So to start, make sure your client device can play the files directly. If it can't, you're going to need to handbrake it before you put it on your server.